I've been using Index.aspx
as the 'home' file of my web applications directories for the past 5 years, but have only just recently started using Visual Studio for debugging sites.
The built in web server for Visual Studio has Default.aspx
as the 'home' file.
When I click on a link such as /News?id=5
, its not picking up on the Index.aspx
file, and instead showing a directory listing.
This causes an issue because I'm sometimes passing querystring, which is then lost when going to the directory listing.
Therefore, should I cave in and do what Microsoft tells me, and use Default.aspx
?
Is this what all other ASP.NET web developers do?