Orleans.Lattice.Api.State.Grpc 9.9.0

dotnet add package Orleans.Lattice.Api.State.Grpc --version 9.9.0
                    
NuGet\Install-Package Orleans.Lattice.Api.State.Grpc -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.State.Grpc" 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.State.Grpc" Version="9.9.0" />
                    
Directory.Packages.props
<PackageReference Include="Orleans.Lattice.Api.State.Grpc" />
                    
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.State.Grpc --version 9.9.0
                    
#r "nuget: Orleans.Lattice.Api.State.Grpc, 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.State.Grpc@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.State.Grpc&version=9.9.0
                    
Install as a Cake Addin
#tool nuget:?package=Orleans.Lattice.Api.State.Grpc&version=9.9.0
                    
Install as a Cake Tool

Orleans.Lattice.Api.State.Grpc

gRPC transport binding for Orleans.Lattice.Api.State - the optional read-only cluster-state API for Orleans.Lattice.

It exposes the transport-agnostic state facade as seventeen unary RPCs and two server-streaming RPCs over a code-first, Orleans-serialized contract (no .proto / protoc toolchain), reusing the same versioned serialization the rest of Lattice uses:

  • ListTrees / ListViews / ListTagIndexes / ListTagValues / ListCoveredTrees / ListIndexTags / ScanTagMembers - paged discovery of trees, materialised views, and tag indexes.
  • GetTreeStructure - the bounded, depth-limited structural node graph of a tree.
  • ScanEntries / CancelScan - key-ordered, paged entry inspection (snapshot-isolated by default, or a cheaper live cursor), and early release of an abandoned scan cursor.
  • GetEntry / GetEntryHistory - the full record for a single key, and its change-history timeline.
  • GetDeadLetterCount / ListDeadLetters - read-only strict-mode dead-letter inspection.
  • GetMetricsSnapshot / GetClusterInfo - a one-shot metrics snapshot and the connected cluster's identity.
  • ObserveChanges / ObserveMetrics (server-streaming) - a live mutation feed and a delta-coalesced live metrics feed.
  • GetAuthScheme - the unauthenticated auth-scheme advertisement.

Usage

Co-host the binding with the facade on a silo, then map the endpoints:

builder.Services.AddLatticeStateApiGrpc();
builder.Services.AddSingleton<ILatticeStateApiAuthorizer, MyTokenAuthorizer>();

// ... in the endpoint composition:
app.MapLatticeStateApiGrpc();

Security

The surface exposes potentially sensitive structural and entry-level data, so it ships default-deny: with the built-in DenyAllStateApiAuthorizer and LatticeStateApiGrpcOptions.RequireAuthorization = true, every protected call (all but the unauthenticated GetAuthScheme advertisement) is rejected with PERMISSION_DENIED until a host opts in - either by registering a permissive ILatticeStateApiAuthorizer (the bundled AllowAllStateApiAuthorizer for trusted-network deployments, or a custom token/secret check) or by setting RequireAuthorization = false when an outer authentication boundary already guards the endpoint.

Contract versioning

The wire messages are Orleans-serialized records with additive-only fields. New fields get new ids; aliases and field numbers are never renumbered, so a newer response decodes cleanly under an older client and vice-versa.

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.Api.State.Grpc:

Package Downloads
Orleans.Lattice.Api.Mcp

Model Context Protocol (MCP) server binding for Orleans.Lattice. Exposes the cluster's transport-agnostic API facades (state, data, backup, auth, replication, treeadmin, and tenantadmin) as MCP tools over the official ModelContextProtocol SDK, with permission-aware discovery, an authenticated fail-closed credential bridge, and default-deny authorization. Per-facade modules are opt-in via Add*Tools helpers, including AddTenantAdminTools, and out-of-silo hosting is available via AddLatticeMcpRemote(...).

Orleans.Lattice.Explorer.Core

Head-agnostic core of the Orleans.Lattice Explorer: the read-only state-API connection seam, configuration store, session, capability model, and the catalog / metrics / topology / data / dead-letter / history navigation services shared by every explorer head. Its only cluster dependency is the public read-only state-API gRPC client.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
9.9.0 51 10/2/2026
9.8.0 132 9/26/2026
9.7.0 124 9/21/2026
9.6.1 332 9/9/2026
9.6.0 134 9/5/2026
9.5.0 133 9/2/2026
9.4.0 506 8/29/2026
9.3.0 220 8/25/2026
9.2.0 227 8/23/2026
9.1.0 247 8/20/2026
9.0.0 245 8/14/2026
8.0.1 304 7/24/2026
8.0.0 488 7/20/2026
7.9.2 112 7/17/2026
7.9.0 123 7/9/2026
7.8.2 126 7/7/2026
7.8.0 123 7/4/2026
7.7.0 130 7/1/2026