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, so now that the preparation for Redis distributed programming has been completed, we can get the following example demo: If you want to reprint, please specify the source, this series of examples of the program
C # Redis Combat (i)