Reputation: 7631
I have custom membership and role provider (C#) in my .net 4 (webform based) web application.
I am moving my web app to MVC 3.
How do I migrate or implement my custom providers in MVC 3?
Any tutorial or pointers will be appreciated.
Thanks
Upvotes: 2
Views: 1200
Reputation: 9351
You can migrate them quite easily. A default MVC application makes the same Membership provider calls. Just load the project they are compiled in (or import that class files if you dont want the whole project) and point your web.config at them.
Upvotes: 4