6 references to AllocatedPort
Aspire.Hosting (5)
Dcp\DcpExecutor.cs (4)
1029
if (!sp.EndpointAnnotation.IsProxied && svc.
AllocatedPort
is null)
1039
(int)svc.
AllocatedPort
!,
1073
(int)svc.
AllocatedPort
!,
1127
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)
2242
int port = svc.
AllocatedPort
!.Value;