I'd like to use System.Web.Caching.Cache object in my application, but this code throws a NullReferenceException.
Cache cache = new Cache();
cache["key"] = new object();
Any ideas ?
Update
HttpRuntime.Cache solve my problem but does somebody has a solution to use multiple instance of cache in my application ?