Getting MVC default route to go to ~/default.asp
- by Dave Hanna
I am adding some MVC features to an existing site (FWIW, most of which is in classic ASP). As a result, I need to keep the default routing going to ~/default.asp (at a minimum - preferably the default document specified in IIS).
Is there a way to write the route in RegisterRoutes so that a request for the root of the site (e.g., http://localhost,…