Saturday, February 5, 2011

Winform Caching

Hi, Is there a Winform caching library out there? I need to pass a few datasets aroung in a Winform Application, and probably persist to storage upon close.

I've seen some samples around via Google, using System.Web.

What's the recommendation and where can I get some details. I am using VS 2008 for 2.0. 3.0 Framework.

Thanks

  • Starting with .NET 2.0 you can use the System.Web.Caching.Cache class with non-ASP.NET apps. The Microsoft recommended approach these days though is to use the Enterprise Library Caching Application Block.

    Saif Khan : I am aware of these, but was checking for a lightweight alternative.
    From cruizer
  • If you want to persist the dataset to some temporary storage mechanism then DataSet does support ToXml() and FromXml() capabilities (I forget the exact method names).

0 comments:

Post a Comment