Home > Net >  Examples of jingdong home interface SDK.net manager. CreateIdentity compiler error
Examples of jingdong home interface SDK.net manager. CreateIdentity compiler error

Time:09-18

Public static void SignIn (UserManager manager, ApplicationUser user, bool isPersistent)
{
IAuthenticationManager the authenticationManager=HttpContext. Current. GetOwinContext (). The Authentication;
The authenticationManager. SignOut (DefaultAuthenticationTypes. ExternalCookie);
Var identity=manager. CreateIdentity (user, DefaultAuthenticationTypes ApplicationCookie);
The authenticationManager. SignIn (new AuthenticationProperties () {IsPersistent=IsPersistent}, identity);


}
Positioning error manager. CreateIdentity

Error: the current language does not support "Microsoft. AspNet. Identity. UserManagerExtensions. CreateIdentity ()
"
Novice seek help,,,

CodePudding user response:

No one? Oneself the top
  •  Tags:  
  • C #
  • Related