About .Net Aspire WithExternalHttpEndpoints()
Hi I'm adding Aspire orchestration to my solution which only contains a WebApi with a bunch of REST endpoints. But when I launch it over the AppHost, I'm unable to reach the rest endpoints (note: when a launch the project seperatly and place all connections string myself, everything works just fine). So obviously I have not understand a key point about aspire Routing :catderp: then I created a little dummy project with just one postgres container and plain Identity Endpoints to test it ... and the same result. I hope somebody can help me :nekojail:
6 Replies
Can you share a video of what goes wrong?
Hi, sure 🙂 First you see a snipped where I run the WebApi project directly
And this is the way it behaives, when I launch it with Aspire.
@davidfowl do you have any idea? I guess I'm missing some sort of MacOS specific setup?
Looks like it mostly works but you’re running into https://github.com/dotnet/aspnetcore/issues/57332
GitHub
Server URLs in OpenAPI document are incorrect when application used...
Is there an existing issue for this? I have searched the existing issues Describe the bug When an OpenAPI document is being used as part of an application running with .NET Aspire, the servers arra...
Thank's, that totally fixed it