If you return PartialView() from your controllers (instead of return View()), then _viewstart.cshtml will not be executed.
If you return PartialView() from your controllers (instead of return View()), then _viewstart.cshtml will not be executed.