You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/data-cloud/aspire-integration.md
+18-18Lines changed: 18 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,32 +1,32 @@
1
1
---
2
-
title: ".NET MAUI integration with .NET Aspire"
3
-
description: "Learn how to use .NET Aspire to simplify connecting your .NET MAUI app to local web services during development."
2
+
title: ".NET MAUI integration with Aspire"
3
+
description: "Learn how to use Aspire to simplify connecting your .NET MAUI app to local web services during development."
4
4
ms.date: 10/31/2024
5
5
---
6
6
7
-
# .NET MAUI integration with .NET Aspire
7
+
# .NET MAUI integration with Aspire
8
8
9
9
::: moniker range=">=net-maui-10.0"
10
10
11
11
> [!IMPORTANT]
12
12
> This feature is currently in preview. Integration with Visual Studio 2026 is coming but not completely available yet.
13
13
14
-
.NET Aspire is an opinionated, cloud-ready stack for building observable, production-ready, distributed applications. The .NET MAUI integration with .NET Aspire simplifies the development experience when building mobile and desktop applications that connect to local web services during development.
14
+
Aspire is an opinionated, cloud-ready stack for building observable, production-ready, distributed applications. The .NET MAUI integration with Aspire simplifies the development experience when building mobile and desktop applications that connect to local web services during development.
15
15
16
-
## What is .NET Aspire?
16
+
## What is Aspire?
17
17
18
-
.NET Aspire provides a consistent, opinionated set of tools and patterns for building and running distributed applications. It's designed to improve the experience of building cloud-native applications by providing:
18
+
Aspire provides a consistent, opinionated set of tools and patterns for building and running distributed applications. It's designed to improve the experience of building cloud-native applications by providing:
19
19
20
20
-**Orchestration**: Simplified management of multiple services and dependencies
21
21
-**Components**: Pre-built integrations for common services and platforms
22
22
-**Tooling**: Developer dashboard for monitoring and managing services
23
23
-**Service discovery**: Automatic configuration for service-to-service communication
24
24
25
-
For more information about .NET Aspire, see [.NET Aspire documentation](/dotnet/aspire/).
25
+
For more information about Aspire, see [Aspire documentation](/dotnet/aspire/).
26
26
27
27
## Benefits of using Aspire with .NET MAUI
28
28
29
-
Integrating .NET Aspire with your .NET MAUI applications provides several key benefits:
29
+
Integrating Aspire with your .NET MAUI applications provides several key benefits:
30
30
31
31
-**Simplified configuration**: Eliminate complex platform-specific networking configuration. No need to manually handle `10.0.2.2` for Android or deal with certificate validation issues.
32
32
-**Automatic service discovery**: Your MAUI app automatically discovers and connects to local services without hardcoded URLs.
@@ -46,26 +46,26 @@ Traditionally, connecting a .NET MAUI app to local web services requires signifi
46
46
47
47
For more information about the traditional approach, see [Connect to local web services](local-web-services.md).
48
48
49
-
With .NET Aspire integration, these complexities are handled automatically, allowing you to focus on building your application instead of configuring network access.
49
+
With Aspire integration, these complexities are handled automatically, allowing you to focus on building your application instead of configuring network access.
50
50
51
51
## Prerequisites
52
52
53
-
To use .NET Aspire with .NET MAUI, you need:
53
+
To use Aspire with .NET MAUI, you need:
54
54
55
55
-[.NET 10 SDK](https://dotnet.microsoft.com/download/dotnet/10.0) or later
Setting up .NET Aspire integration with your .NET MAUI application involves adding two key projects to your solution:
68
+
Setting up Aspire integration with your .NET MAUI application involves adding two key projects to your solution:
69
69
70
70
1.**MAUI Service Defaults project**: Provides default configuration for your MAUI app
71
71
2.**App Host project**: Orchestrates your application services and handles service discovery
@@ -319,7 +319,7 @@ When building .NET MAUI apps with Aspire integration:
319
319
320
320
## Sample application
321
321
322
-
For a complete working example of .NET MAUI integration with .NET Aspire, see the [AspireWithMaui sample](https://github.com/dotnet/aspire/tree/main/playground/AspireWithMaui) in the .NET Aspire repository.
322
+
For a complete working example of .NET MAUI integration with Aspire, see the [AspireWithMaui sample](https://github.com/dotnet/aspire/tree/main/playground/AspireWithMaui) in the Aspire repository.
323
323
324
324
The sample demonstrates:
325
325
@@ -330,15 +330,15 @@ The sample demonstrates:
330
330
331
331
## Additional resources
332
332
333
-
-[.NET Aspire documentation](/dotnet/aspire/)
334
-
-[Service discovery in .NET Aspire](/dotnet/aspire/service-discovery/overview)
-[Connect to local web services (traditional approach)](local-web-services.md)
337
337
338
338
::: moniker-end
339
339
340
340
::: moniker range="<net-maui-10.0"
341
341
342
-
.NET MAUI integration with .NET Aspire is available in .NET MAUI 10 and later. For information about connecting to local web services in earlier versions, see [Connect to local web services](local-web-services.md).
342
+
.NET MAUI integration with Aspire is available in .NET MAUI 10 and later. For information about connecting to local web services in earlier versions, see [Connect to local web services](local-web-services.md).
Copy file name to clipboardExpand all lines: docs/data-cloud/local-web-services.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ ms.date: 10/07/2024
11
11
Many mobile and desktop apps consume web services. During the software development phase, it's common to deploy a web service locally and consume it from an app running in the Android emulator or iOS simulator. This avoids having to deploy the web service to a hosted endpoint, and enables a straightforward debugging experience because both the app and web service are running locally.
12
12
13
13
> [!TIP]
14
-
> If you're using .NET 10 or later, consider using [.NET Aspire integration](aspire-integration.md) to simplify connecting to local web services. Aspire automatically handles platform-specific networking configuration, service discovery, and development tunnels, eliminating much of the manual configuration described in this article.
14
+
> If you're using .NET 10 or later, consider using [Aspire integration](aspire-integration.md) to simplify connecting to local web services. Aspire automatically handles platform-specific networking configuration, service discovery, and development tunnels, eliminating much of the manual configuration described in this article.
15
15
16
16
.NET Multi-platform App UI (.NET MAUI) apps that run on Windows or MacCatalyst can consume ASP.NET Core web services that are running locally over HTTP or HTTPS without any additional work, provided that you've [trusted your development certificate](#trust-your-development-certificate). However, additional work is required when the app is running in the Android emulator or iOS simulator, and the process is different depending on whether the web service is running over HTTP or HTTPS.
0 commit comments