From 568d0150450f6e22522015862ac65b099d779d1b Mon Sep 17 00:00:00 2001 From: Johan Smarius Date: Mon, 17 Nov 2025 15:06:31 +0100 Subject: [PATCH 1/3] Added some missing steps --- docs/data-cloud/aspire-integration.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/docs/data-cloud/aspire-integration.md b/docs/data-cloud/aspire-integration.md index 29d2cd952..6cacd0d65 100644 --- a/docs/data-cloud/aspire-integration.md +++ b/docs/data-cloud/aspire-integration.md @@ -72,6 +72,12 @@ The MAUI Service Defaults project contains shared configuration that your MAUI a dotnet new maui-aspire-servicedefaults -n YourApp.MauiServiceDefaults ``` +Add the project to the solution: + +```dotnetcli +dotnet sln add YourApp.MauiServiceDefaults/YourApp.MauiServiceDefaults.csproj +``` + This project includes: - Service discovery configuration @@ -93,6 +99,12 @@ The App Host project orchestrates all your application services, including your dotnet new aspire-apphost -n YourApp.AppHost ``` +Add the project to the solution: + +```dotnetcli +dotnet sln add YourApp.AppHost/YourApp.AppHost.csproj +``` + Add references to your MAUI app and any web service projects: ```dotnetcli @@ -100,6 +112,14 @@ dotnet add YourApp.AppHost.csproj reference YourMauiApp/YourMauiApp.csproj dotnet add YourApp.AppHost.csproj reference YourWebService/YourWebService.csproj ``` +Add a reference to the Aspire hosting package for .NET MAUI: + +```dotnetcli +dotnet add package Aspire.Hosting.Maui --version 13.0.0-preview.1.25560.3 --project .\YourApp.AppHost\YourApp.AppHost.csproj +``` + +For now you need the use a preview version of this package. + ### Configure the App Host In your App Host project's `Program.cs`, register your MAUI app and web services: From c581074c3a326dcb8ca2ad7a0829890035522d37 Mon Sep 17 00:00:00 2001 From: Gerald Versluis Date: Tue, 18 Nov 2025 14:23:59 +0100 Subject: [PATCH 2/3] Update docs/data-cloud/aspire-integration.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- docs/data-cloud/aspire-integration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/data-cloud/aspire-integration.md b/docs/data-cloud/aspire-integration.md index 6cacd0d65..135a7ff2c 100644 --- a/docs/data-cloud/aspire-integration.md +++ b/docs/data-cloud/aspire-integration.md @@ -118,7 +118,7 @@ Add a reference to the Aspire hosting package for .NET MAUI: dotnet add package Aspire.Hosting.Maui --version 13.0.0-preview.1.25560.3 --project .\YourApp.AppHost\YourApp.AppHost.csproj ``` -For now you need the use a preview version of this package. +For now you need to use a preview version of this package. ### Configure the App Host From 9085545fc605c426779d984798a1532ca5b18c24 Mon Sep 17 00:00:00 2001 From: Gerald Versluis Date: Tue, 18 Nov 2025 15:06:14 +0100 Subject: [PATCH 3/3] Update docs/data-cloud/aspire-integration.md --- docs/data-cloud/aspire-integration.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/data-cloud/aspire-integration.md b/docs/data-cloud/aspire-integration.md index 135a7ff2c..2eed64e22 100644 --- a/docs/data-cloud/aspire-integration.md +++ b/docs/data-cloud/aspire-integration.md @@ -118,7 +118,8 @@ Add a reference to the Aspire hosting package for .NET MAUI: dotnet add package Aspire.Hosting.Maui --version 13.0.0-preview.1.25560.3 --project .\YourApp.AppHost\YourApp.AppHost.csproj ``` -For now you need to use a preview version of this package. +> [!NOTE] +> For now you need to use a preview version of the Aspire.Hosting.Maui package. ### Configure the App Host