Creating the ASP.NET MVC project
To create a new ASP.NET MVC project, perform the following steps:
In Visual Studio, create a new ASP.NET Core Web Application project, as shown in the following screenshot:
In the New ASP.NET Core Web Application dialog, select the Empty template under the ASP.NET Core Templates and click on the OK button:
Visual Studio will create a default empty MVC project. Right-click on the
wwwroot
folder inside the project and navigate to Add | New Folder. Create the following two folders:css
js
Add the
styles.css
file from the Bootstrap 4 Admin Dashboard templatecss
folder to thecss
folder inside thewwwroot
folder in the project.Copy the
scripts.js
file located in the Bootstrap 4 Admin Dashboard template'sjs
folder to thejs
folder in the project'swwwroot
folder.Next, add two folders to the root of the project called
Controllers
andViews
.Next, in order to enable MVC features such as tooling and Tag Helpers, open the
project.json
file and add the following to the...