aspire

Orchestrate cloud-native .NET service graphs with Aspire builder APIs and service discovery.

224|87|Updated Dec 15, 2018
One-click install
npx skills add https://github.com/Resgrid/Core --skill aspire-resgrid
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aspire
Source: https://github.com/Resgrid/Core/tree/main/.opencode/skills/aspire
Command: npx skills add https://github.com/Resgrid/Core --skill aspire-resgrid

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

.NET Aspire helps teams coordinate multiple services for local development and integration (databases, brokers, and service-to-service calls) without manually wiring health checks, connection strings, and observability.

Core Features & Use Cases

  • AppHost configuration for orchestration: Define infrastructure resources and add application projects with the right references and endpoints.
  • Service defaults for consistent resilience & observability: Centralize OpenTelemetry, health checks, service discovery, and HttpClient resilience.
  • Discovery-based service communication: Use Aspire-managed service discovery so services can call each other reliably using logical service names rather than hardcoded URLs.

Quick Start

Ask an AI to configure your Aspire AppHost and ServiceDefaults so your local multi-service setup uses OpenTelemetry, health checks, and service discovery automatically.

Frequently Asked Questions about aspire

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

FAQPage Schema
How do I orchestrate .NET microservices for local development without hardcoding connection strings?

You can orchestrate .NET microservices locally by using .NET Aspire's AppHost builder APIs to manage infrastructure resources and service dependencies. This enables service discovery, allowing services to communicate via logical names rather than hardcoded URLs.

What is the best way to configure OpenTelemetry and health checks across multiple .NET services?

The best way to configure OpenTelemetry and health checks is by centralizing them in a shared .NET Aspire ServiceDefaults project. This ensures consistent resilience, observability, and telemetry across all orchestrated application projects.

How do I add infrastructure dependencies like PostgreSQL and Redis to my .NET Aspire AppHost?

You add infrastructure dependencies like PostgreSQL and Redis to your .NET Aspire AppHost by using the AddPostgres and AddRedis builder APIs. You then link them to application projects using the AddProject WithReference method.

Can I use .NET Aspire to manage local orchestration for service graphs with RabbitMQ?

Yes, .NET Aspire manages local orchestration for service graphs containing RabbitMQ. You use the AddRabbitMQ builder API in the AppHost to provision the broker and pass it to projects with WithReference.

Does .NET Aspire service discovery work with HttpClient resilience patterns?

Yes, .NET Aspire service discovery works with HttpClient resilience patterns. The shared ServiceDefaults project integrates service discovery and resilience, ensuring reliable service-to-service calls using logical names.

When do I need a shared ServiceDefaults project for local .NET microservices?

You need a shared ServiceDefaults project when coordinating multiple .NET microservices locally to automatically apply OpenTelemetry, health checks, service discovery, and HttpClient resilience without manually wiring them.