Cache Dependencies in Winforms??

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
 
N

Nicholas Paldino [.NET/C# MVP]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top