I developed a .net web-application. If I start the development server in the browser like this:
http://localhost:<host number>/
I get to a directory listing. I would rather get to a specific default page. In my case it´s located in the folder Applications/Default/ of the project and named default.aspx .
I use .net 2.0 and VS 2005.
If you are using the Visual Studio Development web server, you cannot specify a default page that will be served up when you navigate to “/”. It is hardwired to use “Default.aspx” … this has been a standard page for a great long time and there should be little reason to deviate from it.
What you can do is create a blank Default.aspx page and perform a Server.Transfer() on page load.
If you absolutely must specify a different start up page, and cannot create a Default.aspx page, then you must abandon the development server and opt to use IIS locally or use IIS Express, either should be able to debug applications, but may have features that require configuration.