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