Looking for a C# cache manager [closed]
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 :)
精彩评论