title: asp.net mvc virtual views and web configuration
body: <p>There are many examples out there which show how to store and retrieve virtual views from a file or database, but none of them show how to configure root web.config so that the application works properly, when a view's content retrieved from a file and contains for instance <code>@ViewBag.Title = "Some Title"</code> line.</p>
  
  <p>In this case I get <em>CS0103: The name 'ViewBag' does not exist in the current context</em> error, 
  just like in cases when I remove web.config from ~/Views project folder.</p>
  
  <p>So, what config elements from the ~/Views/web.config to root web.config in order to fix the mentioned above error?</p>
  
  <p>Is it possible to load config elements into assemby at run time?</p>