.NET Aspire: Let's build a cloud application with baked in observability
summary
Claim: .NET Aspire provides an opinionated developer stack that ships OpenTelemetry baked in so logs, metrics and traces are automatically collected and sent to a local OTLP endpoint and dashboard. Demo wires a Blazor site → API → RabbitMQ → worker, plus Redis cache and Postgres, uses environment-variable service discovery and built-in retry/resilience. Deployment proof-of-concept pushes the same app to Azure Container Apps via azd. Everything runs locally and in Azure for the demo (minor network hiccups noted), showing end-to-end traces, metrics and logs.
AI-written summary · about
chapters (15)
- 0:00Welcome and introduction
- 1:09What is observability?
- 9:47OpenTelemetry overview
- 21:55What is .NET Aspire?
- 28:01Demo: .NET Aspire starter project
- 43:23Setting up .NET Aspire project
- 51:23App Host and resources
- 1:00:20Service defaults and OpenTelemetry
- 1:18:59Adding Redis cache integration
- 1:49:24Adding RabbitMQ messaging
- 2:02:43Demo: Database integration
- 2:17:01Deploying to Azure with .NET Aspire
- 2:22:23Azure Functions with .NET Aspire
- 2:26:31OpenTelemetry collector demo
- 2:32:34Closing and Q&A
related talks
01h 08mCode to cloud with .NET Aspire
10mIntroducing .NET Aspire: Revolutionizing Cloud-Native Development
01h 01m.NET Aspire and AWS: a match made in heaven
54mKeynote: Introducing .NET Aspire – Cloud Native Development for .NET
01h 13mBuilding Confident Application Systems with .NET Aspire: From Dev to Deployment
01h 14mEffortless Distributed Systems With .NET Aspire
46mDemystify cloud-native development with .NET Aspire
48mKeynote: Introducing .NET Aspire – Cloud Native Development for .NET
