Posted on: 3/12/2015 5:17:51 PM | Views : 711

Hi Guys,
in my ASP.NET MVC5 application, I'm customizing profile information in ASP.NET Identity by following the tutorial written by Pranav Rastogi. According to this I modified:
1) Models\IdentityModels,cs by adding three new properties:
public class ApplicationUser : IdentityUser { public async Task<ClaimsIdentity> GenerateUserIdentityAsync(UserManager<ApplicationUser> manager) { // Note the authenticationType must match the one defined in CookieAuthenticationOptions.AuthenticationType var userIdentity = await manager.CreateIdentityAsync(this, DefaultAuthenticationTypes.ApplicationCookie); // Add custom user claims here return userIdentity; } public string F ...

Go to the complete details ...