5 references to AllocatedPort
Aspire.Hosting (4)
Dcp\DcpExecutor.cs (3)
965
if (!sp.EndpointAnnotation.IsProxied && svc.
AllocatedPort
is null)
975
(int)svc.
AllocatedPort
!,
1047
var port = _options.Value.EnableAspireContainerTunnel ? (int)ts.Service!.
AllocatedPort
! : serverSvc.EndpointAnnotation.AllocatedEndpoint!.Port;
Dcp\Model\Service.cs (1)
91
public bool HasCompleteAddress =>
AllocatedPort
> 0 && !string.IsNullOrEmpty(AllocatedAddress);
Aspire.Hosting.Tests (1)
Dcp\DcpExecutorTests.cs (1)
2237
int port = svc.
AllocatedPort
!.Value;