Caching for .NET (not in websites)

后端 未结 4 1675
你的背包
你的背包 2021-01-02 23:19

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

相关标签:
4条回答
  • 2021-01-02 23:49

    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.

    0 讨论(0)
  • 2021-01-02 23:55

    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. "

    Caching App Block

    0 讨论(0)
  • 2021-01-02 23:59
    • Caching Application Block from Microsoft Paterns & Practices.
    • Project Velocity from Microsoft.
    0 讨论(0)
  • 2021-01-03 00:03

    memcached has clients for .Net:

    • enyim.com Memcached Client
    • memcached Providers (for ASP.NEt cache).
    0 讨论(0)
提交回复
热议问题