Jun 15, 2023
ApplicationUser and DbContext are tightly coupled, sometimes these kind to tight coupling don’t rightly fit into this type of architecture patterns.
However, in your case, you can add reference in Domain.Entity to establish FK relationships.
This is one of the reason I avoid using Microsoft Identity to implement AuthN/R.