Cache Dependencies in Winforms??

  • Thread starter Thread starter Vinit
  • Start date Start date
V

Vinit

Hello

I have a C# application and am caching some data on the client side by
using a HashTable. Is there a way I can set Cache dependencies like a
time factor by which my cache is updated by making a call to the
webservice, as and when the time expires?

I believe on the server side this is done using System.Web.Caching
where you have a number of dependencies to set. Is there something
similar available for the client side? If not does anyone know how it
could be done?

I'd really appreciate if you could reply A.S.A.P.

Thanks,
Vinit
 
Vinit,

There is nothing out of the box that will provide this for you.
However, check out the Enterprise Application Blocks (there is a .NET 2.0
version out now in beta, I believe). There is a caching framework which
mirrors the one in ASP.NET and can be used anywhere.

Hope this helps.
 
Back
Top