• CacheManager
  • Documentation
  • Api Docs
  • MichaCo.net
    Show / Hide Table of Contents

    Class WebConfigurationBuilderExtensions

    Extensions for the configuration builder specific to System.Runtime.Caching cache handle.

    Inheritance
    Object
    WebConfigurationBuilderExtensions
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace:CacheManager.Core
    Assembly:CacheManager.Web.dll
    Syntax
    public static class WebConfigurationBuilderExtensions

    Methods

    | Improve this Doc View Source

    WithSystemWebCacheHandle(ConfigurationBuilderCachePart, Boolean)

    Adds a SystemWebCacheHandle<TCacheValue> to the cache manager. This handle uses System.Web.Caching.Cache and requires HttpContext.Current to be not null.

    Declaration
    public static ConfigurationBuilderCacheHandlePart WithSystemWebCacheHandle(this ConfigurationBuilderCachePart part, bool isBackplaneSource = false)
    Parameters
    Type Name Description
    ConfigurationBuilderCachePart part

    The builder part.

    Boolean isBackplaneSource

    Set this to true if this cache handle should be the source of the backplane. This setting will be ignored if no backplane is configured.

    Returns
    Type Description
    ConfigurationBuilderCacheHandlePart

    The builder part.

    | Improve this Doc View Source

    WithSystemWebCacheHandle(ConfigurationBuilderCachePart, String, Boolean)

    Adds a SystemWebCacheHandle<TCacheValue> to the cache manager. This handle uses System.Web.Caching.Cache and requires HttpContext.Current to be not null.

    Declaration
    public static ConfigurationBuilderCacheHandlePart WithSystemWebCacheHandle(this ConfigurationBuilderCachePart part, string instanceName, bool isBackplaneSource = false)
    Parameters
    Type Name Description
    ConfigurationBuilderCachePart part

    The builder part.

    String instanceName

    The name to be used for the cache handle instance.

    Boolean isBackplaneSource

    Set this to true if this cache handle should be the source of the backplane. This setting will be ignored if no backplane is configured.

    Returns
    Type Description
    ConfigurationBuilderCacheHandlePart

    The builder part.

    Exceptions
    Type Condition
    ArgumentNullException

    If part is null.

    ArgumentNullException

    Thrown if instanceName is null.

    • Improve this Doc
    • View Source
    © 2025 by Michael Conrad. All rights reserved. - MichaCo.net