How to: Set Properties of Web Application Projects
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. ArchiveDisclaimer

How to: Set Properties of Web Application Projects 

ASP.NET Web application projects share the same configuration settings and behavior as standard Visual Studio 2005 class-library projects. The Web tab contains the properties specific to Web application projects. You can use this tab to configure how a Web application project will be run and debugged. For more information, see Web Page, Project Designer.

By default, ASP.NET Web application projects are configured to start and run using the built-in Visual Studio Development Server on a random HTTP port. Alternatively, Visual Studio can run and debug the Web application project by using Internet Information Services (IIS).

When you run the application, Visual Studio compiles the project into a single assembly, which follows the build semantics of Visual Studio .NET 2003 Web projects. When the application is running, Visual Studio attaches a debugger to the Web server process. All project settings are saved in a standard Microsoft Build Engine (MSBuild) project file.

To set a property of a Web application project

  1. In Solution Explorer, right-click the Web application project that you want to modify and then click Properties.

  2. Select the Web tab.

  3. On the Web properties page, select configuration options in the Start Action, Servers, and Debuggers groups to specify how the Web application project will be tested in Visual Studio.

See Also

© 2015 Microsoft