我正在使用ASP.NET MVC 3创建一个区域,通过右键单击项目添加名为
Visual Studio 2010会自动创建AreaRegistration并在Global.asax中的Application_Start()方法中添加RegisterAllAreas()。
但是这个URL无法工作:http://localhost:1733/MyArea/AreaHome/Index。
即使路由似乎已经注册。
请问有人能看出我做错了什么吗?
提前致谢。
MyArea
的区域。Visual Studio 2010会自动创建AreaRegistration并在Global.asax中的Application_Start()方法中添加RegisterAllAreas()。
但是这个URL无法工作:http://localhost:1733/MyArea/AreaHome/Index。
即使路由似乎已经注册。
请问有人能看出我做错了什么吗?
提前致谢。