1 write to Address
Aspire.Hosting (1)
ApplicationModel\AllocatedEndpoint.cs (1)
62Address = address;
10 references to Address
Aspire.Hosting (6)
ApplicationModel\AllocatedEndpoint.cs (1)
127public string EndPointString => $"{Address}:{Port}";
ApplicationModel\EndpointReference.cs (4)
203public string Host => AllocatedEndpoint.Address ?? KnownHostNames.Localhost; 379EndpointProperty.Host => new(allocatedEndpoint.Address), 380EndpointProperty.IPV4Host => new(allocatedEndpoint.Address), 383EndpointProperty.HostAndPort => new($"{allocatedEndpoint.Address}:{allocatedEndpoint.Port.ToString(CultureInfo.InvariantCulture)}"),
Orchestrator\ApplicationOrchestrator.cs (1)
348EndpointBindingMode.SingleAddress when !allocatedEndpoint.Address.Equals(endpoint.TargetHost, StringComparison.OrdinalIgnoreCase) => new ResourceUrlAnnotation
Aspire.Hosting.DevTunnels.Tests (1)
DevTunnelResourceBuilderExtensionsTests.cs (1)
636Assert.Equal("n4skq32k-3000.use.devtunnels.ms", tunnelPort.TunnelEndpointAnnotation.AllocatedEndpoint?.Address);
Aspire.Hosting.Tests (3)
Dcp\DcpExecutorTests.cs (1)
8922Assert.Equal(address, allocatedEndpoint.Address);
WithEndpointTests.cs (2)
821Assert.Equal("localhost", endpoint.AllocatedEndpoint.Address); 855Assert.Equal("localhost", endpoint.AllocatedEndpoint.Address);