简体   繁体   中英

View cached data in ASP.NET MVC

Is there any third party tool or something in visual studio that lets you see the cached objects?

For example, an action is caching data (varied by parameters) and I want to see the cached objects and the attributes (like which parameter values were sent to the action when this data was cached).

You can find more answers to what you might desire on the Stackoverflow question: How to display the content of asp.net cache?

Basically you can create a page to view all cached items from your application. After that, it can customize and UI pump it to your needs and objectives.

If you just need to debug, then you can use Ringer's solution displayed on your comments.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM