Category: <span>Aspire</span>

Aspire Part 2. How to configure your app to use the SQL container.

This entry is part 2 of 2 in the series .NET Aspire

In Part 1, we talked about setting up a MSSQL docker container for usage in Aspire. As specified before, we setup our MSSQL container as following: The code is self explanatory, the SQL Server starts, when this is started, the API starts. It’s important to include the WithReference and WaitFor. …

Aspire Part 1. How to setup Aspire to use a local SQL Server container

This entry is part 1 of 2 in the series .NET Aspire

Aspire in an incredible powerful tool to faster start and debug your apps during development. However, to enable your devs to leverage a local SQL Server instance and have it start with Aspire, you need to setup a SQL Server running in a container. The first thing you need to …