Search code examples
asp.net-mvcasp.net-identity

how to implement ASP.NET Identity to an empty MVC project


I create a new empty MVC project and I want to add identity to it. Now I do not know how to do this and how to create database and tables and classes. I searched but I did not find any useful solution for my question, I found an article for adding ASP.NET Identity to an existing empty ASP.NET Web from but for ASP.Net MVC project I did not find.
for log in
for registration form
for adding a user to role
for deleting user
how to create tables in my own database
how to manage users


Solution

  • I was looking for the same thing and the following blog posts helped me with this:

    http://benfoster.io/blog/aspnet-identity-stripped-bare-mvc-part-1

    http://benfoster.io/blog/aspnet-identity-stripped-bare-mvc-part-2