阅读背景:

asp.net identitymanager doesn't work, he doesn't bind user with role in db (table: AspNetUserRoles)

来源:互联网 

i'm trying to use IdentityManager (just first), and it looks very greatful, and it is creating the role (it's cool), but why it isn't bind the user with the selected role (int idm), because if when i use the attribute [Authorize(Roles = "Admin")] in Home/Contact (for example) it doesn't work. It doesn't to save the selected roles (from user-interface) to AspNetUserRoles-table in database. It just saved to AspNetClaims-table. Is IdentityManager's bug?i'm trying to use IdentityManager (just first),




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: