Closed BoBiene closed 9 months ago
Hi there,
I would like to use .NET Aspire for my project and I'm trying to accomplish the following:
Define all needed resources in AppHost like
In local dev environment on debugging it works fine containers are running and the required connection strings are injected to my services.
How can I now do the deployment to azure with azd and point to existing managed services?
azd provision
if (builder.Environment.IsDevelopment())
and doesn’t support this yet but we’re working through a design for this.
cc @mitchdenny @ellismg
Closing as dupe of https://github.com/dotnet/aspire/issues/1757
Hi there,
I would like to use .NET Aspire for my project and I'm trying to accomplish the following:
Define all needed resources in AppHost like
In local dev environment on debugging it works fine containers are running and the required connection strings are injected to my services.
How can I now do the deployment to azure with azd and point to existing managed services?
azd provision
it creates a mongodb container in the azure environmentif (builder.Environment.IsDevelopment())
but it does not work.