-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Update Orleans and Aspire integration documentation #54201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,11 +10,11 @@ zone_pivot_groups: orleans-version | |
|
|
||
| :::zone target="docs" pivot="orleans-8-0,orleans-9-0,orleans-10-0" | ||
|
|
||
| [Aspire](https://aspire.dev/get-started/what-is-aspire/) provides a streamlined approach to building cloud-native applications with built-in support for Orleans. Starting with Orleans 8.0, you can use Aspire to orchestrate your Orleans cluster, manage backing resources (like Redis or Azure Storage), and automatically configure service discovery, observability, and health checks. | ||
| [Aspire](https://aspire.dev/integrations/frameworks/orleans) provides a streamlined approach to building cloud-native applications with built-in support for Orleans. Starting with Orleans 8.0, you can use Aspire to orchestrate your Orleans cluster, manage backing resources (like Redis or Azure Storage), and automatically configure service discovery, observability, and health checks. | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The original link makes more sense to me here.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I thought about that too. To me, someone is here because they probably know what aspire is and are more interested in integrating the two techs. So a link to the integration would make sense over a "what is aspire" But I can go either way. |
||
|
|
||
| ## Overview | ||
|
|
||
| Orleans integration with Aspire uses the `Aspire.Hosting.Orleans` package in your AppHost project. This package provides extension methods to: | ||
| Orleans integration with Aspire uses the [`Aspire.Hosting.Orleans` package](https://aspire.dev/integrations/frameworks/orleans/) in your AppHost project. This package provides extension methods to: | ||
|
|
||
| - Define Orleans as a distributed resource | ||
| - Configure clustering providers (Redis, Azure Storage, ADO.NET) | ||
|
|
@@ -29,7 +29,11 @@ Before using Orleans with Aspire, ensure you have: | |
|
|
||
| - [.NET 8.0 SDK](https://dotnet.microsoft.com/download/dotnet/8.0) or later | ||
| - [Aspire CLI](https://aspire.dev/get-started/install-cli/) | ||
| - An IDE with Aspire support (Visual Studio 2022 17.9+, VS Code with C# Dev Kit, or JetBrains Rider) | ||
| - An IDE with Aspire support, such as one of the following: | ||
| - Visual Studio 2022 version 17.9+ | ||
| - Visual Studio Code with C# Dev Kit and the [`microsoft-aspire.aspire-vscode`](https://marketplace.visualstudio.com/items?itemName=microsoft-aspire.aspire-vscode) extension. | ||
| - JetBrains Rider | ||
| - Familiarize yourself with the [Aspire Orleans integration pack](https://aspire.dev/integrations/frameworks/orleans) | ||
|
|
||
| ## Required packages | ||
|
|
||
|
|
@@ -91,7 +95,7 @@ For separate client projects, configure the Orleans client similarly: | |
|
|
||
| ## AppHost extension methods reference | ||
|
|
||
| The `Aspire.Hosting.Orleans` package provides these extension methods: | ||
| The [`Aspire.Hosting.Orleans` package](https://www.nuget.org/packages/Aspire.Hosting.Orleans) provides these extension methods: | ||
|
|
||
| ### Core methods | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.