Aspire.Hosting.Orleans
9.2.0
Prefix Reserved
dotnet add package Aspire.Hosting.Orleans --version 9.2.0
NuGet\Install-Package Aspire.Hosting.Orleans -Version 9.2.0
<PackageReference Include="Aspire.Hosting.Orleans" Version="9.2.0" />
<PackageVersion Include="Aspire.Hosting.Orleans" Version="9.2.0" />
<PackageReference Include="Aspire.Hosting.Orleans" />
paket add Aspire.Hosting.Orleans --version 9.2.0
#r "nuget: Aspire.Hosting.Orleans, 9.2.0"
#addin nuget:?package=Aspire.Hosting.Orleans&version=9.2.0
#tool nuget:?package=Aspire.Hosting.Orleans&version=9.2.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 Program.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
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. |
-
net8.0
- Aspire.Hosting (>= 9.2.0)
- AspNetCore.HealthChecks.Uris (>= 9.0.0)
- Google.Protobuf (>= 3.30.1)
- Grpc.AspNetCore (>= 2.70.0)
- Grpc.Net.ClientFactory (>= 2.70.0)
- Grpc.Tools (>= 2.71.0)
- Humanizer.Core (>= 2.14.1)
- JsonPatch.Net (>= 3.3.0)
- KubernetesClient (>= 16.0.2)
- Microsoft.Extensions.Configuration.Abstractions (>= 8.0.0)
- Microsoft.Extensions.Configuration.Binder (>= 8.0.2)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.2)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 8.0.15)
- Microsoft.Extensions.Hosting (>= 8.0.1)
- Microsoft.Extensions.Hosting.Abstractions (>= 8.0.1)
- Microsoft.Extensions.Http (>= 8.0.1)
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.3)
- Microsoft.Extensions.Options (>= 8.0.2)
- Microsoft.Extensions.Primitives (>= 8.0.0)
- Newtonsoft.Json (>= 13.0.3)
- Polly.Core (>= 8.5.2)
- StreamJsonRpc (>= 2.21.69)
- System.IO.Hashing (>= 9.0.3)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Aspire.Hosting.Orleans:
Package | Downloads |
---|---|
FSharp.Aspire.Hosting.Orleans
Provides extension methods and resource definitions for a .NET Aspire AppHost in F# to configure an Orleans cluster |
GitHub repositories (3)
Showing the top 3 popular GitHub repositories that depend on Aspire.Hosting.Orleans:
Repository | Stars |
---|---|
dotnet/orleans
Cloud Native application framework for .NET
|
|
dotnet/aspire-samples
|
|
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 |
---|---|---|
9.2.0 | 235 | 4/10/2025 |
9.1.0 | 8,059 | 2/25/2025 |
9.0.0 | 41,601 | 11/12/2024 |
9.0.0-rc.1.24511.1 | 3,486 | 10/15/2024 |
8.2.2 | 2,537 | 10/24/2024 |
8.2.1 | 8,421 | 9/26/2024 |
8.2.0 | 12,301 | 8/29/2024 |
8.1.0 | 3,765 | 7/23/2024 |
8.0.2 | 2,703 | 6/28/2024 |
8.0.1 | 4,499 | 5/21/2024 |
8.0.0 | 751 | 5/21/2024 |
8.0.0-preview.7.24251.11 | 546 | 5/7/2024 |
8.0.0-preview.6.24214.1 | 515 | 4/23/2024 |
8.0.0-preview.5.24201.12 | 1,318 | 4/9/2024 |
8.0.0-preview.4.24156.9 | 303 | 3/12/2024 |
8.0.0-preview.3.24105.21 | 311 | 2/13/2024 |