Orleans.Lattice.GrainIndex 9.9.0

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

Orleans.Lattice.GrainIndex

Optional, opt-in typed grain indexing for Orleans.Lattice.

An Orleans grain that holds typed state can be enrolled in a grain index: the grain's projected state is written into a lattice tree owned by this package, so the grains matching a property predicate can be discovered without a scan of the cluster's grain directory or a separate secondary store.

Queries reuse the core server-side predicate surface, so filtering happens in the tree shards rather than by pulling every candidate back to the caller.

  • Declare an index in silo setup with AddGrainIndex<TGrain, TState>(...), naming each projected property with Include, and annotate the grain's persistent state with [Indexed].
  • Query it through IGrainIndexProvider: GetIndex<TGrain, TState>(name) returns an index whose Where(...) plans a query that streams matching grain references, keys, or matches.
  • A durable pending-projection outbox retries a failed index write until it lands, and a reminder-anchored backfill crawl onboards dormant grains from an IGrainKeySource registered with AddGrainIndexKeySource.
  • Startup drift detection rejects (or, when opted in, rebuilds) a declaration change that would invalidate the stored entries, and IGrainIndexAdmin reports status and controls the crawl.

See the grain index documentation.

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

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
9.9.0 77 10/2/2026
9.8.1 79 9/29/2026
9.8.0 89 9/26/2026
9.7.0 86 9/21/2026
9.6.2 103 9/9/2026
9.6.1 96 9/7/2026
9.6.0 98 9/5/2026
9.5.1 91 9/7/2026
9.5.0 109 9/2/2026