Getting Started: .NET Aspire

Get started with .NET Aspire, the future of .NET development

About This Course

.NET Aspire is Microsoft's vision for how every .NET developer will develop systems. It is a cloud-ready stack for production-ready, distributed applications using .NET, and it makes it extremely easy to develop, run, and test your systems locally. With unmatched dev-time orchestration, integrations with third-party services, and excellent tooling, .NET Aspire aims to make working with the cloud and technologies like Docker and Kubernetes easier than ever. In this course, Dan Clarke will assume you have no knowledge of what .NET Aspire is and get you started with everything there is to learn about the stack and what it can do. It's quickly becoming a job requirement, so check out this course and get ahead of the curve.

Course Curriculum

4h 20m 12 sections
Welcome
03:20 Free preview
What will you learn in this course?
01:57 Free preview
Who is the course for and prerequisites
01:29 Free preview
Tooling across IDEs and editors
13:47
The Aspire CLI
02:15
The Aspire Dashboard
08:53
So why use Aspire?
05:32
Introducing the podcast listing webapp
07:06
Adding the AppHost project
09:30
Adding the ServiceDefaults project
09:05
What are integrations?
02:49
Adding the database
09:29
Seeding the database
03:37
Exploring some other integrations
03:05
How does Service Discovery work?
07:33
Aspire networking
05:44
Parameters: config, secrets, and connection strings
07:36
App host and dashboard configuration options
01:38
Adding a rating service to our podcast app
04:02
What is OpenTelemetry?
02:38
Structured Logs
05:00
Metrics
04:24
Traces and Spans
21:32
Health Checks
08:30
Eventing in Aspire
08:19
Testing in Aspire
07:50
Introduction
01:09
The manifest file
05:04
Publishers (and a docker-compose demo)
04:00
Deploying Azure with azd
11:53
Understanding Run vs Publish modes
11:10
Deploying Kubernetes applications (new publisher version)
15:38
Deploying Kubernetes applications (Aspir8)
05:33
Closing thoughts on deploying with Aspire
00:56
Persist Aspire data using volumes or bind mounts
08:33
Custom Resource Commands
02:28
Running non .NET apps
11:20
Running images and custom Dockerfiles
10:06
Custom Resource URLs
03:55
Conclusion
00:53

Meet Your Instructor

Dan Clarke

Dan Clarke

Dan Clarke is an independent software developer and consultant, specialising in .NET, Azure, Docker, and Kubernetes. He's a Microsoft MVP; speaker; hosts The Unhandled Exception podcast; runs the .NET Oxford user-group; and also has a YouTube channel covering various programming topics.

View all courses by Dan Clarke

What's New

Deep Dive: Solution Architecture
course

Deep Dive: Solution Architecture

Master solution architecture and turn business needs into scalable, maintainable systems.

Learn More
Migrating: ASP.NET Web APIs to ASP.NET Core
course

Migrating: ASP.NET Web APIs to ASP.NET Core

A step-by-step process to migrate ASP.NET Web APIs from .NET Framework to ASP.NET Core.

Learn More
Getting Started: Caching in .NET
course

Getting Started: Caching in .NET

Let's make the hardest thing in programming easy for .NET software engineers.

Learn More
From Zero to Hero: Testing with xUnit in C#
course

From Zero to Hero: Testing with xUnit in C#

Learn how to test any codebase in .NET with the latest version of xUnit, the industry-standard testing library.

Learn More
Create a ChatGPT Console AI Chatbot in C#
blog

Create a ChatGPT Console AI Chatbot in C#

This walkthrough is your hands-on entry point to create a basic C# console application that talks to ChatGPT using the OpenAI API.

Learn More