This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Implementation of IBackingStore that stores its CacheItems into IsolatedStorage.

Namespace: Smartsite.Tools.Caching.BackingStoreImplementations
Assembly:  Smartsite.Tools (in Smartsite.Tools.dll)

Syntax

C#Copy imageCopy Code
public class IsolatedStorageBackingStore : 
Visual Basic (Declaration)Copy imageCopy Code
Public Class IsolatedStorageBackingStore _
	Inherits 

Remarks

This class assumes a tree-structured storage schema. Each named instance of an Isolated Storage area creates a separate, top-level directory in Isolated Storage. This is to allow a user to segregate different areas in Isolated Storage to allow multiple applications to use their own logically separate areas. Inside each of these areas, each CacheItem is stored in its own subdirectory, with separate files in those subdirectories representing the different pieces of a CacheItem. The item was split like this to allow for several optimizations. The first optimization is that now, the essence of a CacheItem can be restored independently of the underlying value. It is the deserialization of the value object that could conceivably be very time consuming, so by splitting it off into its own file, that deserialization process could be delayed until the value is actually needed. The second optimization is that we are now able to update the last accessed time for a CacheItem without bringing the entire CacheItem into memory, make the update, and then reserialize it.

Inheritance Hierarchy

System..::..Object
  Smartsite.Tools.Caching.BackingStoreImplementations..::..BaseBackingStore
    Smartsite.Tools.Caching.BackingStoreImplementations..::..IsolatedStorageBackingStore

See Also

Advanced