Scry.Server
0.1.0-beta.1
dotnet add package Scry.Server --version 0.1.0-beta.1
NuGet\Install-Package Scry.Server -Version 0.1.0-beta.1
<PackageReference Include="Scry.Server" Version="0.1.0-beta.1" />
<PackageVersion Include="Scry.Server" Version="0.1.0-beta.1" />
<PackageReference Include="Scry.Server" />
paket add Scry.Server --version 0.1.0-beta.1
#r "nuget: Scry.Server, 0.1.0-beta.1"
#:package Scry.Server@0.1.0-beta.1
#addin nuget:?package=Scry.Server&version=0.1.0-beta.1&prerelease
#tool nuget:?package=Scry.Server&version=0.1.0-beta.1&prerelease
Scry.Server
Server-side execution for Scry. Validates an incoming
query AST against the allow-list, rebinds it to the real EF Core entity types, applies row-level
policies, executes against a DbContext, and returns projected rows.
<a id='snippet-serverRegistration'></a>
builder.Services
.AddScry<SampleContext>(
_ =>
{
// Holiday is a [QueryablePoco]: it has no table, so the server supplies its rows. Every
// [QueryablePoco] type must be registered here or AddScry throws at startup.
_.AddPocoSource(_ => Holiday.Seed());
_.MaxPageSize = 200;
});
<sup><a href='/samples/Sample.Server/Program.cs#L13-L23' title='Snippet source file'>snippet source</a> | <a href='#snippet-serverRegistration' title='Start of snippet'>anchor</a></sup>
AddPocoSource supplies the rows for a [QueryablePoco] type — see
POCO sources.
<a id='snippet-mapScry'></a>
app.MapScry("/api/query");
<sup><a href='/samples/Sample.Server/Program.cs#L35-L37' title='Snippet source file'>snippet source</a> | <a href='#snippet-mapScry' title='Start of snippet'>anchor</a></sup>
Docs: Server · Row policies · Security model
| Product | Versions 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. |
-
net10.0
- Microsoft.EntityFrameworkCore (>= 10.0.10)
- Scry.Annotations (>= 0.1.0-beta.1)
- Scry.Wire (>= 0.1.0-beta.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Scry.Server:
| Package | Downloads |
|---|---|
|
Scry.Server.Explorer
An opt-in, browser-Roslyn query explorer (GraphiQL-style) for the Scry server API: write LINQ with IntelliSense, inspect the wire request, and run it. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-beta.1 | 30 | 7/26/2026 |