c# - 可以知道 asp.net mvc 3 中的 OutputCache 大小吗?

标签 c# asp.net-mvc-3 outputcache

我读了这篇文章:How to remove OutputCache on ChildAction?MSDN .

我在一些包含大量数据的操作上应用了 OutputCache 属性。我想知道内存中已经占用了多少(大小)。

你能告诉我如何在 C# 代码 中查看大小吗?

因为在 MSDN 上他们没有提到缓存大小。

最佳答案

您可以为此使用“内存分析器”

.NET Memory Profiler
 ANTS Performace Profiler

关于c# - 可以知道 asp.net mvc 3 中的 OutputCache 大小吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12623405/

相关文章:

c# - 同义词存在吗?

c# - 如何将数据表中的项目添加到 asp.net 中的列表

asp.net-mvc-3 - Ajax 调用后 MVC3 重定向到操作

c# - 缓存 Index 操作方法时防止 MVC 中布局文件的缓存

javascript - 如何确保永远不会缓存动态生成的 javascript 文件?

c# - 如何将回调委托(delegate)传递给 .netCF 中的 dll

c# - 使用 Websocket 将音频流从 Android(客户端)发送到 C#(服务器)

asp.net-mvc-3 - MVC Controller 操作 - 处理 POST 和 GET 没有重复的代码

c# - Fluent NHibernate (ASP.NET MVC) 中的枚举类型不匹配

.net - 以编程方式设置页面输出缓存 VaryByCustom 值