How to implement a custom cache provider with ASP.NET MVC?

Cache doesn't have an official abstraction or provider, but you can easily build one: weblogs.asp.net/zowens/archive/2008/08/0... memcachedproviders.codeplex.com/SourceCo... ASP. NET 4.0 includes an output cache provider abstraction (AFAIK not a general cache abstraction but only for output caching).

2 @mausch, that's exactly what I ended doing. The only thing that is not clear from the first post is how to inject the cache abstraction in the HttpContext pipeline using an IoC for example so that it is accessible from everywhere. – Darin Dimitrov May 17 '09 at 19:20 2 I wouldn't try to inject it in HttpContext.

Instead, just inject you r abstraction (ICache or whatever it's called) in your controllers. – Mauricio Scheffer May 17 '09 at 19:30.

A custom cache provider with asp is implemented (without quotes):. Implement a custom cache provider with ASP.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions