Let's start with the entity that will be used to store all the user-related info. We'll use it for a number of useful tasks, such as keeping record of who created each quiz, tracking those who will take the quizzes, handling the login and authentication phase, and more.
Switch to Solution Explorer, then do the following:
- Create a new /Data/ folder at the root level of the TestMakerFreeWebApp project; this will be where all our EntityFramework-related classes will reside.
- Create a /Data/Models/ folder.
- Add a new ASP.NET Core | Code | Class file, name it ApplicationUser.cs, and replace the sample code with the following:
using System;using System.Collections.Generic;using System.ComponentModel;using System.ComponentModel.DataAnnotations; ...