Implementing a Custom Output Cache Provider in ASP.NET 4

Initially the performance of the ASP.NET applications was a serious concern for web application developers. However many improvements have come in place over the time. This is evident in the newer versions of the .NET Framework. The IIS improvements also provide a better support to the application pools and so does the IIS compressions, etc. The use of CACHE as a state management technique for storing relatively stale data, i.e., data that doesn’t change much over time is a good measure. This minimizes redundant hits to database and hence enhances the speed of the application. Proper use of the CAHCE minimizes the network traffic and maximizes the responsiveness of the application. The ASP.NET Caching Framework by provides extension points which can be used to build custom cache providers easily. ASP.NET 4 allows you to extend the default cache model and build your own cache providers. This article will discuss the basics of cache state management techniques in ASP.NET and how we can extend its Caching Framework to implement our own custom made caching framework.

Read this article...

Joydip Kanjilal

Joydip Kanjilal is a Microsoft Most Valuable Professional in ASP.NET, Speaker and Author of several books and articles. He has more than 16 years of industry experience in IT with more than 10 years in Microsoft .NET and its related technologies. He was selected as MSDN Featured Developer of the Fortnight (MSDN) a number of times and also as Community Credit Winner at several times. He is also certified by Brainbench in ASP.NET 4 and .NET Framework 4.

Joydip has authored the following books:

Visual Studio Six in One (Wrox Publishers)
ASP.NET 4.0 Programming (Mc-Graw Hill Publishing)
Entity Framework Tutorial (Packt Publishing)
Pro Sync Framework (APRESS)
Sams Teach Yourself ASP.NET Ajax in 24 Hours (Sams Publishing)
ASP.NET Data Presentation Controls Essentials (Packt Publishing)

He has authored more than 250 articles for some of the most reputable sites like, ,,,,,, and Many of these articles have been selected at - Microsoft’s Official Site on ASP.NET.

Joydip is currently working as an independent software consultant and author. He has years of experience in designing and architecting solutions for various domains. His technical strengths include, C, C++, VC++, Java, C#, Microsoft .NET, Ajax, WCF, REST, SOA, Design Patterns, SQL Server, Operating Systems and Computer Architecture.

Joydip blogs at and spends most of this time writing books and articles. When not at work, Joydip spends his time with his family, playing chess and watching cricket and soccer.

MVP Profile:

comments powered by Disqus