aspire

Configure .NET Aspire orchestration, service discovery, and telemetry for Sorcha AppHost.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/StuartF303/Sorcha --skill aspire
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aspire
Source: https://github.com/StuartF303/Sorcha/tree/main/.claude/skills/aspire
Command: npx skills add https://github.com/StuartF303/Sorcha --skill aspire

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill configures .NET Aspire orchestration, service discovery, and telemetry for Sorcha AppHost, enabling consistent OpenTelemetry, health checks, and resource discovery across microservices.

Core Features & Use Cases

  • Centralized AppHost orchestration for Sorcha's microservices with shared telemetry and health checks.
  • Service discovery and resource defaults to streamline service-to-service communication.
  • Troubleshooting support for app host configuration and environment consistency.

Quick Start

Ensure AddServiceDefaults() is invoked in Program.cs, reference shared resources (redis, postgres, etc.), and place MapDefaultEndpoints() after building to expose health endpoints.

Frequently Asked Questions about aspire

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure service discovery and telemetry in .NET Aspire AppHost?

Service discovery in Aspire AppHost is configured by invoking AddServiceDefaults() in Program.cs and referencing shared resources like Redis and PostgreSQL. This centralizes OpenTelemetry and health checks across microservices, enabling consistent resource discovery and service-to-service communication.

What does AddServiceDefaults do in an Aspire application?

AddServiceDefaults() enforces standard AppHost patterns by registering shared telemetry, health checks, and service defaults across your microservices. It ensures consistent configuration and enables automatic service discovery without manual endpoint registration.

How do I expose health check endpoints in Aspire?

Place MapDefaultEndpoints() after building your Aspire application to expose health check endpoints. This activates the default health-check configuration set up by AddServiceDefaults() and makes service health discoverable across your orchestration.

Can I use Aspire AppHost with OpenTelemetry for observability?

Yes. Aspire AppHost integrates OpenTelemetry natively through AddServiceDefaults(), which configures centralized telemetry for all services. This enables automatic collection of traces, metrics, and health signals across your microservices without additional instrumentation.

How do I troubleshoot service discovery issues across Aspire environments?

Verify that AddServiceDefaults() is invoked in Program.cs, shared environment variables are consistent across services, and MapDefaultEndpoints() is called post-build. These enforce standard patterns that resolve most service discovery and configuration mismatches.

What's the best way to configure multiple services in Aspire AppHost?

Reference shared resources centrally in AppHost, apply AddServiceDefaults() consistently across all service Program.cs files, and use shared environment configuration. This pattern streamlines multi-service orchestration and maintains telemetry and discovery parity.