.NET Aspire Tutorials

Structured logging using .NET Aspire orchestration for graphql APIs

With the rise of .NET Aspire, Microsoft’s orchestration and development layer for building cloud-native distributed applications, logging and observability are now first-class citizens. In this post, we'll walk through how to implement structured logging using .NET Aspire orchestration for GraphQL APIs powered by HotChocolate.

Keycloak Tutorial Part 2: Clone and F5 Ready With .NET Aspire

What if Keycloak could start automatically with your app, pre-configured with the exact realms and clients your application needs? What if all connection details were wired up automatically for both backend and frontend? That’s exactly what .NET Aspire makes possible. Today, I’ll show you how to take everything we built in the previous tutorial and make it truly clone-and-F5 ready.

.NET Aspire - Project Names and Constants

You've started adding more projects to your .NET Aspire system, and there's a lot of these 'magic strings' floating around with the names of projects and services. How can we take advantage of a centralized naming of these services by introducing a set of constants and reference them in our .NET Aspire managed system? In this video, we're going to customize how we name our projects and reference them throughout our .NET Aspire system.

Custom Metrics with .NET Aspire

You've built your first .NET Aspire application, but what's next? In this video, we'll explore adding custom metrics to your application to measure the performance of a feature. We'll then see how this metric is surfaced on the .NET Aspire dashboard

How to Generate Architecture Diagrams and Documentation from .NET Aspire Host Definitions Using GitHub Copilot

Today we’re diving into a fun and productive scenario: automatically generating architecture diagrams and technical documentation for your .NET Aspire applications based on the Host project definitions. We’ll take a the example that is generated with the .NET Aspire Starter Kit and use GitHub Copilot, Mermaid, and Copilot Coding Agents to build an intelligent documentation flow.

Technical Deep Dive into .NET Aspire

In this in-depth session, Glenn pulls back the curtain on .NET Aspire, exploring what makes it tick and why it’s such a powerful and extensible platform for cloud-native .NET apps. From a high-level overview of what an Aspire app looks like, to the under-the-hood mechanics of how Aspire runs your application host, you’ll gain a complete understanding of the core concepts, architecture, and techniques behind the platform.

Write Elegant Integration Tests Correctly in .NET

In this video, Gui will show you how you can get started with integration testing in .NET with .NET Aspire. From the launch of Aspire I have been saying that it will be a perfect tool for integration and acceptance testing and we finally have all the tools to investigate this claim.

How to Have GitLab CI/CD for a .NET Aspire Project

Getting a complete CI/CD pipeline for your .NET Aspire solution doesn't have to be complicated. I've created a template that gives you everything you need to get started in minutes.

Custom Tracing with .NET Aspire

You've built your first .NET Aspire application, but what else can you do beyond the default template? In this video, we'll talk about adding custom tracing to your application and how it appears on the .NET Aspire dashboard

Docker Compose for .NET Aspire? New Aspire Publisher Explained

In this video, I walk you through how to publish and deploy a .NET Aspire application using the new Aspire Docker Compose publisher.