1 write to Address
Aspire.Hosting (1)
ApplicationModel\AllocatedEndpoint.cs (1)
62Address = address;
8 references to Address
Aspire.Hosting (6)
ApplicationModel\AllocatedEndpoint.cs (1)
127public string EndPointString => $"{Address}:{Port}";
ApplicationModel\EndpointReference.cs (4)
130public string Host => AllocatedEndpoint.Address ?? KnownHostNames.Localhost; 326EndpointProperty.Host => new(allocatedEndpoint.Address), 327EndpointProperty.IPV4Host => new(allocatedEndpoint.Address), 330EndpointProperty.HostAndPort => new($"{allocatedEndpoint.Address}:{allocatedEndpoint.Port.ToString(CultureInfo.InvariantCulture)}"),
Orchestrator\ApplicationOrchestrator.cs (1)
261EndpointBindingMode.SingleAddress when !allocatedEndpoint.Address.Equals(endpoint.TargetHost, StringComparison.OrdinalIgnoreCase) => new ResourceUrlAnnotation
Aspire.Hosting.Tests (2)
WithEndpointTests.cs (2)
624Assert.Equal("localhost", endpoint.AllocatedEndpoint.Address); 658Assert.Equal("localhost", endpoint.AllocatedEndpoint.Address);