You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use the MemoryCache implementation and have problems in a multi-threaded environment.
When I call a Query() method with the same cacheKey from different threads, I get a "Cannot update the item that is not yet expired." exception. Why can't I update a cached item when it is not expired yet?
Does this mean that I can't use the caching within a multi-threaded environment?