.cshtml
pages for rendering dynamic web pages:
_ViewStart.cshtml
(default), which sets the default layout for all the views like
@{ Layout = "_Layout"; }
Shared/_Layout.cshtml
(default), which specifies 3 tabs of the home page: (i) Home, (ii) Books, and (iii) Privacy by using the following code:
Shortened |
<ul class="navbar-nav flex-grow-1"> <li class="nav-item"> <a asp-controller="Home" asp-action="Index">Home</a> </li> <li class="nav-item"> <a asp-controller="Home" asp-action="Books">Books</a> </li> <li class="nav-item"> <a asp-controller="Home" asp-action="Privacy">Privacy</a> </li> </ul> |
Did you hear about the kidnapping at school? It’s okay. He woke up. |