Reimaginate.RedisClient
1.3.0-rc.1
dotnet add package Reimaginate.RedisClient --version 1.3.0-rc.1
NuGet\Install-Package Reimaginate.RedisClient -Version 1.3.0-rc.1
<PackageReference Include="Reimaginate.RedisClient" Version="1.3.0-rc.1" />
<PackageVersion Include="Reimaginate.RedisClient" Version="1.3.0-rc.1" />
<PackageReference Include="Reimaginate.RedisClient" />
paket add Reimaginate.RedisClient --version 1.3.0-rc.1
#r "nuget: Reimaginate.RedisClient, 1.3.0-rc.1"
#:package Reimaginate.RedisClient@1.3.0-rc.1
#addin nuget:?package=Reimaginate.RedisClient&version=1.3.0-rc.1&prerelease
#tool nuget:?package=Reimaginate.RedisClient&version=1.3.0-rc.1&prerelease
RedisClient
Reimaginate.RedisClient provides a small dependency injection wrapper around StackExchange.Redis for Reimaginate applications. It centralizes Redis connection configuration and registers an IRedisClient singleton that exposes the underlying ConnectionMultiplexer.
Install
dotnet add package Reimaginate.RedisClient
Usage
Register the client with explicit options:
services.AddRedisClient(options =>
{
options.ConnString = "localhost:6379";
options.ConnectTimeout = 5000;
options.SyncTimeout = 5000;
});
Or bind options from configuration:
services.AddRedisClient(options => options.WithAppSettingsConfig(configuration, "RedisClient"));
Configuration example:
{
"RedisClient": {
"ConnString": "localhost:6379",
"Protocol": "Tls12",
"ConnectTimeout": 5000,
"SyncTimeout": 5000
}
}
Consume the registered client:
var redisClient = serviceProvider.GetRequiredService<IRedisClient>();
var database = redisClient.Connection.GetDatabase();
await database.StringSetAsync("key", "value");
Release
NuGet packaging and publishing are handled through explicit release versions. See docs/nuget-release-automation.md for the local and GitHub Actions release flow.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
-
net8.0
- Microsoft.Extensions.Configuration (>= 10.0.8)
- Microsoft.Extensions.Configuration.Binder (>= 10.0.8)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.8)
- StackExchange.Redis (>= 2.13.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Reimaginate.RedisClient:
| Package | Downloads |
|---|---|
|
Reimaginate.ProcessingLockService
Runtime processing lock service implementation, dependency injection registration, and in-memory or Redis-backed repositories for coordinating exclusive processing work. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.3.0-rc.1 | 581 | 5/19/2026 |
| 1.1.1 | 1,371 | 5/16/2025 |
| 1.1.0 | 4,306 | 3/12/2024 |
| 1.0.0-preview.5 | 629 | 5/30/2023 |
| 1.0.0-preview.4 | 201 | 5/26/2023 |
| 1.0.0-preview.3 | 204 | 5/26/2023 |
| 1.0.0-preview.2 | 195 | 5/26/2023 |
| 1.0.0-preview.1 | 198 | 5/25/2023 |