title: Persistent memory cache for Windows Applications?
body: <p>I'm looking for an in-memory cache that persists even after the windows forms application is closed. So far, the only option I've considered is to use a binary formatter to write the memory cache object to a file before closing the application.</p>
  
  <p>Is there a persistent memory cache available over NuGet that I can use?</p>
  
  <p>EDIT:
  We have about 30 million rows in a "mapping" table that needs to be queried about 100,000 times every 1 hour. The idea behind needing a cache was to avoid piling up the database with queries.</p>
  
  <p>Structure of the mapping table:</p>
  
  <pre><code>Zip code             TimeZoneGMTOffset
  ---------------------------------------
  12345                -6
  12346                -5
  ...
  </code></pre>
  
  <p>We will have about 100,000 profiles that we'll be parsing every hour. As a part of this parsing, we'll query timezone offset against their zip code and use it to calculate a time range.</p>
  
  <p>What'd be the best way to do that?</p>