Practical Caching in ASP.NET

Caching has been part of ASP.NET since its inception. Pages, page fragments, and arbitrary data elements can all be cached to increase performance. This session goes beyond the basics to demonstrate caching in a real web application. I show how to use post-cache substitution in a real application (to display more than the current time like most demos!). The presentation shows how to cache pages based on a custom attribute for the logged in user. Lastly, we I show one way to design a business tier to take advantage of data caching while remaining loosely coupled to the UI.

You can find the slide deck and sample code at this GitHub Repository.

  • Cincinnati Programmers’ Guild, October 2007
  • Ann Arbor Day of .NET, May 2007
  • Dayton-Cincinnati Code Camp, March 2007