Way to cache data in C#?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nelsonbrodyk
    New Member
    • Mar 2008
    • 81

    Way to cache data in C#?

    Hey All,
    I am looking into ways on how to create a client application cache. It would be nice if it would let me set and get objects from the cache, and even clean the cache if things are older then a specified time.

    Does .NET have built in support for this or do I need to roll my own solution? Are there any caching frameworks that exist?

    Thanks!
  • Shashi Sadasivan
    Recognized Expert Top Contributor
    • Aug 2007
    • 1435

    #2
    Have a look at the enterprise framework,
    that has a cache library,
    pretty nice !

    Comment

    • balabaster
      Recognized Expert Contributor
      • Mar 2007
      • 798

      #3
      The only issue with .NET caching I've found is that it's not entirely stable and sometimes loses items that should be in there, and keeps stuff it should've ditched already. If you can get past those two concerns, you should be golden.

      Comment

      • nelsonbrodyk
        New Member
        • Mar 2008
        • 81

        #4
        Is the enterprise framework already a part of .NET or is this something that is a separate library?

        Also, do you know of any places that show an example of how to use it?

        Thanks!

        Comment

        • nelsonbrodyk
          New Member
          • Mar 2008
          • 81

          #5
          Originally posted by nelsonbrodyk
          Is the enterprise framework already a part of .NET or is this something that is a separate library?

          Also, do you know of any places that show an example of how to use it?

          Thanks!

          Does anyone have any solutions? Does the built in web.Cache class work well?

          Comment

          Working...