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