The EasyCache type exposes the following members.

Properties

  NameDescription
Active
Indicates if caching is active or not (Read Only)
Count
Gets the number of items stored in the cache
EffectivePercentagePhysicalMemoryLimit
Gets the percentage of physical memory that can be consumed by an application before ASP.NET starts removing items from the cache.
EffectivePrivateBytesLimit
The number of bytes available for the cache.
Get
Get an instance of the class using the singleton pattern for maximum performance

The class can be used directly like a static class without being instantiated

Singleton pattern - http://en.wikipedia.org/wiki/Singleton_pattern

Implementing the Singleton Pattern - http://www.yoda.arachsys.com/csharp/singleton.html

The singleton pattern VS static classes - http://dotnet.org.za/reyn/archive/2004/07/07/2606.aspx

See Also