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

Re: Cache Dependencies in Winforms?? by Nicholas

Nicholas
Mon Dec 19 13:07:56 CST 2005

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.


--
- Nicholas Paldino [.NET/C# MVP]
- mvp@spam.guard.caspershouse.com

"Vinit" <vinitsamel@gmail.com> wrote in message
news:1135018913.127365.61170@g14g2000cwa.googlegroups.com...
> 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
>