Reputation: 6489
After lots of read about ASP.Net Identity, I'm still confused about some sort of things that newly added to ASP.Net authentication system.
AspNetUsers
table to my own table named UserAccounts
.Any advice will be helpful. Thanks in Advance.
Upvotes: 6
Views: 7055
Reputation: 38358
Not exactly the answer to your question. But you may want to check out this project:
ASP.NET Identity Database (Project Template) on Visual Studio Gallery
It can be used as a groundwork for creating a custom ASP.NET Identity provider using database-first development approach. It currently has only Db schema project template. But soon there will be also a custom DbFirst identity provider project template, plus unit tests for it.
Upvotes: 2
Reputation: 1291
You have to use the Entity Framework Migrations, here some good links that can help you:
At this link you can migrate from MVC4 to MVC5
and at the last if you don't want to use the EF i don't think you can use identity, asp.net identity need these nuget packages:
Nuget packages
Microsoft.Aspnet.Identity.Core
This package contains the core interfaces of ASP.NET Identity.
core
Microsoft.Aspnet.Identity.EntityFramework
This package contains the implementation of ASP.NET Identity system which works with Entity Framework. This means that if you use this package then you can store information in a Sql Server database.
Upvotes: 0