.NET Aspire Tutorials

Generate PDFs with a Container using .NET Aspire

Learn how to generate PDF documents using IronPdf in a Docker container with .NET Aspire. Discover step-by-step instructions creating high-quality PDFs programmatically. We'll configure our .NET Aspire solution to host the IronPdfEngine with a container and delegate generation of the PDF to that service. Additionally, we'll wrap out PDF generation methods in OpenTelemetry Traces and Meters to assist in observing the performance of our website.

Integration-testing .NET Aspire Apps

.NET Aspire doesn’t only allow developers to build distributed orchestrated applications relatively easily compared to other equivalent technologies, but it also makes it easy to write integration tests against these applications.

Immersive APM Showcase - Integration with .NET Aspire

Showcase of how we can add a real-time immersive experience with Immersive APM to an .NET Aspire project.

Building a Custom Reverse Geocoding Resource for .Net Aspire

This post will start with a high level background on reverse geocoding, OpenStreetMap and Nominatim as a locally hosted geocoding and reverse geocoding API. We will then cover how to build an Aspire Resource for Nominatim and go through the building blocks. Initially we will focus on the basics.

Aspire Three Ways to Implement Service Discovery for Non-.NET APIs micro-services

Aspire provides three resource types: Project, Container, and Executable. However, service discovery is only enabled by default for Project resources. Here, we demonstrate Aspire's non-.NET Web API service discovery approach using a Bun web API (similar to Node.js). Three code examples illustrate different methods.

Orchestrate Python apps in .NET Aspire - .NET Aspire

Learn how to integrate Python apps into a .NET Aspire App Host project.

On .NET Live - Introduction to .NET Aspire with Azure Container Apps

.NET Aspire is a stack for creating distributed apps that can be deployed in several ways, including to Azure Container Apps. In this week's episode, community MVP Viswanatha Swamy shows us how to take .NET Aspire solutions from inception to deployment on Azure Container Apps. Featuring: Viswanatha Swamy (@vishipayyallore)

Add Aspire Service Defaults to a Console Chat application

It's time to learn how to add an Aspire Service Default project to a Console Chat application!

Write integration tests with .NET Aspire

This article explores the testing capabilities of .NET Aspire, Microsoft’s suite tailored for cloud applications. It guides readers through the process of setting up a sample application and integrating a test project to enhance functionality. Furthermore, it delves into simulating external services using WireMock.Net and .NET Aspire.

Keynote: Introducing .NET Aspire – Cloud Native Development for .NET - Scott Hunter

.NET Aspire just shipped on May 21st at the Microsoft Build conference. Come learn how this new framework transforms .NET into a modern cloud native framework adding support for Observability, Resiliency, Scalability and Manageability. We will show how to transform an existing application, show the new telemetry dashboard, show to do create local resources and resources in the cloud and how to run and deploy multi-part apps from the command line, VS Code and Visual Studio.