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.
To set the start up page in asp.net:
Right click in Solution explorer on the main folder name.
Select Property page. Property page window will appear in front of you.
Select ‘start option’. Then select ‘Specific page’ radio button. Click of on the browser button which is right after the textbox of specific page.
"Select page to start" Window appears in front of you. Select the page name which you want to set as start up web page. Click “OK”.
You should be back to ‘Property pages’ window. Click OK. Now Debug the page. You have set the start up page.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With