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