I am building an application that has a WCF service that a WPF and开发者_如何转开发 ASP.Net MVC client will connect to.
I want to use the ASP.Net Membership providers for authentication for both the MVC and WPF clients.
What is the best way to go about this? I have read a number of articles on-line (see below) and tried following them through but keep running into errors.
- http://www.nablasoft.com/alkampfer/index.php/2009/09/08/use-aspnet-membership-provider-with-a-wcf-svc-service/
- http://msdn.microsoft.com/en-us/library/ms731049.aspx
Try checking this CodePlex WCF Security Link, it provides a number of scenarios with pretty complete checklists for the configuration of the security setup. Hopefully there will be a scenario that will be close to yours that you can go through and check things against.
精彩评论