We've added the CSS, JavaScript, and Font files needed to create the master layout file for our project. Next, we need to create a home controller as well as a master layout file. To do this, complete the following steps:
Right-click on the
Controllers
folder and navigate to Add | Controller….Select MVC 5 Controller – Empty from the Add Scaffold dialog window and click on Add.
Enter
HomeController
in the Controller name textbox in the Add Controller dialog window, and click on Add.Next, right-click on the
Views
folder in your project and navigate to Add | New Folder. Name the folderShared
.Right-click on the newly-created
Shared
folder and navigate to Add | MVC 5 Layout Page (Razor).In the Specify Name for Item dialog, type
_Layout
in the Item name textbox and click on OK.Open the
blank.html
file in the SB Admin source files and copy its contents to the_Layout.cshtml
file.Change the
<head>
tag to the following code:<head> <meta charset="utf-8...