views:

1614

answers:

2

Hi,

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

A: 

Im interested in your solution to this problem as I am faced with a similar problem.

Cheers

D

This should be a comment, not an answer. You might want to upvote @Ajay's question too.
Craig Walker
+2  A: 

Hi, it's a filewatcher one. Custom cache dependency

This excerpt from Pro c# describes how to do that quite well.

Nicolai Ustinov