1 write to Port
Aspire.Hosting (1)
ApplicationModel\AllocatedEndpoint.cs (1)
59Port = port;
9 references to Port
Aspire.Hosting (7)
ApplicationModel\AllocatedEndpoint.cs (1)
110public string EndPointString => $"{Address}:{Port}";
ApplicationModel\EndpointReference.cs (3)
92public int Port => AllocatedEndpoint.Port; 208EndpointProperty.Port => new(allocatedEndpoint.Port.ToString(CultureInfo.InvariantCulture)), 210EndpointProperty.HostAndPort => new($"{allocatedEndpoint.Address}:{allocatedEndpoint.Port.ToString(CultureInfo.InvariantCulture)}"),
Devcontainers\DevcontainerPortForwardingLifecycleHook.cs (1)
45endpoint.AllocatedEndpoint!.Port,
Orchestrator\ApplicationOrchestrator.cs (2)
240Url = $"{allocatedEndpoint.UriScheme}://{endpoint.TargetHost}:{allocatedEndpoint.Port}", 249Url = $"{allocatedEndpoint.UriScheme}://{Environment.MachineName}:{allocatedEndpoint.Port}",
Aspire.Hosting.Tests (2)
SlimTestProgramTests.cs (2)
60Assert.Equal(endpoint.Port, endpoint.AllocatedEndpoint.Port); 79Assert.Equal(endpoint.Port, endpoint.AllocatedEndpoint.Port);