A call to localhost ( using the VS 2008 integrated webserver ) is not working ( empty page.. )
http://localhost:6666
but a call to a remote IIS
http://asdf.com/MyApp
is routed to the correct controler and method (SearchController -> Search )... MyApp is the IIS directory in which the folder "Controller" is...
The routingcode:
routes.MapRoute(
"Default", // Route name
"{controller}/{action}/{id}", // URL with parameters
new { controller = "Search", action = "Search", id = "" } // Parameter defaults
);
How to solve this, so that it's working on both webservers?