System.Web.Configuration Namespace
.NET Framework version 2.0
Defines configuration settings that are used to support the deployment of a Web application. This class cannot be inherited.
Visibility |
Name |
Value Type |
Accessibility |
public |
Retail
|
Boolean |
[ Get , Set ] |
|
The DeploymentSection can be used to ensure a site is deployed based on retail mode. When Retail is true, ASP.NET will disable certain settings defined in the configuration, such as trace output, custom errors, and debug capabilities. This section only applies at the machine- and application-level configuration files.
The following configuration file example shows how to declaratively specify values for several properties of the DeploymentSection class.
<system.web>
<deployment retail = "false" />
</system.web>
ASP.NET Configuration <deployment> Section