c# - System.Web.Caching.Cache Behavior -


my web application caching list of objects avoid having fetch them database on , over. on 1 page, list fetched cache , additional objects added list , displayed in data bound control. these additional objects not meant cached, still somehow.

when use cache.get() method, supposed return object reference or copy of object?

system.web.caching.cache in-memory cache. means the object references returned cache.get() call. when modify reference after modifing same object still in cache.

you need manually clone operation not modify original object.


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -