Skip to main content

Build Cloud-Ready Apps with .NET Aspire

A cloud-ready framework for building observable, production-ready distributed applications. Define your app model in code, orchestrate locally, and deploy anywhere.

Quick Start

Get up and running with .NET Aspire in minutes

1

Install the Aspire CLI

Install the Aspire CLI using the installation script for your platform:
irm https://aspire.dev/install.ps1 | iex
The CLI provides everything you need to create, run, and deploy Aspire applications.
2

Create a new Aspire app

Create your first Aspire application using the starter template:
aspire init my-aspire-app
cd my-aspire-app
This creates a new solution with an AppHost project and a starter web application, fully configured with service defaults.
3

Run your application

Launch your application with a single command:
aspire run
The Aspire dashboard opens automatically, showing your running services, logs, traces, and metrics in real-time.
The dashboard runs at http://localhost:18888 by default and provides live telemetry from all your services.

Explore by Topic

Learn about Aspire’s core capabilities and how to use them

App Model

Learn how Aspire models distributed applications as a graph of resources with explicit dependencies

Service Discovery

Understand how services discover and communicate with each other automatically

Dashboard

Explore the built-in dashboard for monitoring logs, traces, and metrics

Telemetry

Configure structured logging, distributed tracing, and metrics collection

Integrations

Connect to databases, messaging systems, and cloud services with 40+ integrations

PostgreSQL

Add PostgreSQL databases to your application

Redis

Integrate Redis for caching and pub/sub

RabbitMQ

Use RabbitMQ for reliable messaging

SQL Server

Connect to SQL Server databases

Kafka

Build event-driven apps with Kafka

Azure Services

Deploy and integrate with Azure

Resources

Additional resources to help you succeed with .NET Aspire

CLI Reference

Complete command reference for the Aspire CLI

API Reference

Explore the full Aspire API surface

GitHub Repository

View source code, report issues, and contribute

Sample Applications

Explore sample apps and patterns

Ready to Build?

Start building production-ready distributed applications with .NET Aspire today

Get Started Now

Build docs developers (and LLMs) love