How can I get the item being removed when CacheItemUpdateCallback is called
- by gonxalo
I want to avoid an item being removed from cache when expire in SOME OCASIONS
If i understand how CacheItemUpdateCallback works, i need to asign to expensiveObject the new object, in my case: the old one.
But i cant access the item with HttpContext.Current.Cache[key],
my question: how to access it? or in other words, How avoid this item being removed.?