Zum Inhalt springen
Skillpedia
Deployment & Cloud (DevOps)40k · #7066

aspire

Was er macht

Aspire ist ein Toolkit zum Bauen und Verwalten komplexer verteilter Anwendungen. Es hilft dir, verschiedene Teile deiner App (etwa APIs, Datenbanken und Oberflächen) so zu organisieren, dass sie zusammenarbeiten, auch wenn sie in unterschiedlichen Sprachen geschrieben sind.

Wann du ihn nutzt

  • ✓Wenn du eine neue verteilte Anwendung erstellen möchtest.
  • ✓Wenn du verschiedene Services in einer Anwendung konfigurierst oder verbindest.
  • ✓Um komplexe Anwendungen zu starten, zu debuggen oder zu deployen.

Link zum Skill

https://github.com/github/awesome-copilot/blob/main/skills/aspire/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/github/awesome-copilot/blob/main/skills/aspire/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Wie konfiguriere ich Aspire so, dass es eine PostgreSQL-Datenbank verwendet?”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Aspire nutzt eine zentrale Datei namens „AppHost“, die wie ein Dirigent funktioniert. Sie legt fest, welche Services es gibt, wie sie miteinander kommunizieren und welche Ressourcen (etwa Datenbanken) sie benötigen. Der AppHost sorgt dafür, dass alles in der richtigen Reihenfolge startet und sich die Services gegenseitig finden.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von GitHub.

Aspire — Polyglot Distributed-App Orchestration

Aspire is a code-first, polyglot toolchain for building observable, production-ready distributed applications. It orchestrates containers, executables, and cloud resources from a single AppHost project — regardless of whether the workloads are C#, Python, JavaScript/TypeScript, Go, Java, Rust, Bun, Deno, or PowerShell.

Mental model: The AppHost is a conductor — it doesn't play the instruments, it tells every service when to start, how to find each other, and watches for problems.

Detailed reference material lives in the references/ folder — load on demand.


References

Reference When to load
CLI Reference Command flags, options, or detailed usage
MCP Server Setting up MCP for AI assistants, available tools
Integrations Catalog Discovering integrations via MCP tools, wiring patterns
Polyglot APIs Method signatures, chaining options, language-specific patterns
Architecture DCP internals, resource model, service discovery, networking, telemetry
Dashboard Dashboard features, standalone mode, GenAI Visualizer
Deployment Docker, Kubernetes, Azure Container Apps, App Service
Testing Integration tests against the AppHost
Troubleshooting Diagnostic codes, common errors, and fixes

1. Researching Aspire Documentation

The Aspire team ships an MCP server that provides documentation tools directly inside your AI assistant. See MCP Server for setup details.

Aspire CLI 13.2+ (recommended — has built-in docs search)

If running Aspire CLI 13.2 or later (aspire --version), the MCP server includes docs search tools:

Tool Description
list_docs Lists all available documentation from aspire.dev
search_docs Performs weighted lexical search across indexed documentation
get_doc Retrieves a specific document by its slug

These tools were added in PR #14028. To update: aspire update --self --channel daily.

For more on this approach, see David Pine's post: https://davidpine.dev/posts/aspire-docs-mcp-tools/

Aspire CLI 13.1 (integration tools only)

On 13.1, the MCP server provides integration lookup but not docs search:

Tool Description
list_integrations Lists available Aspire hosting integrations
get_integration_docs Gets documentation for a specific integration package

For general docs queries on 13.1, use Context7 as your primary source (see below).

Fallback: Context7

Use Context7 (mcp_context7) when the Aspire MCP docs tools are unavailable (13.1) or the MCP server isn't running:

Step 1 — Resolve the library ID (one-time per session):

Call mcp_context7_resolve-library-id with libraryName: ".NET Aspire".

Rank Library ID Use when
1 /microsoft/aspire.dev Primary source. Guides, integrations, CLI reference, deployment.
2 /dotnet/aspire API internals, source-level implementation details.
3 /communitytoolkit/aspire Non-Microsoft polyglot integrations (Go, Java, Node.js, Ollama).

Step 2 — Query docs:

libraryId: "/microsoft/aspire.dev", query: "Python integration AddPythonApp service discovery"
libraryId: "/communitytoolkit/aspire", query: "Golang Java Node.js community integrations"

Fallback: GitHub search (when Context7 is also unavailable)

Search the official docs repo on GitHub:

  • Docs repo: microsoft/aspire.dev — path: src/frontend/src/content/docs/
  • Source repo: dotnet/aspire
  • Samples repo: dotnet/aspire-samples
  • Community integrations: CommunityToolkit/Aspire

2. Prerequisites & Install

Requirement Details
.NET SDK 10.0+ (required even for non-.NET workloads — the AppHost is .NET)
Container runtime Docker Desktop, Podman, or Rancher Desktop
IDE (optional) VS Code + C# Dev Kit, Visual Studio 2022, JetBrains Rider
# Linux / macOS
curl -sSL https://aspire.dev/install.sh | bash

# Windows PowerShell
irm https://aspire.dev/install.ps1 | iex

# Verify
aspire --version

…
Häufige Fragen

Was bedeutet „polyglot“ im Zusammenhang mit Aspire?

„Polyglot“ bedeutet, dass Aspire mehrere Programmiersprachen unterstützt. Du kannst C#, Python, JavaScript, Go, Java und andere gemeinsam in derselben Anwendung verwenden.

Muss ich alle unterstützten Sprachen beherrschen?

Nein. Aspire übernimmt die Orchestrierung. Du musst nur die Sprachen beherrschen, in denen die Services geschrieben sind, an denen du arbeitest.

Was ist der AppHost?

Der AppHost ist das Herzstück von Aspire. Er ist ein Projekt, das deine verteilte Anwendung beschreibt, also welche Services es gibt, wovon sie abhängen und wie sie laufen sollen. Stell ihn dir wie den Dirigenten vor, der alle Musiker (Services) koordiniert.

Details

Originalbeschreibung des Autors

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.

repo: github/awesome-copilot

Beliebtheit

GitHub-Sterne
40k
Platz im Ranking
#7066
Lizenz
MIT
Aktualisiert
15.10.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills