.NET Aspire Tutorials

Introduction to .NET Aspire

.NET Aspire is an ingenious way to develop large-scale web applications and easily coordinate communication and configuration between all the various pieces.

Getting Started with .NET Aspire and SQL The Right Way

Getting started with .NET Aspire and SQL is not that simple. In this video I show you the proper way to get started with .NET Aspire and SQL, to make sure that your data is persisted across application startups, that you can efficiently apply migrations as needed and in a way that you can also use SQL Server Management Studio to connect to your database, check execution plans, queries and so on. This one will save you a lot of headaches when it comes to getting started with .NET Aspire and SQL.

Add EF Core Migrations to .NET Aspire Solutions

Adding new EF Core migrations to a solution powered by .NET Aspire

Compose Distributed Apps with .NET Aspire

Learn how to build powerful distributed applications with .NET Aspire in this insightful session with Cecil Phillip from .NET Days Online 2024! In this video, you'll discover: What .NET Aspire is and how it can streamline your development process How to use the API in the application model to compose your distributed application A deep dive into Aspire Resources, including built-in and custom resource types

Building Cloud-Native Applications with .NET Aspire: Orchestrating Microservices and SQL Server Using Docker and Kubernetes

This article explores what .NET Aspire is, its key benefits, and provides a step-by-step guide to orchestrating microservices, including SQL Server, using Docker and Kubernetes, with practical examples to highlight its application.

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.