Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
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.

NoteNote:

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

  1. 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.

  2. 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.

-or-

  • In Solution Explorer, right-click the page that you want to specify as the start page, and then click Set As Start Page.

Community Additions

ADD
Show:
© 2015 Microsoft