Implementing Custom CacheDependency to invalidate ASP.Net cache item?

It's a filewatcher one. Custom cache dependency.

Up vote 4 down vote favorite 1 share g+ share fb share tw.

I want to implement my own customCacheDependency class by deriving base CacheDependency, as provided SqlCacheDependency is not suitable for my case. (thousands of cache items, and there will so many subscriptions in SQL as well as issues with registration in ASP. Net) I want to use this in ASP.

Net VirtualPathProvider's our custom implementation, so I can pass this CustomCacheDependecy to notify the asp.net that file content in the DB has changed. Can some one point me to any custom implementation of CacheDependency (preferably using MessageQueue)? Thanks & Regards, Ajay c# .net asp.net caching link|improve this question edited Nov 19 '08 at 19:44 asked Nov 19 '08 at 19:14Ajay196617 57% accept rate.

It's a filewatcher one. Custom cache dependency This excerpt from Pro c# describes how to do that quite well.

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