April 2018
Intermediate to advanced
300 pages
7h 41m
English
IdentityUser is the base class, which contains properties such as email, password, and phone number, which are related to the user. When we create the ASP.NET Core application, it creates an empty ApplicationUser class that inherits from the IdentityUser class. In the ApplicationUser class, we can add more properties that will be created once the entity framework migration is run. We will add FirstName, LastName, and MobileNumber properties in our ApplicationUser class, which will be considered when the table is created:
public class ApplicationUser : IdentityUser
{
public string FirstName { get; set; }
public string LastName { get; set; }
public string MobileNumber { get; set; }
}
Before running ...