Orleans.Lattice.Api.Schema 9.9.0

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

Orleans.Lattice.Api.Schema

Optional, opt-in schema-management control facade add-on for Orleans.Lattice. Exposes a single transport-agnostic admin surface that drives the Orleans.Lattice.Schema engine - set / clear / inspect enforcement policy, dead-letter inspection, envelope versioning (set / advance / migrate / clear), background remediation, a read-only per-tree compliance audit, and a side-effect-free capability probe - from one place. A sibling package projects this facade onto a code-first gRPC surface.

Design

The facade mirrors the read-only Orleans.Lattice.Api.State and the backup Orleans.Lattice.Api.Backup control facades: the facade is the contract, transports bind over it, and it costs nothing until it is registered.

  • Read-only compliance audit. ScanComplianceAsync streams a tree's current values through its compiled policy and returns per-tree counts of compliant vs non-compliant values, grouped by failure reason. It is a pure read - it never rewrites or dead-letters data - and honours cancellation between values.
  • Bounded-memory enumeration. Dead-letter listing is streamed, so a large strict-mode queue enumerates with bounded memory.
  • Accept-then-poll remediation and migration. ILatticeSchemaOperations starts a remediation, migration or advance-and-migrate and returns a handle at once; poll GetOperationStatusAsync for the phase (dry run, build, cutover) and the values processed, and cancel before cutover with CancelOperationAsync.

Deprecated

RemediateAsync, MigrateToTargetVersionAsync and AdvanceAndMigrateAsync on ILatticeSchemaControl block until the run ends, so a long run is cut off by the caller's timeout. They raise warning LATTICE0002 and will be removed in the next major version; use the ILatticeSchemaOperations start verbs instead.

Security

Every operation authorizes its tree through the same schema access gate the engine uses, before touching the admin plane. A mutation (set / clear policy, version-config change, remediation) authorizes on SchemaAdmin authority; a read (inspect policy / version config / dead letters / remediation status, or the compliance audit) authorizes on ordinary Read authority. A capability probe reports the caller's allowed operation set per tree with no side effects.

  • Opt-in and absent by default. Nothing is registered unless the host calls AddLatticeSchemaApi(), and once added the facade does no background work until a method is called.
  • Must be registered after AddLatticeSchemaEnforcement(...). The call fails fast with an actionable message otherwise. Version operations additionally require AddLatticeSchemaVersioning(...).

Usage

siloBuilder
    .AddLattice(/* ... */)
    .AddLatticeSchemaEnforcement()
    .AddLatticeSchemaApi();

Bind a transport over the facade to drive schema management remotely: the sibling Orleans.Lattice.Api.Schema.Grpc package projects it onto a code-first gRPC surface.

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 Orleans.Lattice.Api.Schema:

Package Downloads
Orleans.Lattice.Api.TreeAdmin

Optional transport-agnostic control facade add-on for Orleans.Lattice whole-tree administration. Presents one discoverable, fail-closed surface for capability probes, shard diagnostics and hotness, tree statistics, storage and WAL usage, tree lifecycle, configuration and aliases, bulk load, resize, reshard, snapshots, restore, WAL placement and moves, view administration, tag-index repair, retention, shard compaction, the orphaned-leaf audit, survey and repair, and schema-capability delegation. Registered separately; adds no transport behaviour of its own.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
9.9.0 56 10/2/2026
9.8.0 118 9/26/2026
9.7.0 107 9/21/2026
9.6.0 372 9/5/2026
9.5.0 128 9/2/2026
9.4.0 136 8/29/2026
9.3.0 117 8/25/2026
9.2.0 126 8/23/2026
9.1.0 124 8/20/2026
9.0.0 133 8/14/2026
8.0.0 108 7/20/2026