Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 11 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,15 @@ This project builds on [StackExchange.Redis](https://github.com/StackExchange/St

## How do I Redis?

[Learn for free at Redis University](https://university.redis.com/)
[Learn for free at Redis University](https://university.redis.io/academy/)

[Build faster with the Redis Launchpad](https://launchpad.redis.com/)
[Try the Redis Cloud](https://redis.io/try-free/)

[Try the Redis Cloud](https://redis.com/try-free/)
[Dive in developer tutorials](https://redis.io/learn/)

[Dive in developer tutorials](https://developer.redis.com/)
[Join the Redis community](https://redis.io/community/)

[Join the Redis community](https://redis.com/community/)

[Work at Redis](https://redis.com/company/careers/jobs/)
[Work at Redis](https://redis.io/careers/jobs/)

## API

Expand Down Expand Up @@ -58,18 +56,20 @@ dotnet add package NRedisStack

### Supported Redis versions

The most recent version of this library supports Redis version [6.2](https://github.com/redis/redis/blob/6.2/00-RELEASENOTES), [7.2](https://github.com/redis/redis/blob/7.2/00-RELEASENOTES).
The most recent version of this library supports Redis version
[7.2](https://github.com/redis/redis/blob/7.2/00-RELEASENOTES),
[7.4](https://github.com/redis/redis/blob/7.4/00-RELEASENOTES),
[8.0](https://github.com/redis/redis/blob/8.0/00-RELEASENOTES) and
[8.2](https://github.com/redis/redis/blob/8.2/00-RELEASENOTES).

### Starting Redis

Before writing any code, you'll need a Redis instance with the appropriate Redis modules. The quickest way to get this is with Docker:

```sh
docker run -p 6379:6379 --name redis-stack redis/redis-stack:latest
docker run -p 6379:6379 --name redis redis:latest
```

This launches [Redis Stack](https://redis.io/docs/stack/), an extension of Redis that adds modern data structures to Redis.

Now, you need to connect to Redis, exactly the same way you do it in [StackExchange.Redis](https://github.com/StackExchange/StackExchange.Redis):
```csharp
using NRedisStack;
Expand All @@ -89,7 +89,6 @@ TdigestCommands tdigest = db.TDIGEST();
SearchCommands ft = db.FT();
JsonCommands json = db.JSON();
TimeSeriesCommands ts = db.TS();
GraphCommands graph = db.GRAPH(); // If Redis version is less than 7.2 and NRedisStack version is less than 0.13.x
```
Then, that variable will allow you to call all the commands of that module.

Expand Down
Loading