Was wandering if anyone uses ASP .NET membership? If you do, tell me what you think about it.
If you don't use it, Are you planning to use it on future projects? If not, why?
RWendi
The ASP.NET membership provider is a feature that enables ASP.NET developers to create Web sites that allow users to create unique user name and password combinations. With this facility, any user can establish an account with the site, and sign in for exclusive access to the site and its services.
To get information about a particular user, use the Membership class's GetUser method.
The membership element is a sub-element of the system. web section. You can enable ASP.NET Membership for an application by directly editing the Web. config file for that application, or you can use the Web Site Administration Tool, which provides a wizard-based interface.
Yes. Have used it quite a lot, and it will save you a lot of work.
There are some pain points like changing usernames, and administrative reset of passwords, that clients will often ask for, and you will have to hack your way around them.
The role provider is also pretty handy, and there are a lot of prebuilt controls that work with it, although recently hit a bug between role manager and aspnet ajax that has been a PITA.
The model is generally very good, even if you have shop around for some different providers that suit your needs.
Overall, it's not perfect, but if you can live with it and work around it's issues, it will save you heaps of code.
For some situations, it is maybe using a chainsaw when a butter knife would do, but it's there, it works, and there are plenty of other people using it.
Its one kind of hammer, for the price, is ok, but there is no golden hammer.
I use it in most of my projects. There have been times where it doesn't do what I want it to but there is almost always a way around that. We have used it with Active Directory, Novell EDirectory, and Forms Authentication.
The provider model is great for creating those work arounds. Much better then rolling your own membership code.
The Table Profile Provider is a great tool for getting around the ineffient out-of-the-box implementation of SqlProfileProvider.
There is another product that I have heard of but never tried, called Visual Guard. I would be intersted in any comments anyone has on that.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With