title: How is WebViewPage class transformed into html in ASP.Net MVC?
body: <p>Until recently I thought that ASP.Net views are files (like .aspx or .cshtml) that can contain some .Net code inside themselves and are parsed with a view engine (like razor or aspx) into html files that are sent to a client's browser. Later I discovered that these views are actually converted into classes that derive from <code>System.Web.Mvc.WebViewPage</code> class. Apart from this I noticed some people referred to views as classes themselves. So my questions are </p>
  
  <ol>
  <li>If views are parsed into a class, how does this class then render an html document?</li>
  <li>Is it fair to say that views in ASP.NET are classes themselves or they are more like some kind of scripts on which bases a view engine forms an actual class?</li>
  </ol>