Cache Dependencies in Winforms??

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Vinit

    #1

    Cache Dependencies in Winforms??

    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.Cach ing
    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

  • Nicholas Paldino [.NET/C# MVP]

    #2
    Re: Cache Dependencies in Winforms??

    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.co m

    "Vinit" <vinitsamel@gma il.com> wrote in message
    news:1135018913 .127365.61170@g 14g2000cwa.goog legroups.com...[color=blue]
    > 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.Cach ing
    > 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
    >[/color]


    Comment

    Working...