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