title: HttpHandler for Asp.NET MVC application
body: <p>For general ASP.NET WebForms applications, the web page derives from Page class which implements IHttpHandler that servers actual web request.</p>
  
  <p>In ASP.NET MVC the webpage base class is System.Web.Mvc.ViewPage that also derives from Page class which in turn implements IHttpHandler.</p>
  
  <p>But in the ASP.NET MVC Razor, the "cshtml" file derives from System.Web.Mvc.WebViewPage which actually does not implement IHttpHandler. </p>
  
  <p>According to IIS architecture, in order to process a request, a class must implement IHttpHandler but this not the case with Razor view engine. How could it be possible?</p>