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.
.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.
no description shared
.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.
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.
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.
Join the .NET Aspire Standup as Jose Perez Rodriguez teaches Maddy and Jon about how .NET Aspire actually works!
Create and Deploy .NET Aspire project using Visual Studio and Azure Developer CLI (AZD)
Scott Hunter delivers a keynote at VS Live 2024 at Microsoft headquarters : Introducing .NET Aspire - Cloud Native Development for .NET