Shared.GetProviderConfigAttribute failed for RedisOutputCachingProvider
Closed this issue · 2 comments
evgeniy-polyakov commented
Shared.GetProviderConfigAttribute gets the provider using the following code:
var provider = Config.GetProvider("caching", providerName);
.
Here caching
is name of the section in web.config where providerName
is defined.
RedisOutputCachingProvider is defined in outputCaching
section, and the method can not get the provider.
As a result RedisOutputCachingProvider always uses default values of useCompression
, keyPrefix
, silentMode
.
davidjrh commented
Good catch, I will add the fix on the next release