Using Radis Hashes .NET
Redis Hashes are essentially maps between string fields and string values. Here I have published on how to get started using Redis with .NET . Once you have installed StackExchange.Redis and have setup console script as per above link, here are the things to do for using Redis Hashes with .NET. Create a new visual studio console project. Then right click select on Manage Nu-Get packages and select online option and search for “StackExchange” in the search field and install StackExchange.Redis . Now to get connected to Redis and its database here is a snippet. // This should be stored and reused var redis = ConnectionMultiplexer.Connect(“localhost”); // IDatabase is simple object which is cheap to build IDatabase db = redis.GetDatabase(); Lets create a data object. var readObject = new ReadObject(); readObject._id = “3”; readObject.Name =”Ravi”; readObject.Age = “26”; readObject.Address = “Bangalore, India”; Now le...