Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AspNetCache Class

An ICache implementation backed by ASP.NET Cache (see Cache).

For a list of all members of this type, see AspNetCache Members .

System.Object
   AbstractCache
      AspNetCache

[Visual Basic]
Public Class AspNetCache
    Inherits AbstractCache
[C#]
public class AspNetCache : AbstractCache

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

Because ASP.NET Cache uses strings as cache keys, you need to ensure that the key object type has properly implemented ToString method.

Despite the shared underlying Cache, it is possible to use more than one instance of AspNetCache without interfering each other.

Requirements

Namespace: Spring.Caching

Assembly: Spring.Web (in Spring.Web.dll)

See Also

AspNetCache Members | Spring.Caching Namespace