Reputation: 14743
In previous versions of ASP.NET I could modify the Membership Provider settings in web.config to point to my custom implementation.
I'm trying to emulate this in MVC4, but it appears things have changed a little in the template. It appears to be using WebMatrix.WebData.WebSecurity instead of the classic Membership classes. Do I need to strip all that stuff out and replace it with the Membership calls like I previously did, or is there a way to use the new WebMatrix.WebData.WebSecurity classes with my custom Membership implementation?
Upvotes: 5
Views: 3406
Reputation: 4154
You will have to strip out all the stuff and replace with membership calls if you want to continue using your custom membership implementation. SimpleMembership(webmatrix.webdata.websecurity) will not work with existing membership implementations
Upvotes: 2