M
M
Mozzarella2018-01-04 14:19:40
Database
Mozzarella, 2018-01-04 14:19:40

How to use ASP.NET Identity in CMS?

CMS project on ASP.NET Core with authorization system on ASP.NET Identity. How to properly integrate Identity with something like this DB model
5a4e0d9c37f0e238155405.png, the User table from Identity. Is it possible to use the Model First approach, all tutorials use Code First and not a word is said about how to extend the database created by Identity.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Peter, 2018-01-04
@petermzg

So Identity can be modified for any model. By rewriting UserManager, SignInManager, etc.

E
eRKa, 2018-01-04
@kttotto

There is no model first in EF core, only code first and database first, although something may have changed over the past year. Identity is configured to your liking, everything is quite flexible. In recent years, I have used only codefest, in fact this is the recommended method. The databases are updated with migrations, there are a lot of tutorials on the web, you can write the code yourself, you can generate it based on the difference in the database.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question