Aspire.Hosting.Orleans 9.5.0

Aspire.Hosting.Orleans library

Provides extension methods and resource definitions for a .NET Aspire AppHost to configure an Orleans cluster.

Getting started

Install the package

In your AppHost project, install the .NET Aspire Orleans library with NuGet:

dotnet add package Aspire.Hosting.Orleans

Usage example

Then, in the AppHost.cs file of AppHost, add a Or resource and consume the connection using the following methods:

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

Additional documentation

https://learn.microsoft.com/dotnet/orleans/

Feedback & contributing

https://github.com/dotnet/aspire

No packages depend on Aspire.Hosting.Orleans.

Version Downloads Last updated
13.0.2 2 12/7/2025
13.0.1 1 11/30/2025
13.0.0 1 11/16/2025
9.5.2 3 10/26/2025
9.5.1 4 10/5/2025
9.5.0 5 9/28/2025
9.4.2 5 9/7/2025
9.4.1 6 8/17/2025
9.4.0 6 8/3/2025
9.3.1 9 6/29/2025
9.3.0 7 6/29/2025
9.2.1 7 6/29/2025
9.2.0 7 6/29/2025
9.1.0 7 6/29/2025
9.0.0 7 6/29/2025
9.0.0-rc.1.24511.1 7 6/30/2025
8.2.2 8 6/29/2025
8.2.1 5 6/29/2025
8.2.0 6 6/29/2025
8.1.0 9 6/29/2025
8.0.2 7 6/29/2025
8.0.1 6 6/27/2025
8.0.0 7 6/29/2025
8.0.0-preview.7.24251.11 6 6/30/2025
8.0.0-preview.6.24214.1 6 7/1/2025
8.0.0-preview.5.24201.12 6 6/30/2025
8.0.0-preview.4.24156.9 6 6/30/2025
8.0.0-preview.3.24105.21 6 6/30/2025