I’m using a shared layout file, set up in _ViewStart.cshtml, for most of my site. Something along the lines of:
@{
Layout = "~/Views/Shared/_Layout.cshtml";
}
There is little to no information shared between most of my site, and the error reporting pages. How do I distinguish between the two situations?
I would like the shared layout to be loaded for all pages, except any error reporting ones.
you can change the layout on a per page/view basis
This is from my Post.vbhtml page – i just need to change the Layout page to use a different layout.