6 references to NormalizePort
Aspire.Hosting (6)
ApplicationModel\ResourceExtensions.cs (2)
851var publicPort = EndpointAnnotation.NormalizePort(endpoint.Port); 852var configuredTargetPort = EndpointAnnotation.NormalizePort(endpoint.TargetPort);
Dcp\DcpExecutor.cs (1)
798EndpointAnnotation.NormalizePort(endpoint.TargetPort) is not null)
Dcp\DcpModelUtilities.cs (2)
37if (EndpointAnnotation.NormalizePort(endpoint.TargetPort) is null) 60var effectivePublicPort = EndpointAnnotation.NormalizePort(resource.IsContainer() ? endpoint.SpecifiedPort : endpoint.Port);
Dcp\PersistentPortAllocator.cs (1)
135EndpointAnnotation.NormalizePort(endpoint.TargetPort) is int fixedTargetPort)