ASP.NET WebAPI Identity Entity Framework Database — First Model

I would like to ask you how I can implement the DB First model in ASP.NET Identity Scheme. When I create a WebAPI project with individual user authentication, I see the first code model with some implementation in it. I am trying to solve this, and I was looking for some solution, but I did not find it. Do you know any good tutorials or just a solution? Thanks

+4
source share
1 answer

Models need not be present inside the Model folder of the web-api project. They can also be from other DLLs. I would suggest you create a new project for your data access level and add EF databasefirst dbml to this project. Refer to it later in your web-api project to use it.

0
source

All Articles