Skip to content

Add lightweight Aspire orchestration sample - #1

Merged
balajibashyam merged 3 commits into
mainfrom
feature/aspire-orchestration-sample
Jul 26, 2026
Merged

Add lightweight Aspire orchestration sample#1
balajibashyam merged 3 commits into
mainfrom
feature/aspire-orchestration-sample

Conversation

@balajibashyam

Copy link
Copy Markdown
Contributor

Summary

Adds a minimal .NET 10 Aspire companion sample for the Aspire in .NET: Orchestrate, Run, and Deploy a Distributed System from One App Host tutorial.

What's included

  • New sample: dotnet-aspire/orchestrate-distributed-system/ — 8 files

    • A real Aspire AppHost coordinating one API project and one web project
    • Service discovery through https+http://api (no fixed localhost port)
    • WithReference(api) + WaitFor(api)
    • WithExternalHttpEndpoints()
    • Web-to-API communication resolved by the AppHost
  • Root README: New sample row in the table + updated repository structure

  • GitHub Actions: New build-aspire-orchestration job in the shared workflow; path filters updated

Deliberately omitted (stays in the full tutorial)

PostgreSQL, Redis, EF Core, Npgsql, caching, ServiceDefaults, health checks, Aspire.Hosting.Testing, integration tests, OpenTelemetry customization, GenAI, publish/deploy, Azure, Kubernetes, Helm

Versions

  • .NET SDK: 10.0.302
  • Aspire.Hosting.AppHost: 13.4.6
  • Microsoft.Extensions.ServiceDiscovery: 10.8.0

Validation

  • dotnet restore — passed
  • dotnet build --configuration Release — passed
  • Security scan (secrets, fixed ports, machine paths) — clean
  • Runtime/dashboard — not possible on headless VPS (DCP/Dashboard binaries unavailable)

@balajibashyam
balajibashyam merged commit e7b6e37 into main Jul 26, 2026
3 checks passed
@balajibashyam
balajibashyam deleted the feature/aspire-orchestration-sample branch July 26, 2026 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant