This project is read-only.

GoodStuff.Web.CacheUtility

Threadsafe generic HttpCache wrapper. Simplified HttpRunTime cache access and supports easy caching patterns. Uses a lamdba to populate the cache.

public IEnumerable<string> GetItems()
{
    return Cached.Get<IEnumerable<string>>("items", "groupname", TimeSpan.FromSeconds(10), () => { return new string[] { "aap", "noot", "mies";  } );
}

Last edited Aug 11, 2011 at 10:32 AM by drblame, version 1

Comments

No comments yet.