What is the MembershipProvider really used for? Do I need it at all? While using forms authentication I never specified any membership provider in the config file, i’ve been authenticating users by calling FormsAuthentication.SetAuthCookie. I’ve been reading quite a lot about it yesterday and I can’t figure out why would i use it?
Share
The MembershipProvider is first of all a pluggable, standardised repository. If you base your authentication on MembershipProvider, you can later exchange it with another provider with no changes to your web site. Also, it is supported by standard components (the Login, LoginView, LoginStatus, LoginName and PasswordRecovery controls), and can be administered through the ASP.NET administration pages.