Some guidance on deployment to Azure Container Apps please? #6777
-
Hi, I've been working my way around Aspire for the past few weeks, and can mostly get things to work (I'm working in version 9 now). I have an application that works fine locally by provisioning my database as follows: var sqldb = builder When I deploy this to ACA using azd, all works fine - a sql container is created. However, I really want to use an Azure SQL Database so locally I set this as follows: var sqldb = builder with the following in appsettings.json "ConnectionStrings": { That all works fine locally, but not when I deploy to ACA - the connection apparently doesn't get found. Can anyone please advise on the steps I need to take to make this work? Many thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This might help: https://learn.microsoft.com/en-us/dotnet/aspire/fundamentals/integrations-overview Edit: https://learn.microsoft.com/en-us/dotnet/aspire/azure/integrations-overview?tabs=dotnet-cli |
Beta Was this translation helpful? Give feedback.
This might help:
https://learn.microsoft.com/en-us/dotnet/aspire/fundamentals/integrations-overview
Edit:
https://learn.microsoft.com/en-us/dotnet/aspire/azure/integrations-overview?tabs=dotnet-cli