Weird Caching Error? You're probably not using the right cache access pattern…

Scott Cate, who runs kbAlertz.com, among other things, writes about an intermittent error he was getting on his site last fall. Shortly before this, I had written an article on msdn about Caching Best Practices, in which I described a caching pattern that should be followed to ensure proper behavior (e.g. no null reference exceptions). Scott was getting intermittent errors about 1 every 50,000 page views (which is certainly hard to duplicate by stepping through the code…). Luckily, the problem was solved by applying my caching pattern, which was the first “in the wild” report I had seen of my pattern actually fixing a known bug (which thrilled me). So anyway, read about Scott’s experiences here.

If you liked this post, consider subscribing to email updates about my new posts, or sharing it on Hacker News.

Keyboard shortcuts

?
Show this help
Esc
Close this help or an open menu
n
Next (newer) post: Visual Studio IDE Settings – Remember Mine!
p
Previous (older) post: AspAdvice Facelift
Tab
Move between links and buttons (Shift+Tab to go back)