Section Class

Glimpse API

Section Class Glimpse API Documentation
The root Glimpse configuration node, that provides Glimpse configuration options in a site's web.config.
Inheritance Hierarchy

OnlineSystem Object  OnlineSystem.Configuration ConfigurationElement
    OnlineSystem.Configuration ConfigurationSection
      Glimpse.Core.Configuration Section

Namespace: Glimpse.Core.Configuration
Assembly: Glimpse.Core (in Glimpse.Core.dll) Version: 1.0.1.0 (1.0.1)

Syntax

public class Section : ConfigurationSection
public class Section : ConfigurationSection
Remarks

Before using, the Section class must be added to the configSections section of web.config, as shown in the examples. However, usually a NuGet package will make the necessary web.config changes automatically.
Examples

<configuration>
    <configSections>
        <section name="glimpse" type="Glimpse.Core.Configuration.Section, Glimpse.Core" />
        <!-- Additional section registrations -->
    </configSections>
    <!-- Additional configuration nodes -->
</configuration>
<configuration>
    <configSections>
        <section name="glimpse" type="Glimpse.Core.Configuration.Section, Glimpse.Core" />
        <!-- Additional section registrations -->
    </configSections>
    <!-- Additional configuration nodes -->
</configuration>
See Also