Skip to content

What is the benefit of using Membership Class in .Net?

Paul

Asked Aug 13, 2012, 5:17 AM EDT1 answer
Share
LinkedInX

Hello,

I would like to know what's the benefit to use Membership Class (http://msdn.microsoft.com/en-us/library/system.web.security.membership.aspx) while developing with c# or vb.net ?

Is there any limitation ?

Is there any advantage for me if i build my own Class for authentication, membership, users & roles ?

thank you

Paul

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • Akkiraju Ivaturi
    0
    The main advantage of writing your own MembershipProvider class is that it's considered by the ASP.NET as a first-class component and you can use the standard interfaces for authentication and authorization and only have to change the config file afterwards if you want to use a different provider.

    Also since it is part of .NET framework it supports easy integration in your project and you should be able to customize any of the events.
    0