我是ASP.NET MVC框架的新手 我只是想知道如何配置在我的情況。如何配置URL路由,如果我有重複的控制器或視圖
我想打一個網址在我的MVC應用程序如下:
1)http://localhost/statistics/people/index
2)http://localhost/statistics/animal/index
3)http://localhost/information/people/index
4)http://localhost/information/animal/index
如果我配置'統計'和'信息'作爲校長,我可以讓'人'摺疊呃下查看文件夾?
我知道,如果我使用MVC 2版框架的「區域」的功能,但我想知道這是可能提前使用MVC 1.0
感謝。
感謝Blend,但我仍然想知道如果我可以解決我的問題,只需在global.asax中配置url路由而不需要任何擴展類 – Ray 2009-12-01 13:00:07