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
Post a Comment