This is in my web.config of a Azure WCF Service Project.
<dataCacheClient name="default">
<hosts>
<host name="***.cache.windows.net" cachePort="22233" />
</hosts>
<securityProperties mode="Message">
<messageSecurity authorizationInfo="***"></messageSecurity>
</securityProperties>
</dataCacheClient>Here is the use of it in code
string GetCache()
{
DataCacheFactory cacheFactory = new DataCacheFactory();
DataCache cache = cacheFactory.GetDefaultCache();
cache.Put("item", "value");
var r = (string)cache.Get("item");
return r;
}Also this is the last achievement i need to have them all so please help. Thanks so much.