Here are the steps to create an ASP.NET Core application:
- Make sure to create an ASP.NET Core application with an empty template.
- Create a Controllers folder and create a HomeController with a single Index action method.
- Create the following folder/files for the ViewModel:
- Views: This folder is inside your project.
- Views\_ViewStart.cshtml: This identifies the name of the Layout file.
- Views\Shared: This folder holds all the shared view components for your application.
- Shared\_Layout.cshtml: This file identifies how your web application structure should look.
- Views\Home: This folder contains all of the Views of your HomeController.
- Views\Home\Index.cshtml: This is the view corresponding to the Index action ...