Neon.SignalR
4.0.17
dotnet add package Neon.SignalR --version 4.0.17
NuGet\Install-Package Neon.SignalR -Version 4.0.17
<PackageReference Include="Neon.SignalR" Version="4.0.17" />
<PackageVersion Include="Neon.SignalR" Version="4.0.17" />
<PackageReference Include="Neon.SignalR" />
paket add Neon.SignalR --version 4.0.17
#r "nuget: Neon.SignalR, 4.0.17"
#addin nuget:?package=Neon.SignalR&version=4.0.17
#tool nuget:?package=Neon.SignalR&version=4.0.17
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 | 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
- AsyncKeyedLock (>= 7.0.0)
- DnsClient (>= 1.7.0)
- MessagePack (>= 2.5.187)
- Microsoft.AspNetCore.Mvc.NewtonsoftJson (>= 8.0.15)
- Microsoft.AspNetCore.SignalR.Client (>= 8.0.15)
- Microsoft.AspNetCore.SignalR.Protocols.MessagePack (>= 8.0.15)
- Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson (>= 8.0.15)
- Microsoft.Net.Http.Headers (>= 8.0.15)
- NATS.Net (>= 2.3.3)
- Neon.Common (>= 4.0.17)
- Yarp.ReverseProxy (>= 2.1.0)
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.17 | 197 | 4/15/2025 |
4.0.17-preview.0 | 155 | 4/14/2025 |
4.0.16 | 194 | 4/14/2025 |
4.0.15 | 156 | 4/10/2025 |
4.0.14 | 118 | 12/19/2024 |
4.0.13-preview.11 | 79 | 8/9/2024 |
4.0.13-preview.10 | 77 | 8/9/2024 |
4.0.13-preview.9 | 74 | 8/9/2024 |
4.0.13-preview.8 | 74 | 8/9/2024 |
4.0.13-preview.3 | 52 | 8/1/2024 |
4.0.12 | 72 | 7/30/2024 |
4.0.11-preview.6 | 60 | 7/30/2024 |
4.0.11-preview.4 | 83 | 7/3/2024 |
4.0.11-preview.3 | 69 | 6/15/2024 |
4.0.11-preview.2 | 84 | 6/7/2024 |
4.0.11-preview.1 | 64 | 6/6/2024 |
4.0.11-preview.0 | 77 | 6/3/2024 |
4.0.10 | 148 | 4/25/2024 |
4.0.10-preview.0 | 81 | 4/25/2024 |
4.0.9 | 115 | 4/25/2024 |
4.0.8 | 132 | 3/29/2024 |
4.0.7 | 123 | 3/22/2024 |
4.0.6 | 132 | 3/19/2024 |
4.0.5 | 132 | 3/17/2024 |
4.0.4 | 152 | 2/24/2024 |
4.0.4-rc.12 | 81 | 2/24/2024 |
4.0.4-rc.11 | 85 | 2/23/2024 |
4.0.4-rc.10 | 81 | 2/22/2024 |
4.0.4-rc.8 | 82 | 2/21/2024 |
4.0.4-rc.7 | 76 | 2/21/2024 |
4.0.4-rc.6 | 87 | 2/21/2024 |
4.0.4-rc.5 | 80 | 2/21/2024 |
4.0.4-rc.4 | 81 | 2/21/2024 |
4.0.4-rc.2 | 75 | 2/20/2024 |
4.0.4-rc.1 | 80 | 2/16/2024 |
4.0.3 | 147 | 2/15/2024 |
4.0.3-rc.2 | 73 | 2/15/2024 |
4.0.3-rc.1 | 76 | 2/15/2024 |
4.0.2 | 113 | 2/15/2024 |
4.0.1 | 154 | 2/14/2024 |
4.0.0 | 159 | 2/8/2024 |
4.0.0-rc.17 | 75 | 2/7/2024 |
4.0.0-rc.16 | 75 | 2/3/2024 |
4.0.0-rc.15 | 76 | 2/2/2024 |
4.0.0-rc.14 | 79 | 1/24/2024 |
4.0.0-rc.13 | 66 | 1/24/2024 |
4.0.0-rc.12 | 72 | 1/24/2024 |
4.0.0-rc.11 | 80 | 1/24/2024 |
4.0.0-rc.10 | 75 | 1/24/2024 |
4.0.0-rc.8 | 80 | 1/23/2024 |
4.0.0-rc.7 | 76 | 1/20/2024 |