Is there a way to see what is in the ASP.NET data cache at any 开发者_JS百科given time? For example to render the contents as a hashtable view (key/object id)?
http://aspalliance.com/cachemanager/
Cache implements IEnumerable; you should be able to loop through it using foreach... the enumerator implements this:
IDictionaryEnumerator GetEnumerator();
Performance counters could be of help
http://blogs.msdn.com/b/simonince/archive/2009/07/20/monitor-your-asp-net-cache-api-behaviour.aspx
http://msdn.microsoft.com/en-us/library/fxk122b4.aspx
精彩评论