开发者

"Seeing" what is in the asp.net data cache

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜