asp.net.ph

DeploymentSection Class

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.

DeploymentSection Class Members

Collapse   Constructors

Visibility Constructor Parameters
public DeploymentSection ( )

Collapse   Properties

Visibility Name Value Type Accessibility
public Retail Boolean [ Get , Set ]

Remarks

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.

Example

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>
See Also

ASP.NET Configuration   <deployment> Section Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph