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)
203
public string Host => AllocatedEndpoint.
Address
?? KnownHostNames.Localhost;
379
EndpointProperty.Host => new(allocatedEndpoint.
Address
),
380
EndpointProperty.IPV4Host => new(allocatedEndpoint.
Address
),
383
EndpointProperty.HostAndPort => new($"{allocatedEndpoint.
Address
}:{allocatedEndpoint.Port.ToString(CultureInfo.InvariantCulture)}"),
Orchestrator\ApplicationOrchestrator.cs (1)
346
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
);
741
Assert.Equal("service-assigned-name.usw2.devtunnels.ms", test.Port.TunnelEndpointAnnotation.AllocatedEndpoint?.
Address
);
DevTunnelResourceBuilderExtensionsTests.cs (1)
810
Assert.Equal("n4skq32k-3000.use.devtunnels.ms", tunnelPort.TunnelEndpointAnnotation.AllocatedEndpoint?.
Address
);
Aspire.Hosting.Tests (3)
Dcp\DcpExecutorTests.cs (1)
9699
Assert.Equal(address, allocatedEndpoint.
Address
);
WithEndpointTests.cs (2)
821
Assert.Equal("localhost", endpoint.AllocatedEndpoint.
Address
);
855
Assert.Equal("localhost", endpoint.AllocatedEndpoint.
Address
);