Customizing Asp.NET Identity 3 RRS feed

  • Question

  • User-1584838189 posted

    Hello everyone,

    I am currently evaluating ASP.NET Identity 3 and I am looking to use a new data store for user member ship information, hence the need to customize the User, Role, UserRole, UserClaims Classes

    In ASP.NET Identity 2.x, all that was required was for the User classes to Implement IUser<Key> and Role classes implement IRole<key>  and for the UserStore Classes implement a series of interfaces I chose to omit here for brevity sake, likewise for the role classes

    However studying the source code of current implementation suggests that user classes must inherit from IdentityUser class, Role class must inherit from IdentityRole class and so on and so forth. It seems the IUser and the IRole interfaces no longer exist.

    Please I did like a lot of control in the design of my model classes and currently it seems there is no light at the end of this tunnel. What do i do if i want to create usermanagement classes but don't want to inherit from them Identity*** classess

    Please I need help

    Wednesday, July 20, 2016 3:46 PM

All replies