The extension method is in Microsoft.AspNet.Identity. So what's the difference? When will these 2 return different values?
var idName = User.Identity.Name;
var idGetName = User.Identity.GetUserName();
The extension method is in Microsoft.AspNet.Identity. So what's the difference? When will these 2 return different values?
var idName = User.Identity.Name;
var idGetName = User.Identity.GetUserName();