.NET Aspire Tutorials

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.

Migrating from Tye to .Net Aspire

This is the part 14 of the series: .NET Microservice with ABP. When I started this series I used Tye to manage the run the services because that was the only viable option at that time but Tye is abandoned by Microsoft and it is not recommended to use it for the new projects. The recommended migration path from Tye is to use Aspire. In this post, we will see how to migrate the Tye to Aspire.

Use Azure services to build and deploy apps with .NET Aspire - Training

Learn how to use Azure services with .NET Aspire.

Enhance Your Development with Multi-Repo Support in Dotnet Aspire

.NET Aspire is renowned for its robust support for monolithic repositories, allowing developers to manage large codebases efficiently. However, managing multiple repositories, or poly repos, can be challenging. Enter Aspire.PolyRepo, a .NET Aspire package designed to bridge this gap and provide seamless multi-repo support.

Simplify Your .NET Aspire Caching With Metalama

Learn how to cache method results in a .NET Aspire distributed cloud-native app with minimal boilerplate in this step-by-step guide.