Got a project with standard Asp.Net (aspx) pages running alongside MVC 3 Razor controllers/views. Want to set the aspx page as the default page. As at the moment it’s picking up the following route when opening the root
routes.MapRoute(
"MVCDefault", // Route name
"{controller}/{action}/{id}", // URL with parameters
new { controller = "Home", action = "Index", id = UrlParameter.Optional } // Parameter defaults
);
(its now hosted in IIS7 it worked fine runnning in visual studio).
As you can see here: Index.aspx in a hybrid ASP.NET / ASP.NET MVC application