aspire
Installation
SKILL.md
.NET Aspire
Core Principles
- Aspire is for orchestration, not deployment — Aspire manages your local development experience: starting services, databases, and message brokers together. Production deployment is a separate concern.
- Service defaults are your baseline — The
ServiceDefaultsproject configures OpenTelemetry, health checks, and resilience for all services in one place. - Use Aspire integrations — Aspire has built-in integrations for PostgreSQL, Redis, RabbitMQ, SQL Server, and more. They handle connection strings, health checks, and tracing automatically.
- The dashboard is your observability tool — Use the Aspire dashboard for local development tracing, logging, and metrics instead of setting up Seq/Grafana locally.
Patterns
AppHost Configuration
// AppHost/Program.cs
var builder = DistributedApplication.CreateBuilder(args);