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