开发者

Looking for a C# cache manager [closed]

开发者 https://www.devze.com 2023-02-10 00:30 出处:网络
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago.

I'm searching for a good cache manager for generic objects.

I'm using C# with ASP.NET. I want to use开发者_如何学C System.Web.Cache. So I want a cache manager that will care about the caching and implement functions like ADD, GET, and UPDATE.


NVelocity, NCache, and the Microsoft P&P Caching block


For in-process memory caching take a look at the following:

For .NET 4: http://msdn.microsoft.com/en-us/library/dd997357(v=VS.100).aspx

For earlier versions:

http://msdn.microsoft.com/en-us/library/xsbfdd8c(v=vs.71).aspx

http://codemaverick.blogspot.com/2007/01/caching-in-windows-application-i-was_8639.html

Those can easily be used to cache objects, though the latter is mostly intended for caching ASP.net pages - if that's what you want :)

0

精彩评论

暂无评论...
验证码 换一张
取 消