title: virtual view inheriting from System.Web.Mvc.ViewStartPage
body: <p>I had an issue with when trying to retrieve virtual views from a file by means of VirtualPathProvider, which is described in <a href="https://stackoverflow.com/questions/13209998/asp-net-mvc-virtual-views-and-web-configuration">this stackoverflow thread</a>.</p>
  
  <p>Now my question is why does a virtual view inherits from System.Web.Mvc.ViewStartPage, and how to make it to inherit from WebViewPage so that I can use </p>
  
  <p><code>ViewResult View(string viewName);</code> </p>
  
  <p>instead of </p>
  
  <p><code>PartialViewResult PartialView(string viewName);</code> </p>
  
  <p>like in described workaround? </p>