Caching preview sounds good, and I am trying to use it, but I am confused on how to use it.
When I had shared caching, I have a dll named Microsoft.ApplicationServer.Caching.Client, the version is 101.0.0.0, and I have the following code in web.config
<configSections>
<!-- required to read the <dataCacheClient> element -->
<section name="dataCacheClient" type="Microsoft.ApplicationServer.Caching.DataCacheClientSection, Microsoft.ApplicationServer.Caching.Core, Culture=neutral, PublicKeyToken=31bf3856ad364e35" allowLocation="true" allowDefinition="Everywhere" />
</configSections>
<dataCacheClient>
<hosts>
<host name="xxx.cache.windows.net" cachePort="22233" />
</hosts>
and use the following code to access it
var dataCacheFactory = new DataCacheFactory();
DataCache dataCache = dataCacheFactory.GetDefaultCache();
value = (string)dataCache.Get(name);
Now I have installed the Caching preview, i have several Microsoft.ApplicationServer.Caching dlls, the version if Microsoft.ApplicationServer.Caching.Client is 1.0.0.0
And seems I need add dataCacheClients config section, which is a pre-defined one.
Anyone can explain this a bit? are they right? and if it is possible to use both shared caching and caching preview together?