Search code examples
asp.net-mvc-5asp.net-identitymembership-provider

Can we use Asp.Net Membership and Role Provider in MVC 5


I'm converting a MVC 3 application to MVC 5. I've been reading on web that MVC 5 comes with Asp.Net Identity for security. My question is that is possible, feasible and good to use old membership and role provider in MVC 5 application. Can anyone give any useful link where I can learn conversion from membership and role provider to Identity.


Solution

  • You don't have to migrate Membership provider to Identity if you don't want to. MVC5 will happily work with Membership provider. I have migrated MVC3 with Membership provider to MVC5 and had no problems with users.

    Recently I have migrated from Membership to Identity and also had no major problem migrating - just followed the instructions in the link already provided.