See Also: WebConfigurationManager Members
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:
Handling configuration. To handle configuration information using the standard types, you use one of the following approaches:
Extending configuration standard types. You can also provide your custom configuration elements by extending the standard configuration types such as System.Configuration.ConfigurationElement, System.Configuration.ConfigurationElementCollection, System.Configuration.ConfigurationProperty, and System.Configuration.ConfigurationSection by using a programmatic or an attributed model. Refer to the System.Configuration.ConfigurationSection class for an example of how to extend a standard configuration type programmatically. Refer to the System.Configuration.ConfigurationElement class for an example of how to extend a standard configuration type using the attributed model.