Soenneker.Redis.Client.Server
4.0.2226
Prefix Reserved
See the version list below for details.
dotnet add package Soenneker.Redis.Client.Server --version 4.0.2226
NuGet\Install-Package Soenneker.Redis.Client.Server -Version 4.0.2226
<PackageReference Include="Soenneker.Redis.Client.Server" Version="4.0.2226" />
<PackageVersion Include="Soenneker.Redis.Client.Server" Version="4.0.2226" />
<PackageReference Include="Soenneker.Redis.Client.Server" />
paket add Soenneker.Redis.Client.Server --version 4.0.2226
#r "nuget: Soenneker.Redis.Client.Server, 4.0.2226"
#:package Soenneker.Redis.Client.Server@4.0.2226
#addin nuget:?package=Soenneker.Redis.Client.Server&version=4.0.2226
#tool nuget:?package=Soenneker.Redis.Client.Server&version=4.0.2226
Soenneker.Redis.Client.Server
Provides cached StackExchange.Redis IServer instances backed by the shared Soenneker.Redis.Client multiplexer.
Installation
dotnet add package Soenneker.Redis.Client.Server
Registration and use
The default connection uses Azure:Redis:ConnectionString; see Soenneker.Redis.Client for the configuration shape.
using Microsoft.Extensions.DependencyInjection;
using Soenneker.Redis.Client.Server.Abstract;
using Soenneker.Redis.Client.Server.Registrars;
using StackExchange.Redis;
services.AddRedisServerClientAsSingleton();
IRedisServerClient serverClient = serviceProvider.GetRequiredService<IRedisServerClient>();
IServer server = await serverClient.Get(cancellationToken);
ServerCounters counters = await server.GetCountersAsync();
Use Get(connectionString, cancellationToken) to maintain a separate cached server for another Redis connection. The selected server is the first endpoint reported by that connection's multiplexer.
The scoped registration intentionally keeps IRedisClient singleton while making only the IRedisServerClient wrapper scoped. Disposing the scope releases the wrapper cache without destroying the shared multiplexer.
The backing Soenneker Redis client enables StackExchange.Redis administrative commands. Restrict the configured credentials and network access to the server operations the application is allowed to perform.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Soenneker.Redis.Client (>= 4.0.2303)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Soenneker.Redis.Client.Server:
| Package | Downloads |
|---|---|
|
Soenneker.Redis.Util.Server
A utility library that allows for Redis Server operations |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.2227 | 0 | 8/31/2026 |
| 4.0.2226 | 34 | 8/30/2026 |
| 4.0.2225 | 36 | 8/30/2026 |
| 4.0.2224 | 38 | 8/30/2026 |
| 4.0.2223 | 83 | 8/30/2026 |
| 4.0.2222 | 74 | 8/30/2026 |
| 4.0.2221 | 42 | 8/30/2026 |
| 4.0.2220 | 45 | 8/30/2026 |
| 4.0.2219 | 35 | 8/29/2026 |
| 4.0.2218 | 55 | 8/29/2026 |
| 4.0.2217 | 42 | 8/29/2026 |
| 4.0.2216 | 256 | 8/26/2026 |
| 4.0.2215 | 126 | 8/26/2026 |
| 4.0.2214 | 119 | 8/26/2026 |
| 4.0.2213 | 166 | 8/22/2026 |
| 4.0.2212 | 333 | 8/21/2026 |
| 4.0.2211 | 100 | 8/21/2026 |
| 4.0.2210 | 515 | 8/18/2026 |
| 4.0.2209 | 469 | 8/13/2026 |
| 4.0.2208 | 86 | 8/13/2026 |
Update dependency Soenneker.Redis.Client to 4.0.2303 (#2917)