Define dependencies between projects for ready checks #2873
-
Having dependencies between projects, such as with a database migration https://github.com/dotnet/aspire-samples/tree/main/samples/DatabaseMigrations, is it possible to define dependencies, such as the API service is only available for requests when the migrations project finished? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
No there’s no support for dependencies |
Beta Was this translation helpful? Give feedback.
-
@davidfowl this could be interesting e.g. with an EF Core migrations project that needs to run before the main container. This would be solved with init containers support #2866 with Azure Container Apps where the init container runs in the same app. I don't know what the equivalent would be with Kubernetes. |
Beta Was this translation helpful? Give feedback.
No there’s no support for dependencies