Category: Aspire
-
Aspire,containers and dotnet watch
Aspire is the new visualizer – see https://github.com/dotnet/aspire If you use dotnet run ( or Visual Studio) with an Aspire host that instantiate some containers ,then,when you stop the project,the container is released. But,if you use dotnet watch run –no–hot–reload then the containers are not deleted. The nice solution is to investigate dotnet watch and Aspire…
-
Aspire,Sql Server Docker Container and multiple Connections strings
Aspire is the new visualizer – see https://github.com/dotnet/aspire When creating a Docker container with Sql Server,the connection that is returned is without database – means that,usually,is connecting to the master. That’s not that we usually want,so the following code is means that WebAPI will be connected to master Instead,do what they do – but add…