dotnet-aspire

Automate .NET Aspire orchestration by creating AppHost and ServiceDefaults projects.

98|25|Updated Mar 14, 2020
One-click install
npx skills add https://github.com/baotoq/micro-commerce --skill dotnet-aspire-baotoq
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dotnet-aspire
Source: https://github.com/baotoq/micro-commerce/tree/main/.agents/skills/dotnet-aspire
Command: npx skills add https://github.com/baotoq/micro-commerce --skill dotnet-aspire-baotoq

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Streamlines and standardizes the integration of .NET Aspire into existing .NET solutions, enabling cloud-native orchestration, service discovery, and observable distributed deployments without manual setup.

Core Features & Use Cases

  • Analyze solution structure to identify services (APIs, web apps, workers)
  • Create AppHost and ServiceDefaults projects
  • Configure service discovery and inter-service communication
  • Add NuGet packages and set up distributed application orchestration
  • Use when adding Aspire to .NET solutions or creating new cloud-ready distributed applications

Quick Start

Run the AppHost project to start the Aspire dashboard and orchestrated services.

Frequently Asked Questions about dotnet-aspire

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

FAQPage Schema
How do I add .NET Aspire orchestration to an existing solution?

Adding .NET Aspire orchestration involves analyzing your solution to identify APIs and workers, then creating AppHost and ServiceDefaults projects to wire service discovery, NuGet packages, and distributed application orchestration.

What is .NET Aspire used for in microservices deployment?

.NET Aspire orchestrates cloud-native microservices by coordinating APIs, web apps, and workers, injecting environment variables, and standardizing OpenTelemetry telemetry to ensure observable distributed deployments.

Can I use Aspire orchestration with existing web apps and worker services?

Yes, Aspire orchestration supports existing web apps and workers by analyzing the solution structure, scaffolding necessary projects, and configuring resource wiring to coordinate all identified services within the distributed application.

Does .NET Aspire setup include OpenTelemetry integration?

Yes, .NET Aspire setup includes consistent OpenTelemetry integration via ServiceDefaults, automatically configuring distributed telemetry across orchestrated APIs, web apps, and workers without requiring manual instrumentation.

What's the best way to configure service discovery in a .NET distributed application?

Using .NET Aspire is an effective way to configure service discovery, as it automates resource wiring, environment injection, and metadata description to establish seamless inter-service communication across your distributed application.