title: How do you include .html or .asp file using razor?
body: <p>Is it possible to use server side include in Razor view engine to include .html or .asp file?  We have an .html file and .asp files that contain website menus that are used for all of our websitse.  Currently we use server side include for all of our sites so that we only need to change the mensu in one place.</p>
  
  <p>I have the following code in the body of my _Layout.cshtml</p>
  
  <pre><code>&lt;body&gt;
  &lt;!--#include virtual="/serverside/menus/MainMenu.asp" --&gt;   
  &lt;!--#include virtual="/serverside/menus/library_menu.asp" --&gt;
  &lt;!--#include virtual="/portfolios/serverside/menus/portfolio_buttons_head.html" --&gt;
  @RenderBody()
  &lt;/body&gt;
  </code></pre>
  
  <p>Instead of including the content of the file, if I do a view source, I see the literal text.</p>
  
  <pre><code>" &lt;!--#include virtual="/serverside/menus/MainMenu.asp" --&gt; 
      &lt;!--#include virtual="/serverside/menus/library_menu.asp" --&gt;
      &lt;!--#include virtual="/portfolios/serverside/menus/portfolio_buttons_head.html" --&gt;"
  </code></pre>