.NET Aspire Tutorials

Hosting a Keycloak Container in .NET Aspire

In the previous article, we discussed enabling single sign-on authentication in .NET Aspire. Today, you will learn how to do it using a Keycloak container.

A Guide To Securing .NET Aspire Apps

While using .NET Aspire, you will want to know how to secure your dashboard. After all, you don’t want to allow anyone to manage your applications and view their internal logs. There is a separate mechanism for securing the dashboard and this is what we will also cover today.

Adding .NET Aspire to your existing .NET apps

.NET Aspire can really simplify local development for your existing apps, large or small. In this post, we'll look at how easy it is to make your current solutions better with just a few lines of code.

How to Create a Project with .NET, OpenTelemetry, and Docker Using .NET Aspire for Logs

Hello, devs! Today, we’re embarking on an exciting journey: creating a simple project using .NET 8, setting up OpenTelemetry to instrument our ASP.NET Core and HTTP, and finally, deploying our application in a Docker environment. Additionally, we’ll use .NET Aspire to monitor our application’s logs. This tutorial is ideal for both beginners and experienced developers looking to explore new tools and practices.

Secure your PDFs in a Container with .NET Aspire

Let's build on our previous video and use a new product from IronSoftware called IronSecureDoc that allows you to redact, certify, and even password protect your PDFs with a container hosted service. We'll use a similar technique to what we did last time to add this new product to our .NET Aspire system and learn about protecting our PDF documents.

Simplifying Remote Docker Container Connections in .NET Aspire with SSH.Net

When using remote docker host, we can also do port forwarding via SSH which simplifies the setup and requires less code compared to overriding connection strings for applications. When we are running the containers locally, we don't do the port forwarding and let Aspire Endpoints do the job as intended.

Generate PDFs with a Container using .NET Aspire

Learn how to generate PDF documents using IronPdf in a Docker container with .NET Aspire. Discover step-by-step instructions creating high-quality PDFs programmatically. We'll configure our .NET Aspire solution to host the IronPdfEngine with a container and delegate generation of the PDF to that service. Additionally, we'll wrap out PDF generation methods in OpenTelemetry Traces and Meters to assist in observing the performance of our website.

Integration-testing .NET Aspire Apps

.NET Aspire doesn’t only allow developers to build distributed orchestrated applications relatively easily compared to other equivalent technologies, but it also makes it easy to write integration tests against these applications.

Immersive APM Showcase - Integration with .NET Aspire

Showcase of how we can add a real-time immersive experience with Immersive APM to an .NET Aspire project.

Building a Custom Reverse Geocoding Resource for .Net Aspire

This post will start with a high level background on reverse geocoding, OpenStreetMap and Nominatim as a locally hosted geocoding and reverse geocoding API. We will then cover how to build an Aspire Resource for Nominatim and go through the building blocks. Initially we will focus on the basics.