I have a Visual Studio solution that contains several projects:
- Domain Classes
- Data Access Level - containing the database context
- MVC application.
An MVC application, by default, uses existing classes to manage users, and also has its own ApplicationDbContext. In this case, we have two database contexts.
What is your experience with user management? It would be better if I created my own classes for user management and placed them in the Domain Classes project. I think that it would be much easier to support, and in this case there will be only one DBC context. Another possible problem might be the relationship between existing ApplicationUsers (from the MVC project model) and classes from the Domain Classes project. Or perhaps move the ApplicationUser class definition to a DomainClasses project?
source share