Azure-Samples / Azure-Samples/azure-sql-db-aspire

Does WaitForCompletion work on deployment?

Open
#8 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
35
Forks
8
PR merge metrics
No merged PRs in 30d

Description

I'm trying to figure out if these examples will work reliably when deploying to Azure.
The readme mentions using `azd up`, so I assume so.
However, these samples use `WaitForCompletion` which the docs say only work for local development.
https://github.com/Azure-Samples/azure-sql-db-aspire/blob/26fe0464933fe14cfb4f07b3a9dc53b0581b4202/hostedss%20-%20dbup/AspireApp1.AppHost/Program.cs#L29
Are those docs wrong or will these examples have issues in production while the migrations are running?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.