Ninject and ASP.NET Identity 2.0

后端 未结 1 1795
别跟我提以往
别跟我提以往 2021-02-08 23:52

I just upgraded the ASP.NET Identity Entity Framework package from 1.0 to 2.0 and one of the Ninject bindings is now broken:

kernel.Bind

        
1条回答
  •  名媛妹妹
    2021-02-09 00:34

    We added a new base RoleStore class and added the user role entity type as a generic type, so perhaps try

    kernel.Bind>().To>();
    

    0 讨论(0)
提交回复
热议问题