All skills
github avatar

/aspire

@e765718 official
by githubgithub/awesome-copilot40k stars
5,040

Aspire skill covering the Aspire CLI, AppHost orchestration, service discovery, integrations, MCP server, VS Code extension, Dev Containers, GitHub Codespaces, templates, dashboard, and deployment. Use when the user asks to create, run, debug, configure, deploy, or troubleshoot an Aspire distributed application.

Use this Skill: https://skilld.dev/gh/github/awesome-copilot/aspire

This session only. Nothing lands on disk.

referencesintegrations-catalog.md

≈1.3k tokens on demand. Your agent reads this file only when SKILL.md points to it.

Integrations Catalog

Aspire has 144+ integrations across 13 categories. Rather than maintaining a static list, use the MCP tools to get live, up-to-date integration data.


Discovering integrations (MCP tools)

The Aspire MCP server provides two tools for integration discovery — these work on all CLI versions (13.1+) and do not require a running AppHost.

Tool What it does When to use
list_integrations Returns all available Aspire hosting integrations with their NuGet package IDs "What integrations are available for databases?" / "Show me all Redis-related integrations"
get_integration_docs Retrieves detailed documentation for a specific integration package (setup, configuration, code samples) "How do I configure PostgreSQL?" / "Show me the docs for Aspire.Hosting.Redis"

Workflow

  1. Browse — Call list_integrations to see what's available. Filter results by category or keyword.
  2. Deep dive — Call get_integration_docs with the package ID (e.g., Aspire.Hosting.Redis) and version (e.g., 9.0.0) to get full setup instructions.
  3. Add — Run aspire add <integration> to install the hosting package into your AppHost.

Tip: These tools return the same data as the official integrations gallery. Prefer them over static docs — integrations are added frequently.


Integration pattern

Every integration follows a two-package pattern:

  • Hosting package (Aspire.Hosting.*) — adds the resource to the AppHost
  • Client package (Aspire.*) — configures the client SDK in your service with health checks, telemetry, and retries
  • Community Toolkit (CommunityToolkit.Aspire.*) — community-maintained integrations from Aspire Community Toolkit
// === AppHost (hosting side) ===
var redis = builder.AddRedis("cache");  // Aspire.Hosting.Redis
var api = builder.AddProject<Projects.Api>("api")
    .WithReference(redis);

// === Service (client side) — in API's Program.cs ===
builder.AddRedisClient("cache");        // Aspire.StackExchange.Redis
// Automatically configures: connection string, health checks, OpenTelemetry, retries

Categories at a glance

Use list_integrations for the full live list. This summary covers the major categories:

Category Key integrations Example hosting package
AI Azure OpenAI, OpenAI, GitHub Models, Ollama Aspire.Hosting.Azure.CognitiveServices
Caching Redis, Garnet, Valkey, Azure Cache for Redis Aspire.Hosting.Redis
Cloud / Azure Storage, Cosmos DB, Service Bus, Key Vault, Event Hubs, Functions, SQL, SignalR (25+) Aspire.Hosting.Azure.Storage
Cloud / AWS AWS SDK integration Aspire.Hosting.AWS
Databases PostgreSQL, SQL Server, MongoDB, MySQL, Oracle, Elasticsearch, Milvus, Qdrant, SQLite Aspire.Hosting.PostgreSQL
DevTools Data API Builder, Dev Tunnels, Mailpit, k6, Flagd, Ngrok, Stripe Aspire.Hosting.DevTunnels
Messaging RabbitMQ, Kafka, NATS, ActiveMQ, LavinMQ Aspire.Hosting.RabbitMQ
Observability OpenTelemetry (built-in), Seq, OTel Collector Aspire.Hosting.Seq
Compute Docker Compose, Kubernetes Aspire.Hosting.Docker
Reverse Proxies YARP Aspire.Hosting.Yarp
Security Keycloak Aspire.Hosting.Keycloak
Frameworks JavaScript, Python, Go, Java, Rust, Bun, Deno, Orleans, MAUI, Dapr, PowerShell Aspire.Hosting.Python

For polyglot framework method signatures, see Polyglot APIs.


Source: SKILL.md on GitHub

1 warning16d5 checks · Risk SAFE
  • Gen Agent Trust Hub16d

    The skill provides comprehensive documentation and tools for using .NET Aspire, a distributed application orchestration tool. It includes official installation methods from trusted sources and describes standard development workflows. No malicious patterns or security risks were identified.

  • Socket16d

    No alerts

  • Snyk16d

    Risk: LOW · No issues

  • Runlayer7mo

    10/10 files flagged

  • ZeroLeaks5mo

    1 finding · Score: 82/100

Signed by skilld at e765718. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 8 months ago
  • aspire
  • dotnet
  • distributed-applications
  • orchestration
  • containers
  • polyglot
  • service-discovery
  • docker
  • kubernetes

README badge

README badge for github/awesome-copilot/aspire

Orchestrates polyglot distributed applications from a single .NET AppHost project, managing containers, executables, and cloud resources regardless of whether workloads are C#, Python, JavaScript, Go, Java, Rust, or other languages. Use when building, running, debugging, or deploying multi-service applications with automatic service discovery and observability via the built-in dashboard.

Generated from the current SKILL.md.

Does Aspire only work with .NET services?
No. Aspire is polyglot — the AppHost itself is .NET, but it orchestrates services written in Python, Go, Java, JavaScript/TypeScript, Rust, Bun, Deno, and PowerShell as containers or executables.
What do I need to install to use Aspire?
.NET SDK 10.0+, a container runtime (Docker Desktop, Podman, or Rancher Desktop), and optionally an IDE like VS Code with C# Dev Kit or Visual Studio 2022.
How do services discover each other in Aspire?
Automatic service discovery happens via environment variables like `ConnectionStrings__<name>` and `services__<name>__http__0`, set by the AppHost at runtime.
Can I test an Aspire application without running it manually?
Yes. The `Aspire.Hosting.Testing` package lets you spin up the full AppHost in xUnit, MSTest, or NUnit for integration tests.
What is the difference between aspire run and aspire publish?
`aspire run` starts all resources locally using the DCP engine and automatically launches the dashboard. `aspire publish` generates deployment manifests for Docker, Kubernetes, Azure Container Apps, or App Service.

Generated from the current SKILL.md. These answers refresh after source changes.