缓存.NET(不是网站) [英] Caching for .NET (not in websites)

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

问题描述

我需要的响应内存pressure像一个集结到ASP.NET缓存。我使用的不是一个网站,但是,我建立一个Windows服务。

I need a cache that responds to memory pressure like the one build-into ASP.NET. I'm not using a web site, however, I'm building a Windows Service.

有什么建议? (code,技术,产品,我不在乎,只要它在内存中)

Any suggestions? (code, techniques, products, I don't care as long as it's in-memory)

推荐答案

如果你熟悉ASP.NET缓存( System.Web.Caching ),你还是可以参考和使用它,即使你不是一个Web应用程序中运行。

If you're familiar with the ASP.NET Cache (System.Web.Caching), you can still reference and use it, even if you're not running within a web application.

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

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