.NET Aspire Sample Code

Persistent logs and traces for .NET Aspire

This post continues on from a previous post, enhancing .NET Aspire observability with Seq. Since that post was published, a Seq component has been included in .NET Aspire, making it even easier to include Seq in your .NET Aspire solution.

EventGrid Webhooks using .NET Aspire

The code in this repository shows publish and subscribe to events using event grid in .NET Aspire. The code is made up of 2 applications, EventGridDemo.Publisher and EventGridDemo.Api. The publisher application publishes events to the event grid topic, and the API application listens for events from the event grid topic.

Aspire Goes Unreal

AspireGoesUnreal is a powerful tool that allows the Unreal Engine to leverage the capabilities of the .NET Aspire framework. This plugin is designed to provide a seamless integration between Unreal Engine and .NET Aspire, enabling developers to create more complex and robust games and applications.

Garnet support now available

Microsoft Garnet support is now available! Garnet is a remote cache-store from Microsoft Research that offers strong performance (throughput and latency), scalability, storage, recovery, cluster sharding, key migration, and replication features. Garnet can work with existing Redis clients.

WaitingForDependencies in .NET Aspire

This examples shows how to extend the .NET Aspire application model to enable waiting for dependencies to be available before starting the application. It uses ASP.NET Core's health checks API to determine if specific resources are available after they are considered running.

Database migrations with Entity Framework Core sample app

This sample demonstrates how to use Entity Framework Core's migrations feature with Aspire.

Testing .NET Aspire apps

In this article, you'll learn how to create a test project, write, and run tests for your .NET Aspire apps. The tests in this article are not unit tests, but rather functional or integration tests. .NET Aspire include an xUnit testing project template that you can use to test your .NET Aspire apps. The testing project template is based on the xUnit testing framework and includes a sample test that you can use as a starting point for your tests.

Official .NET Aspire Samples

Official Samples for .NET Aspire with source code.

ASP.NET Community Standup: .NET Aspire Update - April

Let's get an update from the team on the latest .NET Aspire previews!

Enhancing .NET Aspire Observability with Seq

.NET Aspire is a toolkit for development and deployment of microservice applications. It is a local orchestrator with support for deployment to production-grade orchestrators like Azure Container Apps or Kubernetes. One great thing about Aspire is the built-in local development dashboard. It shows the resources that are included in the