How Do I?

[How Do I]: Use the ASP.NET Cache Object to Cache Application Information

By Chris Pels|22 minutes|
In this video Chris Pels shows how to use the ASP.NET Cache object to store application information. A sample page is created with a simple user interface and code is added that populates the grid with data from an XML disk file. Then the code is revised to cache the data in the application Cache object after it is initially retrieved and read from the cache for subsequent requests. Finally, methods are added to make use of absolute and sliding time based dependency for the cached object.

DOWNLOADS: Code (C#)|Code (VB)|MP3|MP4|WMV

This article was originally created on March 26, 2009

Author Information

Chris Pels

Chris Pels – Chris has been instrumental in the architecture, development, and implementation of a wide variety of business systems and databases as a technology consultant since 1986. He has extensive experience in business analysis, technical specifications, database design, several programming languages including C# and VB.NET, and statistical analysis. He holds a Ph.D. from The University of Michigan and has been a speaker at Microsoft TechEd, Microsoft DevDays, VSLive, numerous events in New England