49 references to FrontendSingleEndPointAccessor
Aspire.Dashboard.Tests (49)
Integration\BlazorWebSocketOriginTests.cs (2)
22
var frontendUri = new Uri(app.
FrontendSingleEndPointAccessor
().GetResolvedAddress());
37
var frontendUri = new Uri(app.
FrontendSingleEndPointAccessor
().GetResolvedAddress());
Integration\FrontendBrowserTokenAuthTests.cs (5)
39
using var client = new HttpClient { BaseAddress = new Uri($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}") };
61
using var client = new HttpClient { BaseAddress = new Uri($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}") };
267
BaseAddress = new Uri($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}")
318
using var client = new HttpClient { BaseAddress = new Uri($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}") };
343
using var client = new HttpClient { BaseAddress = new Uri($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}") };
Integration\FrontendOpenIdConnectAuthTests.cs (1)
36
using var client = new HttpClient(handler) { BaseAddress = new Uri($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}") };
Integration\HealthTests.cs (2)
23
await MakeRequestAndAssert($"http://{fixture.App.
FrontendSingleEndPointAccessor
().EndPoint}", HttpVersion.Version11).DefaultTimeout();
52
using var client = new HttpClient { BaseAddress = new Uri($"http://{fixture.App.
FrontendSingleEndPointAccessor
().EndPoint}") };
Integration\OtlpGrpcServiceTests.cs (1)
255
$"https://{app.
FrontendSingleEndPointAccessor
().EndPoint}",
Integration\OtlpHttpServiceTests.cs (1)
206
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"https://{app.
FrontendSingleEndPointAccessor
().EndPoint}",
Integration\Playwright\AccessibilityTests.cs (4)
121
var baseUrl = DashboardServerFixture.DashboardApp.
FrontendSingleEndPointAccessor
().GetResolvedAddress();
170
var baseUrl = DashboardServerFixture.DashboardApp.
FrontendSingleEndPointAccessor
().GetResolvedAddress();
278
var baseUrl = DashboardServerFixture.DashboardApp.
FrontendSingleEndPointAccessor
().GetResolvedAddress();
330
var baseUrl = DashboardServerFixture.DashboardApp.
FrontendSingleEndPointAccessor
().GetResolvedAddress();
Integration\Playwright\Infrastructure\PlaywrightTestsBase.cs (1)
41
BaseURL = DashboardServerFixture.DashboardApp.
FrontendSingleEndPointAccessor
().GetResolvedAddress()
Integration\Playwright\MobileNavMenuTests.cs (2)
29
BaseURL = DashboardServerFixture.DashboardApp.
FrontendSingleEndPointAccessor
().GetResolvedAddress(),
66
BaseURL = DashboardServerFixture.DashboardApp.
FrontendSingleEndPointAccessor
().GetResolvedAddress(),
Integration\ResponseCompressionTests.cs (2)
22
using var client = new HttpClient(httpClientHandler) { BaseAddress = new Uri($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}") };
44
using var client = new HttpClient(httpClientHandler) { BaseAddress = new Uri($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}") };
Integration\StartupTests.cs (8)
405
Assert.Equal(app.
FrontendSingleEndPointAccessor
().EndPoint.Port, app.OtlpServiceGrpcEndPointAccessor().EndPoint.Port);
416
BaseAddress = new Uri($"https://{app.
FrontendSingleEndPointAccessor
().EndPoint}")
423
using var channel = IntegrationTestHelpers.CreateGrpcChannel($"https://{app.
FrontendSingleEndPointAccessor
().EndPoint}", testOutputHelper);
512
Assert.Equal(app.
FrontendSingleEndPointAccessor
().EndPoint.Port, app.OtlpServiceHttpEndPointAccessor().EndPoint.Port);
517
BaseAddress = new Uri($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}")
797
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}");
944
using var client = new HttpClient { BaseAddress = new Uri($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}") };
1018
var endpoint = app.
FrontendSingleEndPointAccessor
().EndPoint; // IPEndPoint
Integration\TelemetryApiTests.cs (20)
65
using var httpClient = new HttpClient(handler) { BaseAddress = new Uri($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}") };
85
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}");
110
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}");
137
using var httpClient = new HttpClient(handler) { BaseAddress = new Uri($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}") };
157
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}");
179
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}");
201
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}");
222
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}");
241
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}");
262
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}");
282
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}");
306
using var httpClient = new HttpClient(handler) { BaseAddress = new Uri($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}") };
331
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}");
351
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}");
382
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}");
415
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}");
437
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}");
459
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}");
478
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}");
500
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}");