Home / Software / Tips and Tricks / How can I list all the server cache objects that are live?

How can I list all the server cache objects that are live?

Updated:  10/18/2010 16:10 PM
Author:  Shiju Mathews

Status:    Resolved.


System.Web.Caching namespace contains Cache class Implements the cache for a Web application. This class cannot be inherited.

Cache.GetEnumerator Method Retrieves a dictionary enumerator used to iterate through the key settings and their values contained in the cache.

Add The following Code to ASPX File.




On Code Behind Add the following code.