1 write to Port
Aspire.Hosting (1)
ApplicationModel\AllocatedEndpoint.cs (1)
59
Port
= port;
7 references to Port
Aspire.Hosting (5)
ApplicationModel\AllocatedEndpoint.cs (1)
110
public string EndPointString => $"{Address}:{
Port
}";
ApplicationModel\EndpointReference.cs (1)
78
public int Port => AllocatedEndpoint.
Port
;
Devcontainers\DevcontainerPortForwardingLifecycleHook.cs (1)
54
endpoint.AllocatedEndpoint!.
Port
,
Orchestrator\ApplicationOrchestrator.cs (2)
223
url = new ResourceUrlAnnotation { Url = $"{allocatedEndpoint.UriScheme}://{address}:{allocatedEndpoint.
Port
}", Endpoint = endpointReference };
229
url = new ResourceUrlAnnotation { Url = $"{allocatedEndpoint.UriScheme}://{endpoint.TargetHost}:{allocatedEndpoint.
Port
}", Endpoint = endpointReference };
Aspire.Hosting.Tests (2)
SlimTestProgramTests.cs (2)
60
Assert.Equal(endpoint.Port, endpoint.AllocatedEndpoint.
Port
);
79
Assert.Equal(endpoint.Port, endpoint.AllocatedEndpoint.
Port
);