Enable Aspire projects to use multiple ports configured in ASPNETCORE_URLS or applicationUrl #4727
Labels
area-app-model
Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication
For our multitenant environment, we have configured multiple HTTPS ports for the API project on localhost as follows:
When we run this launch profile directly, all the specified ports are mapped and work perfectly. However, when this profile is added to the AppHost Aspire project, only the first port works:
In another ticket, I noticed that it is possible to map different ports using the applicationUrl property when the protocols (http & https) are different. However, when using the same protocol with multiple ports, only the last one works.
Is there a way to achieve this with Aspire?
Thank you!
The text was updated successfully, but these errors were encountered: