Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How should customize ASP.Net Identity

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.

  • How should I use ASP.Net Identity if I have already a designed database with its User management tables? for example I want to map AspNetUsers table to my own table named UserAccounts.
  • How should I mix this new system with existing ASP.Net MVC application?
  • What if I don't want to use code-first (Identity uses code-first)?

Any advice will be helpful. Thanks in Advance.

like image 410
saber Avatar asked Nov 15 '13 13:11

saber


1 Answers

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.

like image 193
Konstantin Tarkus Avatar answered Oct 09 '22 01:10

Konstantin Tarkus