title: Set a zip file to redis cache
body: <p>My problem is saving and reading a zip file to a Redis Cache database which located onAzure. I tried something with StackExchange.Redis but I did not managed it. Do you know any example or solution about that?</p>
  
  <p>My Code like that.For this code I am getting time-out error.</p>
  
  <pre><code>ConnectionMultiplexer connection = ConnectionMultiplexer.Connect("filecache.redis.cache.windows.net:6380,password=123,ssl=True,abortConnect=False");          
  IDatabase cache = connection.GetDatabase();
  
  byte[] fileBytes = File.ReadAllBytes(@"c:\test.zip");
  var str = Convert.ToBase64String(fileBytes);
  cache.StringSet("f1", str);
  var key1 = cache.StringGet("f1");
  </code></pre>
  
  <p>And this is the Error:</p>
  
  <blockquote>
    <p>StackExchange.Redis.RedisTimeoutException occurred
    HResult=0x80131505
    Message=Timeout performing SET f1, inst: 0, mgr: Inactive, err: never, queue: 2, qu: 1, qs: 1, qc: 0, wr: 1, wq: 1, in: 0, ar: 0, clientName: NLBRLT-MCOPUR, serverEndpoint: Unspecified/BatchReportCache.redis.cache.windows.net:6380, keyHashSlot: 2046, IOCP: (Busy=0,Free=1000,Min=4,Max=1000), WORKER: (Busy=0,Free=2047,Min=4,Max=2047) (Please take a look at this article for some common client-side issues that can cause timeouts: <a href="http://stackexchange.github.io/StackExchange.Redis/Timeouts" rel="nofollow noreferrer">http://stackexchange.github.io/StackExchange.Redis/Timeouts</a>)
    Source=StackExchange.Redis</p>
  </blockquote>