First, the preliminary preparation Redis is an open source, using the ANSI C language, support network, can be based on memory and persistent log-type, Key-value database. The emergence of Redis, to a large extent, compensates for the lack of memcached such key/value storage, in some cases can be a good complement to the relational database. This article focuses on how to write a Redis distributed cache program using the C # language. First, you need to download the latest 32/64-bit installation from GitHub (), select 32-bit or 64-bit according to the actual situation of your machine, for example: My machine is 64-bit Win7, then copy all files under 64bit to the D-packing directory in the new folder Redis,
Next we need to create a new Redis test demo in VS and add a Redis package to it.
Now that the preparation for Redis distributed programming has been completed, the following sample demo is available:
C # Redis Combat (i)