1 write to Address
Aspire.Hosting (1)
ApplicationModel\AllocatedEndpoint.cs (1)
56Address = address;
7 references to Address
Aspire.Hosting (5)
ApplicationModel\AllocatedEndpoint.cs (1)
110public string EndPointString => $"{Address}:{Port}";
ApplicationModel\EndpointReference.cs (3)
102public string Host => AllocatedEndpoint.Address ?? "localhost"; 207EndpointProperty.Host => new(allocatedEndpoint.Address), 210EndpointProperty.HostAndPort => new($"{allocatedEndpoint.Address}:{allocatedEndpoint.Port.ToString(CultureInfo.InvariantCulture)}"),
Orchestrator\ApplicationOrchestrator.cs (1)
238EndpointBindingMode.SingleAddress when !allocatedEndpoint.Address.Equals(endpoint.TargetHost, StringComparison.OrdinalIgnoreCase) => new ResourceUrlAnnotation
Aspire.Hosting.Tests (2)
WithEndpointTests.cs (2)
646Assert.Equal("localhost", endpoint.AllocatedEndpoint.Address); 680Assert.Equal("localhost", endpoint.AllocatedEndpoint.Address);