I try to create CacheClient object using StackExchange.Redis.Extension library. So far I know that I need two object for initialization :
_cacheClient = new StackExchangeRedisCacheClient(Serializer,ConnectionString)
Serializer and ConnectionString .
I decide to use ConfigurationOptions.ToString()
to retrive connectionString for redis cache client. My problem is that I am not sure what value should be set in this class ( properties).
I have following set of data from Azure cloud :
<add key="RedisHostName" value="myapp.cache.windows.net" />
<add key="RedisPrimary" value="UW/ESgtf[...]RZYS="/>
Question : How to mapp those two items to ConfigurationOptions class to initialize cache client object.