Context: .Net 3.5, C#
I\'d like to have caching mechanism in my Console application.
Instead of re-inventing the wheel, I\'d like to use System.Web.Caching.Cache>
The System.Web.Caching.Cache class relies on having its member "_cacheInternal" set by the HttpRuntime object.
To use the System.Web.Caching classes you'd have to create an HttpRuntime object and setup the HttpRuntime.Cache property. You'd effectively have to emulate IIS.
You're better off using other caching frameworks like: