.NET Aspire Tutorials

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.

Using Elasticsearch with .NET Aspire

This post shows how to use Elasticsearch in .NET Aspire. Elasticsearch is setup to use HTTPS with the dotnet developer certificates and and simple client can be implemented to query the data. Code:…

How to add .NET Aspire to existing an project

First, using an existing Blazor project, we add .NET Aspire Service Defaults project. The website is ran to show logging and health-check endpoint. Next, .NET Aspire App Host project is added and set as a start up project. Finally, the website is run again and the dashboard available in the AppHost project is displayed.

Hosting MongoDB in .NET Aspire

Today, you will learn how to integrate your distributed .NET Aspire application with MongoDB by using Aspire Components. We will walk through an example application that populates a MongoDB instance with some data and retrieves the data inside one of the hosted services.

.NET Aspire with VS Code, SQLite & SQL Server

In this Tutorial, we will explore .NET Aspire. At first, we will use it with SQLite. Thereafter, we will modify the solution so that it uses a SQL Server Docker image instead of SQLite. All this is done in a terminal window with the help of VS Code. The objective is to serve those who do not use the higher end Visual Studio 2022 IDE. This exercise works on Windows or Mac.

.NET Aspire Multilanguage

In this article I want to explore how we can leverage a tool such as .NET Aspire to improve the way we build and deploy distributed applications, even when we work with languages and frameworks other than .NET.