How to configure secure RESTful services with WCF using username/password + SSL

前端 未结 7 1356
难免孤独
难免孤独 2020-12-07 18:12

I\'m looking to write a config file that allows for RESTful services in WCF, but I still want the ability to \'tap into\' the membership provider for username/password authe

7条回答
  •  我在风中等你
    2020-12-07 18:27

    Before you continue down this path of fighting to implement REST over WCF, I suggest you read this post by Tim Ewald. I was especially impacted by the following statement:

    I'm not sure I want to build on a layer designed to factor HTTP in on top of a layer that was designed to factor it out.

    I've spent the last 12 months developing REST based stuff with WCF and that statement has proven itself to be so true over and over again. IMHO what WCF brings to the table is outweighed by the complexity it introduces for doing REST work.

提交回复
热议问题