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