dotnet-aspire-patterns

Orchestrate distributed .NET applications with .NET Aspire AppHost configuration.

71|10|Updated Feb 11, 2026
One-click install
npx skills add https://github.com/wshaddix/dotnet-skills --skill dotnet-aspire-patterns-wshaddix
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dotnet-aspire-patterns
Source: https://github.com/wshaddix/dotnet-skills/tree/main/skills/dotnet-aspire-patterns
Command: npx skills add https://github.com/wshaddix/dotnet-skills --skill dotnet-aspire-patterns-wshaddix

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies the development of observable, production-ready distributed .NET applications by providing a standardized framework for orchestration, service discovery, and observability.

Core Features & Use Cases

  • AppHost Orchestration: Define your distributed application topology in C#.
  • Service Discovery: Enable seamless communication between .NET services.
  • Component Model: Integrate backing services like databases and caches easily.
  • Observability: Standardized logging, tracing, and metrics via ServiceDefaults.
  • Dashboard: Local development UI for monitoring resources, logs, traces, and metrics.
  • Use Case: Develop a microservices-based application with a PostgreSQL database and a Redis cache, ensuring all services are discoverable, observable, and easily debuggable locally.

Quick Start

Use the dotnet-aspire-patterns skill to set up a new .NET Aspire AppHost project with PostgreSQL and Redis backing services.

Frequently Asked Questions about dotnet-aspire-patterns

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

FAQPage Schema
How do I build observable .NET microservices with local orchestration?

To build observable .NET microservices, use .NET Aspire to define your distributed application topology in C#, enabling service discovery, standardized logging, and telemetry via the local dashboard for seamless debugging.

What is .NET Aspire orchestration for distributed apps?

.NET Aspire orchestration is a framework that simplifies developing production-ready distributed apps by using an AppHost project to configure service discovery, integrate backing components, and standardize health checks in C#.

How do I add PostgreSQL and Redis backing services to a .NET Aspire project?

Add PostgreSQL and Redis backing services to .NET Aspire by utilizing the component model within your AppHost configuration, allowing your distributed .NET application to easily integrate and communicate with containerized databases and caches.

Do I need Docker to use .NET Aspire for local development?

Yes, you need Docker for local development with .NET Aspire because it is required to run and manage containerized resources like PostgreSQL and Redis backing services integrated through the AppHost orchestration topology.

How does service discovery work in .NET Aspire distributed systems?

Service discovery in .NET Aspire works through the AppHost configuration, enabling seamless communication between .NET services by automatically resolving service addresses within your orchestrated local distributed application topology.

What's the best way to monitor distributed .NET application traces locally?

The best way to monitor distributed .NET application traces locally is using the Aspire dashboard, which provides a UI for viewing standardized logs, traces, and metrics generated via ServiceDefaults.