Add New page:

Base View

Theme base view is Views/Shared/Layout.cshtml, in this file we are connecting all global styles and scripts. Each layout template should be wrapped with this view.

Content will be rendered in the place of @RenderBody() .

Specifying a Layout

Razor views have a Layout property. Individual views specify a layout by setting this property.

 @{
 Layout = "~/Views/Shared/Layout.cshtml";
 } 
Follow the below step to create New Controllers :-
Step 1 :- Right Click And Select > Add View...
image
Step 2 :- Click on the Add Button.
image
Step 3 :- Click on the Add Button.
image
© Skote.