1

Resolved

Positive value required for time-out in AzureOutputCacheStorageProvider

description

This error is thrown when activating Windows Azure Output Cache module when deployed to a Cloud Service. The default value for the cache duration is 0 and when setting that on line 52 in AzureOutputCacheProvider.cs

_cache.Put(key, cacheItem, TimeSpan.FromSeconds(cacheItem.ValidFor), _regionAlphaNumeric);

It throws this error. Need to guard against it, so no error is thrown.

comments

sebastienros wrote Mar 17 at 7:56 PM

Fixed in changeset 458d06a74e8269595813a7d27563143b2e686504