【发布时间】:2023-03-20 14:08:06
【问题描述】:
我想在 IIS6.0 上部署我的 .net MVC 2 应用程序。 是否需要更改 global.asax 文件中的路由路径。
在我的应用程序中,我使用了 html 链接、ajax 请求和 Html.ActionLink。
Global.asax 文件中的代码行是:
routes.MapRoute(
"LogOn",
"{controller}/{action}/{id}",
new { controller = "Account", action = "Index", id = UrlParameter.Optional }
);
请给我建议。
【问题讨论】:
标签: asp.net-mvc-2 routing iis-6