mic*_*ula 7 asp.net-mvc routing
我有非常基本的路由:
routes.MapRoute(
"Default",
"{controller}/{action}/{id}",parameters
new { controller = "Home", action = "Index", id = "" }
);
Run Code Online (Sandbox Code Playgroud)
问题是它在所有简单的情况下都能很好地工作,例如www.xxx.yy/pages/filter/test".一旦我添加点"."到{id}部分它失败了,返回'无法找到资源'.它发生了www.xxx.yy/pages/filter/test.
有什么建议?
| 归档时间: |
|
| 查看次数: |
4289 次 |
| 最近记录: |