title: 'SampleApp.MvcApplication' is not allowed here because it does not extend class 'Microsoft.WebPages.WebPageHttpApplication'
body: <p>I have created a sample project using ASP.NET MVC 3 Web Application (Razor) template. When I run my application I get this error</p>
  
  <pre><code> 'SampleApp.MvcApplication' is not allowed here because it does not extend class 'Microsoft.WebPages.WebPageHttpApplication'
  </code></pre>
  
  <p>Where should i look for the problem?</p>