July 2019
Intermediate to advanced
416 pages
10h 6m
English
The entry point for our view is the special _ViewStart.cshtml file. This file defines the common layout that the application will display. Rather than adding the contents to this file directly, we place the contents in a file called _Layout.cshtml and refer to this (minus the file extension) when setting the Layout file, like this:
@{ Layout = "_Layout";}
Now that we have ...