Local cache-cannot turn it off
-
giovedì 24 maggio 2012 18:12
In my DataCacheClient config I have the following setting:
useDataCacheClientConfigruation="false" localCacheEnabled="false"
but it always uses local cache-I cannot turn it off.
other config
localCacheEnabled= false - this doenn't turn local cache off either.
HOWEVER
<add key="UseDataCacheClient" value="true"/>
If I go back to and use DataCacheClient config, which I do not want to do, I am able to turn off local cache in that config.
Tutte le risposte
-
giovedì 24 maggio 2012 18:58
I am assuming you have already referred to msdn documentation on how to enable local cache - http://msdn.microsoft.com/en-us/library/ee790880(v=azure.10).aspx
Can you recheck your config to make sure you are not missing anything mentioned in the msdn doc.
Just a quick check, which version of appfabric cache are you using V1.0 or V1.1?
Thanks!
-
giovedì 24 maggio 2012 20:01
Yes, I referred to this documentation.
We are on version 1.0.
Thanks
-
mercoledì 6 giugno 2012 10:29
I don't think i know of any configuration exposed by Appfabric caching named "useDataCacheClientConfigruation". It must be some custom configuration element.
And you can always over-ride cache client properties specified in configuration file programatically. Please check that you are not doing in your code.
if it still doesn't work, It will be great if you could share the complete <dataCacheClient/s> section, as well as DataCacheFactory initialization code here ?
MSFT

