Any ideas why the built in asp.net webserver insists on serving ‘/default.aspx’ whenever you browse to the root ‘/’?
Even if you force the global.asax to redirect to ‘/’ whenever ‘/default.aspx’ is detected it will see ‘/’ as a request to ‘/default.aspx’ and an infinite loop ensues!
Anyone have a way around this behaviour?
I assume you’re talking about Cassini (the one Visual Studio comes with for development) – if so then you’re out of luck because you can’t change the default document it uses (or not in any way I know of anyway).
To work around it you can set your project to use a local IIS installation instead – that will give you more control over directory browsing, default documents etc.