System.Runtime.Caching.Hosting Namespace

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

The types in the System.Runtime.Caching.Hosting namespace support .NET Framework hosting environments that use the caching features in ASP.NET.

InterfaceDescription
System_CAPS_pubinterfaceIApplicationIdentifier

Defines an identifier for application domains that a cache implementation can use to interact with a host environment.

System_CAPS_pubinterfaceIFileChangeNotificationSystem

Defines a way to expose a custom FileChangeMonitor object to a cache implementation.

System_CAPS_pubinterfaceIMemoryCacheManager

Defines an interface that a cache uses in order to communicate cache memory usage to a host environment.

The base ObjectCache class exposes a static Host property. When a .NET Framework hosting environment starts individual application domains, it can set a reference to the Host property. This enables the hosting environment to provide better integration with the cache.

In .NET Framework 4, the System.Runtime.Caching.Hosting namespace provides interfaces that a hosting environment can use to set a IServiceProvider reference on the Host property.

Return to top
Show: