Platform Core .NET Assemblies API
WithLocalCaching(ICacheStore,String) Method
See Also  Send Feedback
Terrasoft.Core.Store Namespace > CacheStoreUtilities Class > WithLocalCaching Method : WithLocalCaching(ICacheStore,String) Method
source
Cache.
groupName
The name for the group of freshness control items. All elements that are placed in this group will lose relevance when the ExpireGroup method is called.

Glossary Item Box

Applies local storage of data when working with the cache.

Syntax

 
C#
 
 

Parameters

source
Cache.
groupName
The name for the group of freshness control items. All elements that are placed in this group will lose relevance when the ExpireGroup method is called.

Return Value

The cache wrapper that provides the local data storage and verifies data freshness in the initial cache. The freshness indicator is verified each time the entities are accessed.

Remarks

It is recommended to be used only when working with a cache with relatively "expensive" access (for example, a cache with network access) and with significant amounts of cached items.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© Terrasoft 2002-2018.