Hi, this could be seen as a follow-up to this SO question here. Now we have moved on more than a year and ASP.NET MVC2 comes along without a default.aspx
I must have done something to my project in that when I hit the root, the server lists the directory and does not route through my default route. The Routing seems to be accepted, though, as calling /Home goes to the default action {controller}/Index. When I start the ASP.NET MVC2 template, default routing works.
However, I cannot see any differences right now.
What have I done? Deleted some magic setting in the web.config or anything else?
Thanks for any pointers.
EDIT: This is my route mapping -
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
routes.MapRoute(
"Link",
"link/{id}",
new { controller = "Link", action = "Index", id = "" },
new { controller = @"[^\.]*" }
);
routes.MapRoute(
"Default", // Route name
"{controller}/{action}/{id}", // URL with parameters
new { controller = "Home", action = "Index", id = UrlParameter.Optional }