Sylin.Koan.Redis 0.20.4

dotnet add package Sylin.Koan.Redis --version 0.20.4
                    
NuGet\Install-Package Sylin.Koan.Redis -Version 0.20.4
                    
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="Sylin.Koan.Redis" Version="0.20.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Sylin.Koan.Redis" Version="0.20.4" />
                    
Directory.Packages.props
<PackageReference Include="Sylin.Koan.Redis" />
                    
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 Sylin.Koan.Redis --version 0.20.4
                    
#r "nuget: Sylin.Koan.Redis, 0.20.4"
                    
#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 Sylin.Koan.Redis@0.20.4
                    
#: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=Sylin.Koan.Redis&version=0.20.4
                    
Install as a Cake Addin
#tool nuget:?package=Sylin.Koan.Redis&version=0.20.4
                    
Install as a Cake Tool

Sylin.Koan.Redis

Supported shared Redis backend lifecycle for Koan adapters.

Install

Application developers normally install a semantic adapter instead of this package directly:

dotnet add package Sylin.Koan.Data.Connector.Redis
# and/or
dotnet add package Sylin.Koan.Cache.Adapter.Redis

Module authors building a Redis-backed capability can reference the backend directly:

dotnet add package Sylin.Koan.Redis

Meaningful result

Keep builder.Services.AddKoan() and configure the common endpoint once when discovery is not appropriate:

{
  "ConnectionStrings": {
    "Redis": "localhost:6379"
  }
}

Referencing either adapter brings this backend transitively. Referencing both still creates one backend module and one default IConnectionMultiplexer for the host. Cache and Data retain their own semantic options and health decisions.

Automatic discovery uses local/container/Aspire conventions. Koan:Redis:DisableAutoDetection disables probing and uses the environment-appropriate default endpoint.

Guarantees and limits

  • This is the functional supported backend; AddKoan() activates it when a functional Redis adapter brings it into the application.
  • One host-owned connection is shared for each exact normalized Redis connection string.
  • ConnectionStrings:Redis is the canonical default endpoint; adapter-specific settings do not duplicate backend ownership.
  • Referencing this functional package activates Redis discovery and lifecycle through AddKoan(); referencing only Sylin.Koan.Redis.Abstractions does not.
  • The backend owns connectivity, not Cache or Data semantics. Each consuming adapter still owns its database, routing, readiness, and capability decisions.
  • Automatic discovery selects an endpoint; it does not provision Redis. Use Aspire, Compose, Docker, a managed service, or another standard topology owner to run it.
  • A malformed or unavailable selected endpoint fails correctively at connection use; the backend does not silently substitute another service.

See TECHNICAL.md for resolution order, ownership, and failure behavior.

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 Sylin.Koan.Redis:

Package Downloads
Sylin.Koan.Data.Connector.Redis

Redis keyed Entity persistence for Koan with native TTL, bounded managed sets, compact JSON mapping, read-only Functions, and shared connection ownership.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.20.4 74 7/30/2026
0.20.3 107 7/23/2026
0.20.1 106 7/22/2026
0.20.0 146 7/22/2026