Learn
Data Projects
Inspect the _ViewImports File
_ViewImports.cshtml is a hidden page that is included at the top of each of the other pages. It is commonly used to add using
statements so all code has access to the correct namespaces and assemblies.
Our data project only uses the default include statements of this feature.
Instructions
1.
The file _ViewImports.cshtml is open. This hidden page is included at the top of each of the other cshtml pages.