I use the ASP.NET Membership provider in many projects. It’s simple to use, is quite extensive in its later versions and is more maintainable by other .NET developers than a custom solution.
However, the projects I use them for require a full SQL Server database and not the SQL Express implementation that it comes with out of the box. I tend to forget where the Membership SQL Server set up wizard is. So here are the 5 steps you need to add membership to a SQL Server database:
- Run “C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_regsql.exe”
- Select “Configure SQL Server for application services” and “Next”
- Enter the credentials to access the database you want to modify. Don’t forget to select your database to alter. Click “Next”.
- Review your settings, click “Next” if they’re correct.
- The wizard now added the appropriate Membership tables and objects to your database. Click “Finish” and you’re done.
More reading: