/redis-streams-with-dotnet

Example applications use Redis Streams with various .NET libraries

Primary LanguageC#

Redis Streams With .NET Examples

This repo contains three example projects using Redis streams with .NET

These projects are meant to provide basica example of preforming reads and writes to a Redis Stream using the various libraries, as well as things like creating consuemr groups and acknowleding messages from redis.

Running Redis

There are many ways to run Redis, if you are looking to get into production a good option might be to use the Redis Cloud, however for development it may just be easiest to use docker:

docker run -p 6379:6379

Running the apps

Each of the apps can be run using the dotnet run command, you can either change directories into the directory where the app is and run dotnet run or you can use the --project option to specify which project you want to run, e.g.

dotnet run --project .\RedisStreamsStackExchange\RedisStreamsStackExchange.csproj