Caching Best Practices Article on MSDN website

My first MSDN online article was published this week: ASP.NET Caching: Techniques and Best Practices.  The first half is pretty much well-known info about caching in ASP.NET (at least, it should be well-known to anybody writing ASP.NET applications).  The tips and the best practice pattern are the real valuable parts here for everyone who already knows the caching capabilities of ASP.NET, since these tell you why you should use caching and how to do it the most efficient way possible, which aren't necessarily apparent from the docs.

Anyway, hope they help someone.

3 Comments

  • Timely link! I've just recently started using the cache to store business objects to avoid constant SQL Server trips. So far so good, but I posted a dilemma to my blog last night (linked to my name): how to populate a collection with objects related (1-m) to some parent object (i.e., need the database to figure out which ones are related) *without* bypassing the cache for populating the children (i.e., just reference the children if they are already in the cache, otherwise load from database). No easy answers yet.

  • Steve, that's a great article. Nice work.

  • Pretty section of content. I just stumbled upon your site and in accession capital to assert that I acquire in fact enjoyed account your blog posts. Anyway I will be subscribing to your feeds and even I achievement you access consistently rapidly.

Comments have been disabled for this content.