A .NET RESP Client
https://respire.tomlonghurst.dev/ β// momentum
// why it's here
- Active: last commit today
- Built almost entirely by one person
- Health 99/100 with only 21 stars
- Accepts sponsorship (github)
// how to help
// readme
Respire
Redis for .NET, without the ceremony. Plain C# types in, plain C# types out, and the hard parts of Redis (caching, locks, queues, rate limits) are one call each.
Works with Redis, Valkey, KeyDB, and other RESP-compatible servers, on .NET 10 and .NET 11.
Documentation Β· Quick start Β· Performance Β· Coming from StackExchange.Redis?
Quick start
dotnet add package Respire
await using var redis = await RespireClient.ConnectAsync("redis://localhost");
await redis.SetAsync("user:1", new User("Ada", 36), expiry: TimeSpan.FromMinutes(5));
User? user = await redis.GetAsync<User>("user:1");
Thatβs the whole setup. No multiplexer to configure, no RedisValue to unwrap. Create one
client at startup and share it. Concurrent calls are pipelined automatically, and the client
reconnects on its own. In ASP.NET Core, use services.AddRespire(connectionString) from
Respire.DependencyInjection.