Resources Property

Glimpse API

Section Resources Property Glimpse API Documentation
Gets or sets the collection of IResources that provide endpoints to access server side data.

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

Syntax

public DiscoverableCollectionElement Resources { get; set; }
public DiscoverableCollectionElement Resources { get; set; }
Remarks

By default, resources are discovered at runtime but that behavior, plus the location of where they are found, and which ones should be ignored is configurable.
Examples

<glimpse defaultRuntimePolicy="On" endpointBaseUri="~/Glimpse.axd">
    <resources autoDiscover="true" discoveryLocation="bin\debug">
        <ignoredTypes>
            <add type="{Namespace.Type, AssemblyName}"/>
        </ignoredTypes>
    </resources>
    <!-- Additional Glimpse configuration nodes -->
</glimpse>
<glimpse defaultRuntimePolicy="On" endpointBaseUri="~/Glimpse.axd">
    <resources autoDiscover="true" discoveryLocation="bin\debug">
        <ignoredTypes>
            <add type="{Namespace.Type, AssemblyName}"/>
        </ignoredTypes>
    </resources>
    <!-- Additional Glimpse configuration nodes -->
</glimpse>
See Also