.NET 4缓存支持 [英] .NET 4 Caching Support

查看:149
本文介绍了.NET 4缓存支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

据我所知,.NET 4框架有内置的缓存支持。有没有人有这方面的经验,或者可以提供良好的资源,以了解更多关于此?

I understand the .NET 4 Framework has caching support built into it. Does anyone have any experience with this, or could provide good resources to learn more about this?

我所指的对象(主要是机构)的内存缓存,也可能是使用System.Runtime.Caching的。

I am referring to the caching of objects (entities primarily) in memory, and probably the use of System.Runtime.Caching.

推荐答案

我假设你正在为,<一个href="http://msdn.microsoft.com/en-us/library/system.runtime.caching.aspx"><$c$c>System.Runtime.Caching,类似 System.Web.Caching 和在一个更一般的命名空间。

I assume you are getting at this, System.Runtime.Caching, similar to the System.Web.Caching and in a more general namespace.

请参阅<一href="http://deanhume.com/Home/BlogPost/object-caching----net-4/37">http://deanhume.com/Home/BlogPost/object-caching----net-4/37

在栈上,

<一个href="http://stackoverflow.com/questions/2889812/is-there-some-sort-of-cachedependency-in-system-runtime-caching">is-there-some-sort-of-cachedependency-in-system-runtime-caching并且,

<一个href="http://stackoverflow.com/questions/3157340/performance-of-system-runtime-caching">performance-of-system-runtime-caching.

可能是有用的。

这篇关于.NET 4缓存支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆