title: Rendering .html files as views in ASP.NET MVC
body: <p>I would like to have .html files serve as views alongside other .cshtml views in my ASP.NET MVC project. The main reason for this is so that the html files are subject to the same custom security rules in my actions that the other views abide by.</p>
  
  <p>I don't want to use the .cshtml or .aspx extensions because then the framework attempts to compile these rather large files which is waste since the files don't have anything to compile.</p>
  
  <p>I've updated the view engine to look for .html extensions. This works fine, but then the error I'm getting is that I don't have a registered build provider. I've tried registering a build provider for .html files in the web.config, but that doesn't make any difference in the error.</p>
  
  <p>Is there a build provider that will just pass the text from the .html file straight through without attempting to compile it?</p>
  
  <p>So what I'm looking for is for .html files to live in the views directory so they are only rendered when requested through an action, and the .html views shouldn't be run through any compilation.</p>
  
  <p>Thanks,</p>
  
  <p>Chris</p>