Scry.Server.SignalR 0.5.0

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

Scry.Server.SignalR

Serves Scry queries over a SignalR hub, alongside the HTTP endpoints or instead of them.

The reason to use it is live queries. Over HTTP, each one is a request held open. HTTP/2 multiplexes those requests, but HTTP/1.1 limits them to six per origin. Over a hub, every live query a page has open shares one connection. A host that already routes everything through SignalR, or scales out through Azure SignalR Service, can serve Scry the same way.

builder.Services.AddSignalR();
builder.Services.AddScry<SampleContext>(
    _ =>
    {
        _.MaxSubscriptions = 1000;
    });

app.MapScryHub("/api/query-hub").RequireAuthorization();

Every rule a query is subject to still applies, because the same ScryProcessor handles it: validation, the allow-list, row policies, auditing, and the limits on how many live queries may be open. MapScryHub runs the same startup checks as MapScry.

Requests and answers cross the hub as strings holding the same JSON the HTTP endpoints use, so Scry's own reader parses them, never the hub's serializer. The client side is Scry.Client.SignalR.

Docs: Live queries

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
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
0.5.0 51 12/3/2026
0.4.0 102 11/20/2026
0.3.0 90 11/16/2026
0.2.0 98 11/7/2026
0.1.0 95 11/3/2026
0.1.0-beta.15 63 10/28/2026
0.1.0-beta.14 68 10/21/2026
0.1.0-beta.13 68 10/7/2026
0.1.0-beta.12 74 10/1/2026
0.1.0-beta.11 73 9/30/2026
0.1.0-beta.10 75 9/24/2026