Last post Jul 09, 2014 03:05 AM by Shawn - MSFT
Jul 08, 2014 09:07 AM|Rui Eloi|LINK
I'm creating a MVC app that consumes a WCF Services (Service layer) and I've a question about the authentication/authorization. If we create a MVC application it already comes with ASP.NET Identity but in this case I wanted a Service to handle all the authentication/authorization
part (because I want to make the Service layer also available for other developers).
I read that it's possible to user ASP Membership in WCF (http://msdn.microsoft.com/en-us/library/ms731049(v=vs.110).aspx), is this the right way to achieve this?
Can I use WCF - ASP.NET Membership with any binding? Or I'm strict to http?
Isn't there a way to use ASP.NET Identity in WCF?
Thank you and sorry for the newbie question but I'm really green in WCF.
Jul 09, 2014 12:42 AM|mike4u|LINK
Jul 09, 2014 03:05 AM|Shawn - MSFT|LINK
About WCF Basic Authentication with SQL Membership Provider, you could refer to the following links:
Windows Communication Foundation Authentication Service Overview:
Besides, it's recommended that you take a look at the WIF (windows identity foundation) which as encapsulated part of the WCF federation and identity based authorization features and provide a more generic and unified identity based authorization solution:
#Claims-Based Authorization with WIF
#WIF Workshop 1: Introduction to Claims-Based Identity and WIF
#All Will Be Revealed: ~7 Hours Recordings from the WIF Workshops
Understanding Windows Identity Foundation (WIF) 4.5: