Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"appHostPath": "../ServiceInvocationDemo.AppHost/ServiceInvocationDemo.AppHost.csproj"
}
8 changes: 4 additions & 4 deletions examples/Hosting/Aspire/ServiceInvocationDemo/README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Aspire with Dapr Service Invocation Demo

This directory contains demonstration projects showcasing how to use .NET Aspire with Dapr to perform service invocation between frontend and backend applications using different approaches.
This directory contains demonstration projects showcasing how to use Aspire with Dapr to perform service invocation between frontend and backend applications using different approaches.

## Overview

The ServiceInvocationDemo demonstrates various patterns for service-to-service communication in a distributed application architecture using:

- **.NET Aspire** - For application orchestration, service discovery, and observability
- **Aspire** - For application orchestration, service discovery, and observability
- **Dapr** - For distributed application runtime capabilities including service invocation
- **ASP.NET Core** - For both frontend and backend services

Expand Down Expand Up @@ -40,13 +40,13 @@ The demo includes:

3. The console will display the Aspire dashboard URL. Open the provided link in your browser.

4. In the Aspire dashboard, click on the `http://localhost:5054/` link to access the demo application.
4. In the Aspire dashboard, click on the "FrontendApp.csproj" link `http://localhost:5054/` to access the demo application.

5. The main page will present various service invocation demonstration scenarios that you can explore.

## Key Features Demonstrated

- Integration between .NET Aspire orchestration and Dapr runtime
- Integration between Aspire orchestration and Dapr runtime
- Service-to-service communication patterns
- Development-time productivity with Aspire dashboard
- Production-ready distributed application patterns
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development",
"DOTNET_ENVIRONMENT": "Development",
"ASPIRE_ALLOW_UNSECURED_TRANSPORT": "true",
"ASPIRE_DASHBOARD_OTLP_ENDPOINT_URL": "http://localhost:19274",
"ASPIRE_RESOURCE_SERVICE_ENDPOINT_URL": "http://localhost:20286"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<Sdk Name="Aspire.AppHost.Sdk" Version="9.3.1"/>
<Sdk Name="Aspire.AppHost.Sdk" Version="13.0.2" />

<PropertyGroup>
<OutputType>Exe</OutputType>
Expand All @@ -13,8 +13,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Aspire.Hosting.AppHost" Version="9.4.1" />
<PackageReference Include="CommunityToolkit.Aspire.Hosting.Dapr" Version="9.7.0" />
<PackageReference Include="Aspire.Hosting.AppHost" Version="13.0.2" />
<PackageReference Include="CommunityToolkit.Aspire.Hosting.Dapr" Version="13.0.0" />
</ItemGroup>

<ItemGroup>
Expand Down