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

问题描述

我了解 .NET 4 Framework 内置了缓存支持.有没有人有这方面的经验,或者可以提供很好的资源来了解更多信息?

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.

推荐答案

我假设您正在了解 这个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.

http://deanhume.com/Home/BlogPost/object-caching----net-4/37

在堆栈上,

is-there-some-sort-of-cachedependency-in-system-runtime-caching 和,

performance-of-system-runtime-caching.

可能有用.

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

10-15 15:55