How to create ASP.NET Core Web Application

Step 1: Create New Project in Visual Studio. File -> New -> Project.

Step 2:Select ASP.NET Core Web Application. Type the Project Name and Click OK button.

Step 3: Next Window, Select the Project template to Web Application (Model-View-Controller). Then click on Change Authentication button and chose Authentication as Individual User Account. Then click OK button will create your Web Application.

Step 4: We need to apply database migrations to our application. Go to Tools -> NuGet Package Manager >> Package Manager Console.

Step 5: This will open the Package Manager Console. Put in the Update-Database command and hit enter. This will update the database using Entity Framework Code First Migrations.

Step 6: Now we can build and run the application. Press F5 to run the application.

Leave a Reply

Your email address will not be published. Required fields are marked *