.NET Aspire Tutorials

Using SQL Database Components in .NET Aspire

We previously looked at Aspire components, special libraries used by .NET Aspire to wrap commonly used applications and infrastructure components. These libraries consist of containers, but it’s simpler to use them instead of using containers directly. After all, Aspire components were specifically designed to work in Aspire. Today, we will look at the components that represent SQL databases.

Visual Studio Live! @ Microsoft HQ 2024 - Scott Hunter Keynote

Scott Hunter delivers a keynote at VS Live 2024 at Microsoft headquarters : Introducing .NET Aspire - Cloud Native Development for .NET

.NET Aspire basics with Azure deployment

Discover the essentials of .NET Aspire and learn how to deploy your applications to Azure in this informative video!

Deploying .NET Aspire Applications to Azure and Kubernetes: A Practical Guide

As a senior software engineer with a background in .NET Core and Azure, deploying applications efficiently is crucial. In this article, I’ll walk you through deploying .NET Aspire applications to Azure and Kubernetes, highlighting real-world scenarios and best coding practices.

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.