microsoft/aspire
microsoft/aspire has 6,403 GitHub stars and 1,033 forks. GitHot measured +2 stars in 24 hours. Last checked 2026-11-07 10:38 UTC. Last push 2026-11-02.
Aspire is the tool for code-first, extensible, observable dev and deploy.
Measured star growth
- in 24h
- +2
- in 7 days
- Update delayed
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalAspire
What is Aspire?
Aspire is a multi-language, code-first toolchain for building, running, and deploying distributed applications.
Describe how services, frontends, containers, databases, caches, and connections fit together in code. The Aspire CLI runs the whole app locally, exposes OpenTelemetry-based observability, and carries the same definition into deployment.
A simple app definition
The same application definition can be written in different languages.
C# (apphost.cs)
var builder = DistributedApplication.CreateBuilder(args);
var cache = builder.AddRedis("cache");
var api = builder.AddNodeApp("api", "./api", "src/index.ts")
.WithReference(cache)
.WaitFor(cache)
.WithHttpEndpoint(env: "PORT")
.WithExternalHttpEndpoints();
builder.AddViteApp("frontend", "./frontend")
.WithReference(api)
.WaitFor(api);
builder.Build().Run();
TypeScript (apphost.ts)
import { createBuilder } from './.aspire/modules/aspire.js';
const builder = await createBuilder();
const cache = await builder.addRedis("cache");
const api = await builder
.addNodeApp("api", "./api", "src/index.ts")
.withReference(cache)
.waitFor(cache)
.withHttpEndpoint({ env: "PORT" })
.withExternalHttpEndpoints();
await builder
.addViteApp("frontend", "./frontend")
.withReference(api)
.waitFor(api);
await builder.build().run();
Getting started
Install the Aspire CLI
To install the latest released version of the Aspire CLI:
On Windows:
irm https://aspire.dev/install.ps1 | iex
On Linux or macOS:
curl -sSL https://aspire.dev/install.sh | bash
[!NOTE] If you want to use the latest daily builds instead of the released version, follow the instructions in docs/using-latest-daily.md.
Useful links
- Documentation
- Build your first app
- Build status
- Aspire samples repository
- Developer Control Plane (DCP)
- Dogfooding pull requests
What is in this repo?
This repo contains the Aspire CLI, AppHost SDK, dashboard, service discovery infrastructure, project templates, integrations, and VS Code Extension.
Contributing
Follow docs/contributing.md for working in the repository.
Reporting security issues and security bugs
Security issues and bugs should be reported privately, via email, to the Microsoft Security Response Center (MSRC) [email protected]. You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Further information, including the MSRC PGP key, can be found in the Security TechCenter. You can also find these instructions in this repo's Security doc.
Note on containers used by Aspire resource and client integrations
The Aspire team cannot evaluate the underlying third-party containers for which it provides API support for suitability for specific customer requirements.
You should evaluate whichever containers you chose to compose and automate with Aspire to ensure they meet your, your employers or your government’s requirements on security and safety as well as cryptographic regulations and any other regulatory or corporate standards that may apply to your use of the container.
License
The code in this repo is licensed under the MIT license.
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
560,836 starspublic-apis/public-apis
A collective list of free APIs
497,082 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
441,526 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,157 stars