You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Fix port/targetport fallback logic in proxyless path
Fixes#4225
* Add tests for port/targetport logic
* Allow caller to set Port/TargetPort to null
* Make the tests cover more scenarios
radical
pushed a commit
to radical/aspire
that referenced
this issue
May 22, 2024
* Fix port/targetport fallback logic in proxyless path
Fixesdotnet#4225
* Add tests for port/targetport logic
* Allow caller to set Port/TargetPort to null
* Make the tests cover more scenarios
Suppose you have something like:
The intent is to have the TargetPort defaults to the Port, per
aspire/src/Aspire.Hosting/ApplicationModel/EndpointAnnotation.cs
Lines 51 to 68 in 5f2af96
But this breaks because that logic happens in the ctor, before the callback is called. So we end up without a DefaultPort, which blows up at runtime.
The text was updated successfully, but these errors were encountered: