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