posted by 네코냥이 2013. 12. 24. 10:47


Server side includes are available across different platforms and a useful for including static content. You can use them in IIS but I they need to be enabled in IIS7.

<!-- #include file="Static/Menu.html" -->

Instructions to enable SSI in IIS7 are available at http://tech.mikeal.com/ 

For dynamic content, there is a built-in method of templating called MasterPages, this should be used instead.


======================================================================


A very quick and dirty way is to put the following in your aspx page:

<% Response.WriteFile("~/htmlfilename.htm")%>

======================================================================