廣告:
asp.net mvc3.0做skin 主要是VirtualPathProviderViewEngine 來完成
解析依然用webform方式來解析
http://www.cnblogs.com/luluping/archive/2009/02/11/1387967.html
WebForms模板- Razor模板
傳統(tǒng)的ASPX文件模板 新途徑模板重載 自定義一個ViewEngine
http://webservices.ctocio.com.cn/net/118/9451618_1.shtml
更改一下MasterLocationFormats 就可以了 還有一個是ViewLocationFormats
隨便提醒一下mvc1還有mvc2 ViewEngine 注冊方式 不一樣
廣告: