Use razor/asp.net mvc3 to generate static html pages?

后端 未结 7 1623
一整个雨季
一整个雨季 2020-12-29 05:55

For one projet, I\'ve to generate static .html pages, which are gonna to be published on a remote server.

I\'ve to automate the creation of those files from a c# cod

相关标签:
7条回答
  • 2020-12-29 06:32

    Rather than generating static HTML pages, I think it would be better to dynamically generate the pages each time, but using Caching to increase performance.

    See this article on caching with ASP.NET MVC3 for more information:

    http://www.asp.net/mvc/tutorials/older-versions/controllers-and-routing/improving-performance-with-output-caching-cs

    0 讨论(0)
提交回复
热议问题