Shako Turashvili

From Painful to Easy: Discover .NET Aspire

What if orchestrating your entire distributed app took minutes, not hours? Discover how .NET Aspire makes it a reality.

From Painful to Easy: Discover .NET Aspire
#1about 1 minute

The pain of local development for multi-component applications

Setting up and wiring together multiple services and infrastructure like databases and caches for local development is a common and time-consuming challenge.

#2about 3 minutes

What is .NET Aspire and what problems does it solve

.NET Aspire is an opinionated stack with templates and tools that simplifies building distributed, cloud-native applications by codifying best practices.

#3about 1 minute

Using the lightweight local orchestrator for development

Aspire provides a developer-focused orchestrator that defines an application's blueprint, runs all components, and wires up dependencies automatically for a smooth local experience.

#4about 1 minute

Understanding hosting and client integration packages

Aspire integrations are NuGet packages that simplify connecting to services like Redis or SQL Server, providing health checks, resilience, and telemetry by default.

#5about 4 minutes

How to integrate Aspire into an existing .NET solution

You can add Aspire to an existing project by introducing the AppHost and Service Defaults projects using the provided templates.

#6about 5 minutes

Defining the application blueprint in the AppHost project

The AppHost project uses a fluent API to define all projects, containerized infrastructure like Redis, and their inter-dependencies in a single C# file.

#7about 1 minute

Connecting to infrastructure with client integration packages

Aspire's client integration packages replace manual connection string management with simple dependency injection extensions like `AddRedisClient`.

#8about 2 minutes

Gaining visibility with the .NET Aspire Dashboard

The Aspire Dashboard provides a unified view of all running projects and containers, their logs, endpoints, and environment variables.

#9about 4 minutes

Applying cross-cutting concerns with the Service Defaults project

The Service Defaults project provides a central place to configure common services like OpenTelemetry, health checks, and resilience for all applications in the solution.

#10about 4 minutes

Debugging distributed systems with structured logs and traces

The dashboard's structured logging and distributed tracing capabilities allow you to filter logs and follow a single request's lifecycle across multiple services.

#11about 1 minute

Deploying the entire application stack with a single command

The Aspire application blueprint can be used to generate a manifest for deploying the entire multi-component application and its infrastructure to a cloud provider like Azure.

Related jobs
Jobs that call for the skills explored in this talk.

Featured Partners

Related Articles

View all articles
CH
Chris Heilmann
With AIs wide open - WeAreDevelopers at All Things Open 2025
Last week our VP of Developer Relations, Chris Heilmann, flew to Raleigh, North Carolina to present at All Things Open . An excellent event he had spoken at a few times in the past and this being the “Lucky 13” edition, he didn’t hesitate to come and...
With AIs wide open - WeAreDevelopers at All Things Open 2025

From learning to earning

Jobs that call for the skills explored in this talk.

DevOps - Azure

Arelance

Remote
24-30K
Intermediate
Azure
DevOps
Kubernetes
+1