Is it absolutely necessary to manually configure IIS6 to use ASP.NET MVC?

筅森魡賤 提交于 2019-12-04 11:21:26

if mapping to .aspx exist, try the solution found here to add a route to end up in *.mvc.aspx

routes.Add(new Route("{controller}.mvc.aspx/{action}", new MvcRouteHandler())
{
    Defaults = new RouteValueDictionary (new{ controller = "YourController"} )
});
Jedi Master Spooky

For what I investigated you have to ways, one is to tell IIS that all pages has to go thru ASP.NET - gif , css etc. - this way asp.net knows how to process every page. The other is to write a HttpModule, or something like this. I did the first one. I dont believe that you have any other option.

Maybe this will help: ASP.NET MVC on IIS6

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!