Class Overview (Windows Server AppFabric Caching)

The following table lists some of the classes and interfaces that are used to program using the caching features of Windows Server AppFabric. For more details, see the class library for the Microsoft.ApplicationServer.Caching namespace.

Section Heading

Class or Interface Name



Used to programmatically configure a cache client. This includes information about the location of the cache hosts and options such as local caching. This object can be passed to the constructor of the DataCacheFactory object.

DataCacheFactory class

Provides methods to return DataCache objects that are mapped to a named cache. The constructor of this class also enables programmatic configuration of the cache client.

DataCache class

Used to add, put, or remove objects to or from the cache. Once instantiated, this object is referred to as the cache client.

DataCacheItem class

Returns data associated with a cached object, which includes the cached object itself. The DataCacheItem class also includes the key, tags, and version, together with the name of the cache and region it is stored in.

DataCacheTag class

A string identifier that is used for locating cached objects.

DataCacheItemVersion class

A numeric value that is used to identify the version of cached objects.

DataCacheLockHandle class

Acts as a key for locking and unlocking cached objects.

DataCacheException class

Used for capturing and passing cache-based exceptions.

See Also


Cache Notifications (Windows Server AppFabric Caching)
Basic Cache Methods (Windows Server AppFabric Caching)
Tag-Based Methods (Windows Server AppFabric Caching)
Concurrency Methods (Windows Server AppFabric Caching)
Configuration Methods (Windows Server AppFabric Caching)
Using Basic Cache Methods (Windows Server AppFabric Caching)
Windows Server AppFabric Caching Concepts