我需要的响应内存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.