「localhost/mvcapplication1」の下のIIS 5.1の環境にアプリケーションがあります
ルーティング構成は次のようなものです。
routes.MapRoute("mvc-default", "{controller}.mvc/{action}/{id}"
, new { controller = "Home", action = "Index", id = (string)null });
routes.MapRoute("Root", ""
, new { controller = "Home", action = "Index", id = (string)null });
ページが「ルート」経由でルーティングされると、ビューのリンクは
http://localhost/mvcapplication1/MvcApplication1/Product.mvc
, which obviously it doesn't exist. However when the first "mvc-default" is used, it works well.
If the application is hosted under http://......./ would also work well.
any hints about how to solve it?
Thanks.