This repository was archived by the owner on Dec 20, 2018. It is now read-only.
This repository was archived by the owner on Dec 20, 2018. It is now read-only.
Why IdentityUser and IdentityRole are defined in Microsoft.AspNet.Identity.EntityFramework? #489
Closed
Description
Hi guys!
Why IdentityUser and IdentityRole are both defined in Microsoft.AspNet.Identity.EntityFramework?
If User (derived from IdentityUser) is my model (I want to have and manage the list of the users in the admin section for instance), I don't want to have any links to the specific ORM in the models! It makes it impossible to have modular project with unknown ORM.
And with this new approach to the ClaimsPrincipal user it is hard to replace Identity with the custom security provider...
How can I make User and Role models ORM-independent OR how can I replace the Identity with the custom security classes? I don't want to have useless User property in the controller and create another one for me.
Thank you for you attention and for the help.
Metadata
Metadata
Assignees
Labels
No labels