阅读背景:

ASP.NET MVC 2中是否可以嵌套区域?

来源:互联网 

I would like to create a project structure with nested areas. For instance I have a "Home" area and underneath this I would like the "News" area that handles it's own route registration and will properly find views when a route points to a controller in the "News" area. By changing the "News" area name to be "Home/News" instead of simply "News", the proper views are found. In the main Global.asax.cs, I instantiate all of the areas ("Home" and "News") and register them individually because the RegisterAllAreas() function only finds areas one level deep (i.e. it only finds and registers the "Home" area).I would like to create a project structure with




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: