Preliminary discussion on the use of redis+net in Windows environment

Source: Internet
Author: User
Tags download redis redis cluster

Redis official website address: Https://redis.io/;Redis The Windows environment is not supported for the time being, but Microsoft Open Tech Group has developed a version that runs under the Windows platform.

 Redis is an open source (BSD licensed), IN-MEMORY data structure store, used as a database, cache and message broker. IT supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs an D Geospatial indexes with radius queries. Redis has built-in replication, Lua scripting, LRU eviction, transactions and different levels of on-disk persistence, and Provides high availability via Redis Sentinel and automatic partitioning with Redis Cluster.

First step: Download Redis (Windows version), Https://github.com/MSOpenTech/redis;

Step Two: Open a compiled project to build the executable file

Step three: Start Redis

Copy the resulting executable file and the first step down configuration file redis.conf to a custom directory, execute Redis-server.exe, and start the Redis service;

Note that in order to read the configuration file, Redis must is started with the file path as first argument!

Fourth step: Download the client Servicestack.redis under C #, open Source address: Https://github.com/ServiceStack/ServiceStack.Redis

can be downloaded and installed with NuGet

Fifth step: Using Redis

Preliminary discussion on the use of redis+net in Windows environment

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.