Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Set default page for .net web-application

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.

like image 556
AGuyCalledGerald Avatar asked Sep 17 '25 23:09

AGuyCalledGerald


1 Answers

To set the start up page in asp.net:

  1. Right click in Solution explorer on the main folder name.

  2. Select Property page. Property page window will appear in front of you.

  3. Select ‘start option’. Then select ‘Specific page’ radio button. Click of on the browser button which is right after the textbox of specific page.

  4. "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”.

  5. You should be back to ‘Property pages’ window. Click OK. Now Debug the page. You have set the start up page.

like image 157
Dipti Raje Avatar answered Sep 19 '25 17:09

Dipti Raje