System.Web.Caching Namespace
This page is specific to:.NET Framework Version:1.12.03.03.54.0
.NET Framework Class Library
System.Web.Caching Namespace

The System.Web.Caching namespace provides classes for caching frequently used data on the server. This includes the Cache class, a dictionary that allows you to store arbitrary data objects, such as hash tables and data sets. It also provides expiration functionality for those objects, and methods that allow you to add and removed the objects. You can also add the objects with a dependency upon other files or cache entries, and perform a callback to notify your application when an object is removed from the Cache.

Namespace hierarchy

Classes

Class Description
Cache Implements the cache for a Web application. This class cannot be inherited.
CacheDependency Tracks cache dependencies, which can be files, directories, or keys to other objects in your application's Cache. This class cannot be inherited.

Delegates

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

Enumerations

Enumeration Description
CacheItemPriority Specifies the relative priority of items stored in the Cache.
CacheItemRemovedReason Specifies the reason an item was removed from the Cache.

See Also

.NET Framework Class Library

© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View