How to: Set Properties of Web Application Projects

ASP.NET Web application projects share the configuration settings and behavior that are used for standard Visual Studio 2008 class-library projects. In addition, the Web tab of the project properties window makes available properties that are specific to Web application projects. You can use this tab to configure how a Web application project will run and how it can be debugged. For more information, see Web Page, Project Designer.

By default, when you run an ASP.NET Web application projects from Visual Studio or Visual Web Developer Express, the project runs by using the built-in ASP.NET Development Server. However, you can configure the Web application project so that you can run and debug it by using Internet Information Services (IIS).

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

To set Web application project properties

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

  2. Click 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 run in Visual Studio or Visual Web Developer Express.

See Also

Concepts

ASP.NET Deployment Overview

Debugging Web Pages Overview

MSBuild Overview

Reference

Web Page, Project Designer

Other Resources

Class Library Template

Projects, User Interface Elements