Just trying to figure out the purpose of the _ViewStart page in Razor? The only thing I can do in this file is to specify the layout used. I can not display the contents of the layout, just specify it. It refers to the DRY template, allowing you to simply specify the engine after which layout to use, and avoid the need to name layouts on each page. But does it have any other purpose and then sets the layout?
I don’t know any other purpose, but keep in mind that you can have a different _viewstart file for each controller so that everyone can use a different main page.
, _viewstart /Views/<controllername>, , _viewstart.
/Views/<controllername>