Orleans.Lattice.Apps 10.5.0

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

Orleans.Lattice.Apps

The engine for installable Lattice apps: the manifest contract, the app registry, the role-to-rule compiler, the in-image app source, the activation pipeline and the change-feed subscription runtime. Register it on the silo with AddLatticeApps() after AddLattice(...), and make each app shipped in the image installable with AddLatticeApp(slug, assembly, manifestResourceName). Installing and enabling an app is an operator action, normally through Orleans.Lattice.Api.Apps; activation also needs membership and authorization and fails closed without them.

JSON is canonical: a manifest can be inspected through AppManifestParser.Parse before loading app code. AppManifestResources.Load reads a named embedded resource from an already available assembly without depending on the package's filesystem layout. Neither entry point invokes app code, installs an app, or registers services. Descriptions expose ManifestDigest; send it as ExpectedManifestDigest on an install to refuse a manifest that changed after review.

Manifests declare identity, trees, flat membership-group roles, optional replication intent and schema-family bindings, subscriptions, MCP tools, and optional presentation metadata and an untrusted UI bundle. Parsing and validation return AppManifestResult with path-addressed errors; invalid content never produces a usable manifest. Missing resources also return an error. Null assembly/stream arguments are programming errors.

AppManifestResources.GetJsonSchema exposes the bundled JSON Schema (also packed under schema/). The parser checks JSON shape, rejects unknown and duplicate properties, then checks semantic constraints such as unique names, known operation bits, and references to declared trees. Schema-family bindings are declarations only: they do not run migrations or validate stored values.

Scope templates contain a local tree name and an optional other-app slug. Omitting the slug means the manifest's own app. A compiler composes these as a/{app}/{tree} before tenant composition unless the declaration adopts a legacy physical tree through AdoptedTreeId; no arbitrary path interpolation or role inheritance is supported. A declaration is a request, not authorization: provenance is descriptive, and cross-app access still requires operator consent. JSON operations are readable name arrays, such as ["Read", "RangeRead"], not numbers. Unknown, repeated, composite and None names are rejected. Scopeless Telemetry and AppInstall do not belong in a tree-scoped role. Tree-scoped administration, backup, restore, schema, replication and lifecycle requests remain explicit and require the corresponding installation ceiling.

AppRoleBinding.Create binds a role to a membership group id. AppCapabilityCeiling.Structural records allowed operations with no exception scopes. The ceiling is pinned per app id and version; the compiler checks every rule against it. ApprovedExceptionScopes records explicit operator approval outside the app namespace, including cross-app or adopted legacy trees. Adoption fails activation without that approval; the ceiling and binding records themselves grant nothing. Adopted ids are unique within a manifest, cannot use the a/, _lattice_, sys-, or t/ prefixes or be the cluster-wide sentinel *, and are at most 1024 characters with no surrounding white space or control characters. No exception can approve a scope on * or on a _lattice_, sys- or t/ tree, and manifests are size-bounded (1 MiB, 256 entries per section) before any per-entry work.

Each tree an app declares, structural or adopted, belongs to exactly one install: ownership is claimed at install in the reserved sys-app-trees ledger, re-verified at activation, and released on uninstall (a structural claim is held until its tree is purged). An install is refused for a tree another install owns, a pre-existing structural tree no app owns, a derived resize, restore or remediation copy, or another tree's alias target. Replication intent is enrolled per install in the runtime replication configuration as the app is activated.

Tree sizing fields are optional pins; omission inherits host defaults. An install applies them only when it first registers a tree, so a tree that already exists keeps its structure. VirtualShardCount cannot change in an upgrade; pass the previous manifest to AppManifestValidator.Validate to check this. An ILattice.ResizeAsync carries the declared slot count over to the resized copy, and an ILattice.ReshardAsync keeps it and cannot target more shards than it. Rebuildable marks a tree whose contents can be re-derived; no backup or restore path in this version acts on it. MCP tool names are app-local and become {slug}_{name} at dispatch.

Part of Orleans.Lattice. See the Lattice Apps documentation for the manifest reference, activation and the authoring guide.

Documentation | Repository

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 (2)

Showing the top 2 NuGet packages that depend on Orleans.Lattice.Apps:

Package Downloads
Orleans.Lattice.Api.Mcp.Apps

Installable-app tool surface for Orleans.Lattice.Api.Mcp. Exposes every enabled app's MCP tools on the single Lattice MCP endpoint under a mandatory {slug}_{tool} namespace, gated per tool by whether the caller is a member of a group the install binds to the tool's declared role, unless the shared access gate explicitly denies it. Reuses the Api.Mcp credential bridge, default-deny authorizer, per-session tool collection and fail-closed discovery. Registered with AddAppMcpTools() alongside AddLatticeMcp(...).

Orleans.Lattice.Api.Apps

Transport-agnostic app lifecycle, consent, catalogue, workspace, role-binding, and bridge facades for Orleans.Lattice. Composes the app registry, source seam and activation pipeline behind fail-closed surfaces that authorize with AppInstall or the caller's app-owned role grants, apply the caller's active tenant at entry, and never disclose composed physical tree ids. Adds no transport behaviour of its own.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
10.5.0 58 12/4/2026
10.4.0 126 11/21/2026
10.3.0 121 11/8/2026
10.2.0 133 10/28/2026
10.1.0 133 10/13/2026
10.0.0 133 10/8/2026