.NET Aspire Tutorials

Integrating Unity3D into .NET Aspire with `Aspire.Unity`

.NET Aspire is a new application model for building distributed apps with cloud-native building blocks. It’s great for wiring together APIs, databases, and background workers. But what if you also want to bring Unity3D into the mix?

Building a GraphQL API with AWS AppSync Using Direct Lambda Resolvers in .NET | Amazon Web Services

GraphQL APIs enables clients to request specific data sets, reducing over-fetching compared to traditional REST APIs, which return fixed data structures with unnecessary fields. Unlike REST APIs that require multiple endpoints and round trips to gather related data, GraphQL provides a single endpoint.

Using Visual Studio Code with Aspire and Blazor

You can use Blazor with Aspire and Visual Studio Code.

Add .NET Aspire to an existing .NET app

This article demonstrates adding Aspire to manage microservices, containers, and dependencies. Centralize orchestration, simplify dependency management, and improve observability by creating an AppHost project. Discover how Aspire solves manual startup, scattered logs, and configuration complexities, providing a unified development experience with environment variable injection and service discovery.

Speed Up Your Stripe Dev Loop With .NET Aspire

Working with webhooks is not my favorite task, especially when you need extra tooling for your regular dev loop. This is the case with Stripe webhooks, which work great until you forget to start your Stripe CLI process to listen for events and forward them to your .NET webhook endpoint. What if your Stripe CLI could start automatically alongside your .NET API as a single coordinated system?

Standalone Aspire Dashboard Setup for Distributed .NET Applications

Learn how to run the Aspire Dashboard as a standalone container for instant traces, logs, and metrics in your .NET applications.

Running OPC UA server simulation in dotnet aspire

.NET Aspire provides an ideal environment for orchestrating microservices and dependencies, making it a great fit for hosting a simulated OPC UA server. For the server simulation, I use the free and open-source OPC PLC provided by Microsoft. While it’s possible to run the server from source, I prefer using the containerized version published on the Microsoft Container Registry (MCR), which integrates more easily into an Aspire-based solution.

Custom domains with Aspire

Let's take a look at how to configure Aspire to deploy your custom domain name, certificate, and use GitHub actions to automate all of it. We'll then replicate this to deploy multiple environments from our Aspire configuration

Building Generative AI Applications With GitHub Models and .NET Aspire

Discover how to integrate AI into your .NET applications in under an hour using GitHub Models and .NET Aspire 9.4. I'll walk you through building a simple AI-powered blog analyzer that automatically categorizes your content.

Upgrade Your .NET AI App: Aspire 9.4 + Azure AI Foundry

In this video, we’ll take the eShopLite main scenario and upgrade it to .NET Aspire 9.4 while leveraging the latest GPT-5 models.