Skip to content
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
@DmitrySikorsky

Description

@DmitrySikorsky

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions