System.Web.Configuration.WebConfigurationManager Class

Provides access to configuration files as they apply to Web applications.

See Also: WebConfigurationManager Members


public static class WebConfigurationManager


The System.Web.Configuration.WebConfigurationManager class allows you to access computer and application information.

Using System.Web.Configuration.WebConfigurationManager is the preferred way to work with configuration files related to Web applications. For client applications, use the System.Configuration.ConfigurationManager class.

Your application can extend the System.Configuration types or use them directly to handle configuration information, as explained in the following list:


Namespace: System.Web.Configuration
Assembly: System.Web (in System.Web.dll)
Assembly Versions:
Since: .NET 2.0