Is there a way to see what is in the ASP.NET data cache at any given time? For example to render the contents as a hashtable view (key/object id)?
+1
A:
Cache implements IEnumerable; you should be able to loop through it using foreach... the enumerator implements this:
IDictionaryEnumerator GetEnumerator();
Brian
2010-09-27 15:58:32
A:
Performance counters could be of help
http://blogs.msdn.com/b/simonince/archive/2009/07/20/monitor-your-asp-net-cache-api-behaviour.aspx
Ben Aston
2010-09-28 09:02:10