Compose distributed apps in code
open sourceMITself-hostablefree
Aspire (formerly .NET Aspire) is Microsoft's code-first toolchain for building, running and deploying distributed applications. An AppHost, written in C#, TypeScript or Go, declares the app's services, frontends, containers, databases, caches and how they connect; services themselves can be in C#, JavaScript, Python, Java, Go, Rust or containers. The Aspire CLI runs the whole app locally with service discovery, and its dashboard shows logs, traces, metrics and health from OpenTelemetry. The same model produces deployment artifacts for Azure, AWS, Kubernetes, Docker or your own infrastructure. It gives coding agents live context from the running app, and has integrations for common services, project templates and a VS Code extension. MIT licensed.
Problems it solves
- run my whole multi-service app (API, frontend, database, cache) locally with one command
- define how my microservices, containers and databases connect in code instead of YAML
- see logs, traces and metrics from every service in my app while developing
- deploy the same app definition to Azure, AWS or Kubernetes
- wire up service discovery and connection strings between services automatically in development
- give my coding agent the live state, logs and traces of my running app
- orchestrate a polyglot app with .NET, Node.js and Python services together
Features
- AppHost in C#, TypeScript or Go describing resources and their connections
- services in C#, JavaScript, Python, Java, Go, Rust or containers
- Aspire CLI runs the whole app locally
- dashboard with logs, traces, metrics, health and resource commands (OpenTelemetry)
- service discovery
- integrations for databases, caches and cloud services
- deployment artifacts for Azure, AWS, Kubernetes and containers
- live app context for coding agents
- project templates and a VS Code extension
- standalone dashboard
Capabilities
| Has a command line tool | plan not known |
|---|---|
| Takes plugins | plan not known |
| Has official SDKs | plan not known |
Alternatives
The same job
These do what Aspire does.
- Tilt Smart rebuilds and live updates for microservice development on Kubernetes
- Docker Compose Define and run multi-container applications with Docker
- Skaffold Easy and repeatable Kubernetes development
- Later Influence The influencer marketing platform behind better campaigns
