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)
118public string Host => AllocatedEndpoint.Address ?? KnownHostNames.Localhost; 307EndpointProperty.Host => new(allocatedEndpoint.Address), 308EndpointProperty.IPV4Host => new(allocatedEndpoint.Address), 311EndpointProperty.HostAndPort => new($"{allocatedEndpoint.Address}:{allocatedEndpoint.Port.ToString(CultureInfo.InvariantCulture)}"),
Orchestrator\ApplicationOrchestrator.cs (1)
248EndpointBindingMode.SingleAddress when !allocatedEndpoint.Address.Equals(endpoint.TargetHost, StringComparison.OrdinalIgnoreCase) => new ResourceUrlAnnotation
Aspire.Hosting.Tests (2)
WithEndpointTests.cs (2)
628Assert.Equal("localhost", endpoint.AllocatedEndpoint.Address); 662Assert.Equal("localhost", endpoint.AllocatedEndpoint.Address);