1 write to Address
Aspire.Hosting (1)
ApplicationModel\AllocatedEndpoint.cs (1)
62
Address
= address;
14 references to Address
Aspire.Hosting (6)
ApplicationModel\AllocatedEndpoint.cs (1)
127
public string EndPointString => $"{
Address
}:{Port}";
ApplicationModel\EndpointReference.cs (4)
238
public string Host => AllocatedEndpoint.
Address
?? KnownHostNames.Localhost;
444
EndpointProperty.Host => new(allocatedEndpoint.
Address
),
445
EndpointProperty.IPV4Host => new(allocatedEndpoint.
Address
),
448
EndpointProperty.HostAndPort => new($"{allocatedEndpoint.
Address
}:{allocatedEndpoint.Port.ToString(CultureInfo.InvariantCulture)}"),
Orchestrator\ApplicationOrchestrator.cs (1)
362
EndpointBindingMode.SingleAddress when !allocatedEndpoint.
Address
.Equals(endpoint.TargetHost, StringComparison.OrdinalIgnoreCase) => new ResourceUrlAnnotation
Aspire.Hosting.DevTunnels (1)
DevTunnelResourceBuilderExtensions.cs (1)
737
var previousAddress = portResource.TunnelEndpointAnnotation.AllocatedEndpoint?.
Address
;
Aspire.Hosting.DevTunnels.Tests (4)
DevTunnelMonitorTests.cs (3)
25
Assert.Equal("original-3000.usw2.devtunnels.ms", test.Port.TunnelEndpointAnnotation.AllocatedEndpoint?.
Address
);
170
Assert.Equal("replacement-3000.usw2.devtunnels.ms", test.Port.TunnelEndpointAnnotation.AllocatedEndpoint?.
Address
);
801
Assert.Equal("service-assigned-name.usw2.devtunnels.ms", test.Port.TunnelEndpointAnnotation.AllocatedEndpoint?.
Address
);
DevTunnelResourceBuilderExtensionsTests.cs (1)
853
Assert.Equal("n4skq32k-3000.use.devtunnels.ms", tunnelPort.TunnelEndpointAnnotation.AllocatedEndpoint?.
Address
);
Aspire.Hosting.Tests (3)
Dcp\DcpExecutorTests.cs (1)
9900
Assert.Equal(address, allocatedEndpoint.
Address
);
WithEndpointTests.cs (2)
1077
Assert.Equal("localhost", endpoint.AllocatedEndpoint.
Address
);
1111
Assert.Equal("localhost", endpoint.AllocatedEndpoint.
Address
);