deployment Element (ASP.NET Settings Schema)
Defines configuration settings that are used to support the deployment of a Web application.
<deployment retail="true|false" />
The following sections describe attributes, child elements, and parent elements.
Attributes
| Attribute | Description |
|---|---|
| retail | Optional Boolean attribute. Sets a value specifying whether a Web application is deployed in retail mode. The default value is false. This value can only be set at the machine level, not at the application level. |
Child Elements
None.
Parent Elements
| Element | Description |
|---|---|
| configuration | The required root element in every configuration file used by the common language runtime and the .NET Framework applications. |
| system.web | Specifies the root element for the ASP.NET configuration settings in a configuration file. Contains elements that configure ASP.NET Web applications and control how the applications behave. |
The following example shows how to declaratively specify values for several properties of the DeploymentSection class.
<system.web> <deployment retail="false" /> </system.web>
Tasks
How to: Configure Specific Directories Using Location SettingsHow to: Lock ASP.NET Configuration Settings
Reference
system.web Element (ASP.NET Settings Schema)configuration Element (General Settings Schema)
System.Configuration
System.Web.Configuration
Concepts
Deployment How-to and Walkthrough TopicsASP.NET Configuration File Hierarchy and Inheritance
Securing ASP.NET Configuration
ASP.NET Configuration Scenarios
Other Resources
General Configuration Settings (ASP.NET)ASP.NET Configuration Settings
Configuring ASP.NET Applications
ASP.NET Configuration Files
ASP.NET Configuration API