Soenneker.Redis.Client.Server 4.0.2252

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Soenneker.Redis.Client.Server --version 4.0.2252
                    
NuGet\Install-Package Soenneker.Redis.Client.Server -Version 4.0.2252
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Soenneker.Redis.Client.Server" Version="4.0.2252" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Redis.Client.Server" Version="4.0.2252" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Redis.Client.Server" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Soenneker.Redis.Client.Server --version 4.0.2252
                    
#r "nuget: Soenneker.Redis.Client.Server, 4.0.2252"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Soenneker.Redis.Client.Server@4.0.2252
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Soenneker.Redis.Client.Server&version=4.0.2252
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Redis.Client.Server&version=4.0.2252
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.2265 38 9/18/2026
4.0.2264 89 9/17/2026
4.0.2263 88 9/17/2026
4.0.2262 98 9/16/2026
4.0.2261 105 9/16/2026
4.0.2260 114 9/16/2026
4.0.2259 92 9/16/2026
4.0.2258 72 9/16/2026
4.0.2257 77 9/15/2026
4.0.2255 289 9/13/2026
4.0.2254 92 9/13/2026
4.0.2252 161 9/13/2026
4.0.2251 136 9/13/2026
4.0.2250 189 9/12/2026
4.0.2249 131 9/12/2026
4.0.2248 223 9/10/2026
4.0.2247 174 9/9/2026
4.0.2246 95 9/9/2026
4.0.2245 205 9/9/2026
4.0.2244 164 9/8/2026
Loading failed

Update dependency Soenneker.Redis.Client to 4.0.2331 (#2960)