We managed to use the App Fabric Caching Server for storing our Outputcache, without changing our code, only with configuration. And it’s working very well.
Is there any way to do the same with the .Net Cache (HttpContext.Current.Cache) ? without changing our code, only config.
Thanks
There is no provider abstraction (
ProviderBase) for the HttpContext Cache. There is for OutputCache and Session as indicated by @Icarus. It will require changing code.Here are a couple ideas for you…
DataCacheinstead ofHttpContext.Current.Cache. See Hanselmans example.