我希望所有对http://foo.com/test/ {the-rest-of-url}的请求都映射到http://foo.com/ {the-rest-of-url}
像这样...
routes.MapRoute(
name: "Test",
url: "test/{controller}/{action}/{id}",
defaults: new { controller = "Channel", action = "Index", id = UrlParameter.Optional }
);
但是那当然没有用。