I will show you how to extend IdentityUser in asp.net core...
- 1.Create a new class "ApplicationUser" that will Inherits from IdentityUser class.
Using Microsoft.AspNetCore.Identity; public class ApplicationUser : IdentityUser { }
Using Microsoft.AspNetCore.Identity; public class ApplicationUser : IdentityUser { public string FirstName { get; set; } public string LastName { get; set; } }
No comments:
Post a Comment