mvc use different layout code example Example: mvc 5 use different layout @{ Layout = "~/Views/Shared/_WebmasterLayout.cshtml"; }