Create Database Select *. Web. Mvc as the startup project. Open Package Manager Console and select the *. EntityFrameworkCore project. Run the add-migration Initial_Migration command. Run the update-database command.