Using Redis Cache in Azure
Redis is an open source, high-performance data store written in ANSI C. As its name stands for Remote Dictionary Server, it is a key-value data store with optional durability. Since its wide adoption in 2010, it became one of the most popular in-memory cache and also NoSQL data store. Today, there are Redis clients for almost every popular language used by developers around the world (an updated list is available at http://redis.io/clients), making it a good choice for heterogeneous systems as well.
Microsoft decided to add support for the Redis software through Azure, offering a fully managed Redis service of the same flavor as every other Azure building block. At the beginning of 2014, a new Azure Portal rose at https://portal.azure.com. Here, there is the support for this new emerging cache endpoint.
Redis service is a complex software with many features and explaining them is out of the scope of the book. In this recipe, however, we use a .NET, community-driven...