Aspire.Hosting.Orleans
13.6.4
Prefix Reserved
dotnet add package Aspire.Hosting.Orleans --version 13.6.4
NuGet\Install-Package Aspire.Hosting.Orleans -Version 13.6.4
<PackageReference Include="Aspire.Hosting.Orleans" Version="13.6.4" />
<PackageVersion Include="Aspire.Hosting.Orleans" Version="13.6.4" />
<PackageReference Include="Aspire.Hosting.Orleans" />
paket add Aspire.Hosting.Orleans --version 13.6.4
#r "nuget: Aspire.Hosting.Orleans, 13.6.4"
#:package Aspire.Hosting.Orleans@13.6.4
#addin nuget:?package=Aspire.Hosting.Orleans&version=13.6.4
#tool nuget:?package=Aspire.Hosting.Orleans&version=13.6.4
Orleans hosting integration
Use this integration to model, configure, and orchestrate an Orleans cluster in an Aspire solution.
Getting started
Add the integration
From your AppHost directory, add the Aspire.Hosting.Orleans integration with the Aspire CLI:
aspire add Aspire.Hosting.Orleans
Usage example
In the AppHost, add an Orleans cluster resource and reference it from other resources with either C# or TypeScript:
C#
var storage = builder.AddAzureStorage("storage").RunAsEmulator();
var clusteringTable = storage.AddTables("clustering");
var grainStorage = storage.AddBlobs("grainstate");
var orleans = builder.AddOrleans("my-app")
.WithClustering(clusteringTable)
.WithGrainStorage("Default", grainStorage);
builder.AddProject<Projects.OrleansServer>("silo")
.WithReference(orleans);
builder.AddProject<Projects.OrleansClient>("frontend")
.WithReference(orleans.AsClient());
TypeScript
const storage = await builder.addAzureStorage("storage").runAsEmulator();
const clusteringTable = await storage.addTables("clustering");
const grainStorage = await storage.addBlobs("grainstate");
const orleans = await builder.addOrleans("my-app")
.withClustering(clusteringTable)
.withGrainStorage("Default", grainStorage);
await builder.addNodeApp("silo", "../orleans-silo", "server.js")
.withReference(orleans);
await builder.addNodeApp("frontend", "../orleans-frontend", "server.js")
.withReference(orleans.asClient());
Additional documentation
https://aspire.dev/integrations/gallery/ https://aspire.dev/integrations/frameworks/orleans/ https://learn.microsoft.com/dotnet/orleans/
Feedback & contributing
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
-
net8.0
- Aspire.Hosting (>= 13.6.4)
- AspNetCore.HealthChecks.Uris (>= 9.0.0)
- Google.Protobuf (>= 3.36.1)
- Grpc.AspNetCore (>= 2.83.0)
- Grpc.Net.ClientFactory (>= 2.83.0)
- Grpc.Tools (>= 2.83.0)
- Hex1b (>= 0.168.0)
- KubernetesClient (>= 19.0.2)
- MessagePack (>= 2.5.307)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.12)
- Microsoft.Extensions.Configuration.Binder (>= 10.0.12)
- Microsoft.Extensions.Configuration.EnvironmentVariables (>= 10.0.12)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.12)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 8.0.31)
- Microsoft.Extensions.FileSystemGlobbing (>= 10.0.12)
- Microsoft.Extensions.Hosting (>= 10.0.12)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.12)
- Microsoft.Extensions.Http (>= 10.0.12)
- Microsoft.Extensions.Logging (>= 10.0.12)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.12)
- Microsoft.Extensions.Options (>= 10.0.12)
- Microsoft.Extensions.Primitives (>= 10.0.12)
- ModelContextProtocol (>= 1.4.1)
- Newtonsoft.Json (>= 13.0.4)
- OpenTelemetry.Exporter.OpenTelemetryProtocol (>= 1.17.0)
- OpenTelemetry.Extensions.Hosting (>= 1.17.0)
- Polly.Core (>= 8.7.0)
- Semver (>= 3.0.0)
- StreamJsonRpc (>= 2.25.29)
- System.IO.Hashing (>= 10.0.12)
- System.Text.Json (>= 10.0.12)
- YamlDotNet (>= 18.1.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Aspire.Hosting.Orleans:
| Package | Downloads |
|---|---|
|
Shiny.Aspire.Orleans.Hosting
Package Description |
|
|
FSharp.Aspire.Hosting.Orleans
Provides extension methods and resource definitions for a .NET Aspire AppHost in F# to configure an Orleans cluster |
GitHub repositories (4)
Showing the top 4 popular GitHub repositories that depend on Aspire.Hosting.Orleans:
| Repository | Stars |
|---|---|
|
dotnet/orleans
Cloud Native application framework for .NET
|
|
|
dotnet/samples
Sample code referenced by the .NET documentation
|
|
|
microsoft/aspire-samples
Browse the sample apps demonstrating Aspire integration across C#, JavaScript, TypeScript, Python, Go, containers, databases, cloud, AI, and observability scenarios.
|
|
|
J-Tech-Japan/Sekiban
Sekiban - an Opinionated Event Sourcing and CQRS Framework using C#. It can store data into Azure Cosmos DB, AWS Dynamo DB or Postgres
|
| Version | Downloads | Last Updated |
|---|---|---|
| 13.6.4 | 2,018 | 10/24/2026 |
| 13.6.3 | 643 | 10/21/2026 |
| 13.6.2 | 777 | 10/20/2026 |
| 13.6.1 | 7,073 | 10/7/2026 |
| 13.6.0 | 26,133 | 9/29/2026 |
| 13.5.4 | 11,322 | 9/15/2026 |
| 13.5.3 | 19,889 | 8/25/2026 |
| 13.5.2 | 2,963 | 8/21/2026 |
| 13.5.1 | 932 | 8/20/2026 |
| 13.5.0 | 954 | 8/18/2026 |
| 13.4.6 | 51,901 | 6/19/2026 |
| 13.4.5 | 5,233 | 6/17/2026 |
| 13.4.4 | 1,780 | 6/15/2026 |
| 13.4.3 | 3,094 | 6/8/2026 |
| 13.4.2 | 1,980 | 6/3/2026 |
| 13.4.1 | 449 | 6/3/2026 |
| 13.4.0 | 2,864 | 6/1/2026 |
| 13.3.5 | 45,278 | 5/21/2026 |
| 13.3.4 | 1,200 | 5/19/2026 |
| 13.3.3 | 1,452 | 5/15/2026 |