fabioX, You can achieve this by specifying a cache dependenciy that will trigger object removal when a file changes for example, and a cache item removed callback that will run when an object is removed, look up data in the database, and reinsert it. Check
out this article to learn more about this: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspnet/html/asp04262001.asp You should look at the following classes in the System.Web.Caching namespace:
CacheDependency
CacheItemRemovedCallback
Hope this helps,
Mike Volodarsky
CTO at LeanSentry
Former IIS/ASP.NET PM
Want to become an expert at monitoring and troubleshooting your IIS applications?
See the demo at www.leansentry.com!
fabioX
Member
140 Points
28 Posts
Asyncronous Caching ???
Oct 06, 2003 02:17 PM|LINK
mvolo
Contributor
2202 Points
441 Posts
MVP
Re: Asyncronous Caching ???
Oct 06, 2003 05:56 PM|LINK
CTO at LeanSentry
Former IIS/ASP.NET PM
Want to become an expert at monitoring and troubleshooting your IIS applications?
See the demo at www.leansentry.com!