|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
How to: Specify Start Pages for Testing Web Sites in Visual Web Developer
When you use the Start or Start Without Debugging commands to run a Web site, by default Visual Web Developer runs the page that currently has the focus in the designer. However, you can also set a start page, which is useful if you always want to start at the same point in your Web site. If you set a start page, using the Start or Start Without Debugging commands always runs the start page that you specified instead of the current page.
Setting a start page in Visual Web Developer affects only your testing. It does not set the start page for the Web site when it is published. To specify a default start page for your Web site, use Internet Information Services (IIS) to enable a default document and select the page. For details, see the IIS documentation.
To specify a start page for testing a Web site in Visual Web Developer
In Solution Explorer, right-click the name of the Web site that you want to specify as the start page, and then click Property Pages.
In the Start Options tab, select the Specific page check box and then type or browse to the name of the page that you want to use as the start page.
In Solution Explorer, right-click the page that you want to specify as the start page, and then click Set As Start Page.