Try out this sample and build using aspirate generate --output-format compose && aspirate build
Disable the angular project by remvoing it from AppHost (if you're having versioning issues like me)
https://github.com/dotnet/aspire-samples/tree/main/samples/AspireWithJavaScript
When the docker compose is run, the error will be thrown in the log.
🧯 Possible Solution
Create a wrapper Program.cs that injects the address. However, I've failed to find the address behind the named endpoint
🔥 Bug Description
A javascript frontend application can't find the named endpoint.
🔍 Steps to Reproduce the Bug
Try out this sample and build using
aspirate generate --output-format compose && aspirate build
Disable the angular project by remvoing it from AppHost (if you're having versioning issues like me) https://github.com/dotnet/aspire-samples/tree/main/samples/AspireWithJavaScript When the docker compose is run, the error will be thrown in the log.🧯 Possible Solution
Create a wrapper
Program.cs
that injects the address. However, I've failed to find the address behind the named endpoint