tag:blogger.com,1999:blog-4045671445828312434.post7106434400843839069..comments2024-03-25T15:11:30.341+05:30Comments on Born to Automate : Enterprise Library 3.1 - Caching Application Block (Part 2)Prajeesh Prathaphttp://www.blogger.com/profile/10973885615112785714noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-4045671445828312434.post-61607263332597697812010-01-30T13:56:10.595+05:302010-01-30T13:56:10.595+05:30Hi Prajeesh,
Thanks for sharing your knowledge. En...Hi Prajeesh,<br />Thanks for sharing your knowledge. Enterprise Library is a wonderful tool for developers as it saves a lot of valuable time. I wanted to use CAB in my application but I have a large distributed configuration and think that CAB might not scale nicely. Recently I came across this article about <a href="http://www.alachisoft.com/ncache/caching-application-block_index.html" rel="nofollow">CAB</a>. What do you think?Unknownhttps://www.blogger.com/profile/16113633191470366264noreply@blogger.comtag:blogger.com,1999:blog-4045671445828312434.post-69314946604065318892009-08-26T22:33:42.899+05:302009-08-26T22:33:42.899+05:30In your Refresh method, if you are refreshing the ...In your Refresh method, if you are refreshing the cached item, wouldn't you also add it back to the cache with a new instance of the ICacheItemRefreshAction class?<br /><br />[public void Refresh]<br />_myCacheManager.Add(removedKey, CacheContentTextBox.Text,<br />CacheItemPriority.Normal, new CacheRefreshPolicy(),<br />new SlidingTime(TimeSpan.FromSeconds(60)));<br /><br />(I plan to use this in conjunction with SQLDependency, so I want to refresh my cache each time.)Anonymousnoreply@blogger.com