1. First, you need to download the Windows version of Redis, address: Https://github.com/MSOpenTech/redis, here you can choose to download the source code after compiling their own, you can directly download the post-release version, I am directly download the post-release version Release version
2. After the download, directly after the decompression, you can directly start the Redis server
3. Then start the client directly:
4. You can then use the relevant commands for Redis.
Note: Since the above operation can only be achieved by local access to the local server, if the Redis server on the remote service side, not local, this time need to modify the configuration redis.conf, bind the server's IP address, so that the remote connection to the Redis server
The IP of the BIND server
(ii),. NET Use of Redis
1. If you need to use Redis in your program, you need support for third-party libraries, Servicestack.redis,: Https://github.com/ServiceStack/ServiceStack.Redis,
2. Download the release version, after extracting, refer to the relevant third-party library as follows:
3. This allows Redis to be operated directly.
New Redisclient ("1**.*.*.*"); Client. Set ("Year" "); string res = client. get<string> ("year"); Response.Write (res);
More usage can be found in other related documents ...
Startup of Redis under Windows