Caching In Winforms (or anywhere else)

Here is a great article on using the ASP.Net cache outside of web apps.

This is the gist of the article:

  • Add System.Web to your references
  • Get the actual cache object using

private Cache m_Cache;

m_Cache = HttpRuntime.Cache;

Leave a comment