7 references to GetUrlWithTargetHostAsync
Aspire.Hosting (3)
Backchannel\DashboardUrlsHelper.cs (1)
98apiBaseUrl = 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)
106var dashboardUrl = await EndpointHostHelpers.GetUrlWithTargetHostAsync(dashboardEndpoint, cancellationToken).ConfigureAwait(false);
Aspire.Hosting.Tests (3)
ApplicationModel\EndpointHostHelpersTests.cs (3)
230var url = await EndpointHostHelpers.GetUrlWithTargetHostAsync(container.GetEndpoint("primary")) 258var url = await EndpointHostHelpers.GetUrlWithTargetHostAsync(containerNetworkEndpoint) 271async () => await EndpointHostHelpers.GetUrlWithTargetHostAsync(null!));