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.
Any suggestions? (code, techniques, products, I don't care as long as it's in-memory)
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.
Any suggestions? (code, techniques, products, I don't care as long as it's in-memory)
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.
Have you looked at the Microsoft Enterprise library Caching Block:
"Nearly every application needs to cache data. While you're probably familiar wth the caching functionality built into ASP.NET, the Enterprise Library Caching Block provides in-memory, file-based, or database caching storage for all your other .NET applications. "
memcached has clients for .Net: