如何在MultiArea项目中共享View路径(环境:asp.net mvc3 vs2010)
摘要:环境:asp.net mvc3 vs2010当使用多Area工作时,为了能在Area之间共享Shared目录,需要注册各自Shared地址。在Global.asax.cs,需要如下添加不同Area的Engine: public class MvcApplication : System.Web.HttpApplication { ... protected void Application_Start() { RegisterRoutes(RouteTable.Routes); ViewEn...
阅读全文
posted @
2011-11-27 17:18
阳光VIP1
阅读(197)
推荐(0)