How to deploy custom membership system in asp.net mvc

I read about overriding membership provider and role provider. I think this is what you need to do when doing Asp.net Form projects. Is this also the way to go with Asp.net MVC projects or is there a better way to do this?

Thanks:)

+2


a source to share


2 answers


+2


a source


Yes, ASP.NET MVC uses the Membership API by default. However, you can always use your own logic if you like, but most of the functionality for the membership API is already there.

You will need:



  • Custom MembershipProvider
  • If you are using roles, the custom RoleProvider
  • If you are using profiles, a custom ProfileProvider
0


a source







All Articles