'Microsoft.Owin.IOwinContext' does not contain a definition for 'GetUserManager' and no extension method?

前端 未结 1 441
别那么骄傲
别那么骄傲 2021-02-05 05:24

The following code is copied from the Asp.Net Identity 2.0 sample.

private ApplicationUserManager _userManager;
public ApplicationUserManager UserManager
{
    g         


        
相关标签:
1条回答
  • 2021-02-05 05:52

    The extension method was moved to a different namespace, try adding

    using Microsoft.AspNet.Identity.Owin;
    
    0 讨论(0)
提交回复
热议问题