DataCacheFactory.GetDefaultCache Method ()

 

Returns the cache client corresponding to the default cache, an instance of the DataCache object.

Namespace:   Microsoft.ApplicationServer.Caching
Assembly:  Microsoft.ApplicationServer.Caching.Client (in Microsoft.ApplicationServer.Caching.Client.dll)

public DataCache GetDefaultCache()

Return Value

Type: Microsoft.ApplicationServer.Caching.DataCache

The cache client, an instance of the DataCache object.

For Microsoft AppFabric 1.1 for Windows Server Caching, the default cache is automatically created when the caching features are installed and configured.

For Windows Azure Caching, the default cache is automatically available with any cache cluster hosted on Windows Azure roles. For Windows Azure Shared Caching, the default cache is automatically created when you create a new caching service namespace. For more information, see .f25afe6e-134e-4662-b602-72badef5d698

Return to top
Show: