7 references to GetUrlWithTargetHostAsync
Aspire.Hosting (3)
Backchannel\DashboardUrlsHelper.cs (1)
98
apiBaseUrl = await EndpointHostHelpers.
GetUrlWithTargetHostAsync
(apiEndpoint, cancellationToken).ConfigureAwait(false);
Dashboard\DashboardEventHandlers.cs (2)
525
? await EndpointHostHelpers.
GetUrlWithTargetHostAsync
(endpoint, cancellationToken).ConfigureAwait(false)
580
? await EndpointHostHelpers.
GetUrlWithTargetHostAsync
(endpoint, cancellationToken).ConfigureAwait(false)
Aspire.Hosting.Testing (1)
DistributedApplicationHostingTestingExtensions.cs (1)
106
var dashboardUrl = await EndpointHostHelpers.
GetUrlWithTargetHostAsync
(dashboardEndpoint, cancellationToken).ConfigureAwait(false);
Aspire.Hosting.Tests (3)
ApplicationModel\EndpointHostHelpersTests.cs (3)
230
var url = await EndpointHostHelpers.
GetUrlWithTargetHostAsync
(container.GetEndpoint("primary"))
258
var url = await EndpointHostHelpers.
GetUrlWithTargetHostAsync
(containerNetworkEndpoint)
271
async () => await EndpointHostHelpers.
GetUrlWithTargetHostAsync
(null!));