views:

95

answers:

2

I've been reading about overriding the Membership Provider and the 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 there is a better way to do so?

Thanks :)

A: 

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

You'll need:

  • A custom MembershipProvider
  • If you use roles, a custom RoleProvider
  • If you use profiles, a custom ProfileProvider
Venemo