It's our 2nd Birthday! 🎉
Everything 40% off with code BIRTHDAY2! (Excl. Team and VS Pro)
00
Days
00
Hrs
00
Min
00
Sec
Get 40% off anything!

Getting Started: .NET Aspire

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

.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.

Curriculum

Welcome (03:20)

What will you learn in this course? (01:57)

Who is the course for and prerequisites (01:29)

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)

Course Info

Level:
Getting Started
Duration:
4h 20m
Rating (New):
star

Lifetime access

Add to Cart
Dometrain Pro

Want access to all of our courses? Subscribe to Dometrain Pro!

Try it for free!

About the Author

author_img

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.

More courses by Dan Clarke