Store does not implement IUserRoleStore ASP.NET Core Identity

后端 未结 3 1102
孤街浪徒
孤街浪徒 2021-02-19 03:04

I\'m using ASP.NET Core 2.1 Identity. I\'ve overridden IdentityUser because I need to add some additional properties on the user.

In Startup.cs

servic         


        
3条回答
  •  爱一瞬间的悲伤
    2021-02-19 03:36

    I know that the author already fixed his issue ,but I'll add this for anyone else that did all the steps in the above answer and still has this error.

    From Aspnet github

    You must delete autogenerated IdentityHostingStartup.Configure method in Areas/Identity/IdentityHostingStartup.cs

提交回复
热议问题