Neon.SignalR 4.0.13-preview.8

This is a prerelease version of Neon.SignalR.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Neon.SignalR --version 4.0.13-preview.8                
NuGet\Install-Package Neon.SignalR -Version 4.0.13-preview.8                
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="Neon.SignalR" Version="4.0.13-preview.8" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Neon.SignalR --version 4.0.13-preview.8                
#r "nuget: Neon.SignalR, 4.0.13-preview.8"                
#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.
// Install Neon.SignalR as a Cake Addin
#addin nuget:?package=Neon.SignalR&version=4.0.13-preview.8&prerelease

// Install Neon.SignalR as a Cake Tool
#tool nuget:?package=Neon.SignalR&version=4.0.13-preview.8&prerelease                

Introduction

This package contains some useful abstractions for SignalR services.

SignalR Proxy

The SignalR Proxy enables sticky sessions for SignalR clients. It removes the need for a load balancer in front of your service. The proxy is a middleware that intercepts all requests to the SignalR hub and redirects them to the correct instance. This works by storing the upstream host in a cookie, allowing the backend service to be scaled up/down without causing clients to be disconnected which would happen with a hashing load balancer.

For this to work, the PeerAddress must be an SRV record. In Kubernetes this can be achieved by using a headless service.

Configuration

builder.Services.AddSignalrProxy(options =>
{
    options.PeerAddress = "my-headless-service.ns.svc.cluster.local";
    options.Port        = PORT;
});

app.UseSignalrProxy();

NATS backplane

The NATS bakplane enables a distributed SignalR service, using NATS as the message broker.

Configuration

builder.Services.AddSignalR()
    .AddNats(options =>
    {
        options.Servers = new string[] { "nats.ns.svc.cluster.local" };
    });
Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
4.0.13-preview.11 65 8/9/2024
4.0.13-preview.10 67 8/9/2024
4.0.13-preview.9 59 8/9/2024
4.0.13-preview.8 62 8/9/2024
4.0.13-preview.3 39 8/1/2024
4.0.12 53 7/30/2024
4.0.11-preview.6 49 7/30/2024
4.0.11-preview.4 70 7/3/2024
4.0.11-preview.3 55 6/15/2024
4.0.11-preview.2 76 6/7/2024
4.0.11-preview.1 54 6/6/2024
4.0.11-preview.0 62 6/3/2024
4.0.10 136 4/25/2024
4.0.10-preview.0 70 4/25/2024
4.0.9 101 4/25/2024
4.0.8 117 3/29/2024
4.0.7 109 3/22/2024
4.0.6 114 3/19/2024
4.0.5 116 3/17/2024
4.0.4 140 2/24/2024
4.0.4-rc.12 72 2/24/2024
4.0.4-rc.11 74 2/23/2024
4.0.4-rc.10 69 2/22/2024
4.0.4-rc.8 68 2/21/2024
4.0.4-rc.7 60 2/21/2024
4.0.4-rc.6 65 2/21/2024
4.0.4-rc.5 62 2/21/2024
4.0.4-rc.4 66 2/21/2024
4.0.4-rc.2 61 2/20/2024
4.0.4-rc.1 65 2/16/2024
4.0.3 128 2/15/2024
4.0.3-rc.2 59 2/15/2024
4.0.3-rc.1 61 2/15/2024
4.0.2 94 2/15/2024
4.0.1 138 2/14/2024
4.0.0 141 2/8/2024
4.0.0-rc.17 64 2/7/2024
4.0.0-rc.16 66 2/3/2024
4.0.0-rc.15 68 2/2/2024
4.0.0-rc.14 65 1/24/2024
4.0.0-rc.13 52 1/24/2024
4.0.0-rc.12 60 1/24/2024
4.0.0-rc.11 67 1/24/2024
4.0.0-rc.10 63 1/24/2024
4.0.0-rc.8 71 1/23/2024
4.0.0-rc.7 67 1/20/2024