Exploring and Starting the MVC Website
Explore how to launch and navigate the default ASP.NET Core MVC website project. Understand modifying launchSettings.json for HTTP and HTTPS ports, running the site with Visual Studio or VS Code, and inspecting site features like navigation menus and visitor registration with email confirmation. Gain practical experience with user login, account management, and compliance features such as GDPR data handling.
Exploring the default ASP.NET Core MVC website
Let’s review the behavior of the default ASP.NET Core MVC website project template:
Step 1: In the Northwind.Mvc project, expand the Properties folder, open the launchSettings.json file, and note the random port numbers (which will be different) configured for the project for the https and http profiles, as shown in the following settings:
Step 2: For the http profile, change the port number to 5000, as shown in the following setting:
Step 3: For the https profile, change the port numbers to 5001 for HTTPS and 5000 for HTTP, as shown in the following setting:
Step 4: Save the changes to the launchSettings.json file.