NOTE: v1.1 is ready and in the github, but VS Gallery's upload is broken. You can download the .zip file from github and click on its .sln file to open a new project. Fixes in v1.1 that are not in this download include:
This is the Web Pages Starter Site with the Membership replaced by ASP.NET Identity. It has register, login, change password and delete user, and forgot password is stubbed in. I didn't include two-step authentication or external logins in the 1.0 version. You will need to create the App_Data folder in the project once you have it running (it creates it in the test environment, but the download does not). If you do not, you get an exception when it tries to create the Identity database the first time. This is based on the ASP.NET Web Pages Starter Site, and then I replaced Membership with Identity using information from the Web Forms Identity setup and Mike Curry's blog post on doing the same in Web Pages. Neither included deleting users or changing passwords, those I added myself using the MVC user Identity templates as a guide. If you do not have v11.0 configured on your system, you will need to fix Web.config to refer to MSSQLLocalDB instead (newer VS2015 installs need this change). |