MONDAY, MARCH 21, 2011
HttpRuntime.Cache Add vs Insert
Very simple, calling Add will not replace an existing object, it simply returns the object that has the same key. Calling Insert will replace the object.
I will also point out that when you modify an object retrieved from the cache, you are changing the cache. You do not need to re-insert it into the cache after you make changes.
Posted by Chet at 4:12 PM
Post a Comment
Feel Free To Share Your Thoughts
You can use [b], [u], [i], and [url]
More About Me
Philosophy for Understanding Theology
20,000 Leagues Under the Sea
Settlers of Catan
Misc Arduino projects