How do I specify a Startup Page in my Web Forms App?
By default, when you run your web application, Visual Studio runs the page that is currently open. If you always want to run a specific page when your web application starts up, right-click the page in the Solution Explorer and select Set As Start Page from the shortcut menu. Note that this only sets the start page in development mode when you run your web application from Visual Studio. It does not set the start page when you publish the web application. To specify a default page for your web site, use IIS Manager to enable a default document in a Web site or virtual directory.
© (c) 2026 Oak Leaf Enterprises, Inc., 1996-2026 • Updated: 04/20/06
Comment or report problem with topic
