NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

<configsections> Configuration Section

Contains a list that indicates the configuration section handlers associated with each configuration section.

<configsections>
   <add name="config section element" type="config section handler" />
   …
</configsections>

The <add> sub-element contains the following attributes:

Directive Description
name Specifies the name of the element that will contain configuration data.
type Specifies the configuration section handler class to be associated with the element specified in the name attribute.

Remarks

There must be a configuration section handler declared for each configuration section in the file.

Configuration section handler settings are inherited throughout the application's scope. However, once an association is made between a configuration section and its handler, that association cannot be overridden by configuration file in a subdirectory.

All configuration section handlers must implement the IConfigSectionHandler interface. For more information about the IconfigSectionHandler interface, see that topic in the NGWS runtime Reference.

Example

<configsections>
   <add name="httpmodules"
        type="System.Web.Config.HttpModuleConfigHandler"/>
</configsections>

<httpmodules>
   <add type="System.Web.Cache.OutputCacheModule" />
   <add type="System.Web.SessionState.SessionStateModule" />
</httpmodules>

Requirements

Contained Within: <configuration>

Web Platform: IIS 5.0

Configuration File: config.web

See Also

ASP+ Configuration Concepts