.NET Aspire Tutorials

Customizing Keycloak with Aspire - Part 2

In my last article, I introduced the Keycloak identity service and showed how the development version can be easily integrated into a project. Development services get you started quickly and allow you to defer the details until later on. At some point, however, you need to take control of your service and start working towards production.

How to persist data for a SQL Server resource in .NET Aspire

This #dotnet #tutorial shows how to persist data for a SQL Server resource in .NET Aspire app host project. We start with a solution from a previous video • .NET Aspire SqlServer Entity Framewor... and configure a volume for a #sql Server resource using WithBindMount. Next, a database is created using SQL Server Configuration Manager and a script to add test tables is ran. Finally, we show that the database has not been lost between AppHost project runs.

Visualizing Performance: OpenTelemetry Metrics in Grafana with .NET Aspire

.NET Aspire makes it easier for developers to get started in building distributed applications. It also includes metrics with Open Telemetry and enables easy reporting through Grafana. In this webinar, we’ll explore how to work with Grafana and how you can use this to get better insights on your .NET Aspire applications.

Adding .NET Aspire to 2D6 Dungeon-App

no description shared

Integrating Keycloak with Aspire - Part 1

In my series on ASP.NET Identity, I mentioned (several times) that you should be using Keycloak, Auth0, Corbado, or another identity service instead of rolling your own. That’s all good, but I left it up to you to figure out exactly how to do that. I thought it would be a good idea to configure an Aspire project from the beginning and show how authentication and authorization with a service works.

End-to-end integration testing with .NET Aspire

.NET Aspire is great for building distributed applications, defining all the resources, how they reference each other, and starting all the containers and projects. But integration testing can still be tricky as you need that whole environment setup as well. Don't worry, .NET Aspire is here to help, let's take a look at how to use the testing features it provides.

Getting started with testing and .NET Aspire - .NET Blog

Learn how to improve your software development process with automated testing in .NET Aspire. This post covers the basics of getting started, writing tests for distributed applications, and ensuring your services run smoothly.

Simplifying Local Development Environment and Testing with .NET Aspire.

In addition to simplifying environment setup, this guide walks us through writing robust integration tests. These tests ensure all components work well together and catch potential issues early in the development process. We’ll also learn how to incorporate these tests into a continuous integration (CI) pipeline, ensuring the code is consistently validated and error-free before it reaches production.

Implement a Geo-distance search using .NET Aspire, Elasticsearch and ASP.NET Core

This article shows how to implement a geo location search in an ASP.NET Core application using a LeafletJs map. The selected location can be used to find the nearest location with an Elasticsearch …

Integrating .NET Aspire With Azure Storage

Today, we will talk about integrating our Aspire apps with Azure Storage. We will start by looking at Azure Table Storage and then move on to Blob Storage.