System.Web.Caching
TOC
Collapse the table of content
Expand the table of content

System.Web.Caching Namespace

 

The System.Web.Caching namespace provides classes for caching frequently used data on the server.

ClassDescription
System_CAPS_pubclassAggregateCacheDependency

Combines multiple dependencies between an item stored in an ASP.NET application's Cache object and an array of CacheDependency objects. This class cannot be inherited.

System_CAPS_pubclassCache

Implements the cache for a Web application. This class cannot be inherited.

System_CAPS_pubclassCacheDependency

Establishes a dependency relationship between an item stored in an ASP.NET application's Cache object and a file, cache key, an array of either, or another CacheDependency object. The CacheDependency class monitors the dependency relationships so that when any of them changes, the cached item will be automatically removed.

System_CAPS_pubclassDatabaseNotEnabledForNotificationException

The exception that is thrown when a SQL Server database is not enabled to support dependencies associated with the SqlCacheDependency class. This class cannot be inherited.

System_CAPS_pubclassFileResponseElement

Represents part of an output-cache entry, stored as a file.

System_CAPS_pubclassHeaderElement

Represents a single HTTP header that is included in a response from the output cache.

System_CAPS_pubclassMemoryResponseElement

Represents part of an output-cache entry that is stored in memory.

System_CAPS_pubclassOutputCache

Provides programmatic access to the output-cache providers that are specified in the configuration file for a Web site.

System_CAPS_pubclassOutputCacheProvider

Serves as a base class that contains abstract methods for implementing an output-cache provider.

System_CAPS_pubclassOutputCacheProviderAsync

Provides an asynchronous OutputCacheProvider class.

System_CAPS_pubclassOutputCacheProviderCollection

Represents the collection of output-cache providers that are configured for a Web site.

System_CAPS_pubclassOutputCacheUtility

Provides helper methods for configuring the output cache.

System_CAPS_pubclassResponseElement

An abstract base class that represents an HTTP response in the output cache.

System_CAPS_pubclassSqlCacheDependency

Establishes a relationship between an item stored in an ASP.NET application's Cache object and either a specific SQL Server database table or the results of a SQL Server 2005 query. This class cannot be inherited.

System_CAPS_pubclassSqlCacheDependencyAdmin

Performs administrative tasks required on a SQL Server database to support the SqlCacheDependency class when using polling-based dependencies. This class cannot be inherited.

System_CAPS_pubclassSubstitutionResponseElement

Represents a managed delegate that can be called to insert dynamically generated output into an output-cache response.

System_CAPS_pubclassTableNotEnabledForNotificationException

The exception that is thrown when a SqlCacheDependency class is used against a database table that is not enabled for change notifications.

InterfaceDescription
System_CAPS_pubinterfaceIOutputCacheEntry

Defines collections of HTTP header and response elements that together make up one kind of output-cached data that ASP.NET can pass to a provider.

DelegateDescription
System_CAPS_pubdelegateCacheItemRemovedCallback

Defines a callback method for notifying applications when a cached item is removed from the Cache.

System_CAPS_pubdelegateCacheItemUpdateCallback

Defines a callback method for notifying applications before a cached item is removed from the cache.

EnumerationDescription
System_CAPS_pubenumCacheItemPriority

Specifies the relative priority of items stored in the Cache object.

System_CAPS_pubenumCacheItemRemovedReason

Specifies the reason an item was removed from the Cache.

System_CAPS_pubenumCacheItemUpdateReason

Specifies the reason that a cached item is being removed from the Cache object.

This namespace includes the Cache class, a dictionary that enables you to store data objects such as hash tables and data sets. It also provides expiration functionality for those objects, and methods that enable you to add and remove the objects. You can add the objects to the cache with a dependency on other files or cache entries. In that case, the Cache object can invoke a callback method to notify your application when an object is removed from the cache.

Return to top
Show:
© 2016 Microsoft