SaaS CMS has officially launched! Learn more now.

Class DefaultContextCache

This implementation of ContextCache uses AsyncLocal type (represents ambient data that is local to a given asynchronous control flow, such as an asynchronous method.) which is shared bewteen threads in the Execution Conxtext. Each request threads has own _local.Value becuase runs under separate execution context.

Inheritance
System.Object
DefaultContextCache
Inherited Members
Namespace: EPiServer.Framework.Internal
Assembly: EPiServer.Framework.dll
Version: 12.0.3
Syntax
public class DefaultContextCache : ContextCache

Constructors

DefaultContextCache()

Declaration
public DefaultContextCache()

Properties

Item[String]

Declaration
public override object this[string name] { get; set; }
Parameters
Type Name Description
System.String name
Property Value
Type Description
System.Object
Overrides

Methods

Clear()

Clears all cached entries

Declaration
public static void Clear()

Extension Methods