I am deploying my projects in Azure since this will be deploy in multiple hosts, I want to change the values present in Session to Redis Cache. For storing single values its quite easy. But i'm not sure how to store a list or table having 5000 values. Please suggest me the best way. Thanks
I am using ASP.net application for storing list values in Redis cache. For storing Strings I am using below step.
IDatabase rediscache = connection.GetDatabase();
rediscache.StringSet(key, JsonConvert.SerializeObject(value.ToString()));
In the same way I need to store a list in rediscache. I am using StackExchange.Redis for storing in Azure. Which can be found at: https://github.com/StackExchange/StackExchange.Redis