54 references to FrontendSingleEndPointAccessor
Aspire.Dashboard.Playwright.Tests (9)
Integration\Playwright\AccessibilityTests.cs (4)
119
var baseUrl = DashboardServerFixture.DashboardApp.
FrontendSingleEndPointAccessor
().GetResolvedAddress();
161
var baseUrl = DashboardServerFixture.DashboardApp.
FrontendSingleEndPointAccessor
().GetResolvedAddress();
264
var baseUrl = DashboardServerFixture.DashboardApp.
FrontendSingleEndPointAccessor
().GetResolvedAddress();
315
var baseUrl = DashboardServerFixture.DashboardApp.
FrontendSingleEndPointAccessor
().GetResolvedAddress();
Integration\Playwright\BrowserTokenAuthenticationTests.cs (2)
188
var firstBaseUrl = firstDashboard.
FrontendSingleEndPointAccessor
().GetResolvedAddress();
189
var secondBaseUrl = secondDashboard.
FrontendSingleEndPointAccessor
().GetResolvedAddress();
Integration\Playwright\Infrastructure\PlaywrightTestsBase.cs (1)
50
BaseURL = DashboardServerFixture.DashboardApp.
FrontendSingleEndPointAccessor
().GetResolvedAddress()
Integration\Playwright\MobileNavMenuTests.cs (2)
29
BaseURL = DashboardServerFixture.DashboardApp.
FrontendSingleEndPointAccessor
().GetResolvedAddress(),
66
BaseURL = DashboardServerFixture.DashboardApp.
FrontendSingleEndPointAccessor
().GetResolvedAddress(),
Aspire.Dashboard.Tests (45)
Integration\BlazorWebSocketOriginTests.cs (2)
22
var frontendUri = new Uri(app.
FrontendSingleEndPointAccessor
().GetResolvedAddress());
37
var frontendUri = new Uri(app.
FrontendSingleEndPointAccessor
().GetResolvedAddress());
Integration\FrontendBrowserTokenAuthTests.cs (5)
40
using var client = new HttpClient { BaseAddress = new Uri($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}") };
62
using var client = new HttpClient { BaseAddress = new Uri($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}") };
271
BaseAddress = new Uri($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}")
322
using var client = new HttpClient { BaseAddress = new Uri($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}") };
347
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)
24
await MakeRequestAndAssert($"http://{fixture.App.
FrontendSingleEndPointAccessor
().EndPoint}", HttpVersion.Version11).DefaultTimeout();
53
using var client = new HttpClient { BaseAddress = new Uri($"http://{fixture.App.
FrontendSingleEndPointAccessor
().EndPoint}") };
Integration\OtlpGrpcServiceTests.cs (2)
255
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"https://{app.
FrontendSingleEndPointAccessor
().EndPoint}");
285
$"https://{app.
FrontendSingleEndPointAccessor
().EndPoint}",
Integration\OtlpHttpServiceTests.cs (1)
284
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"https://{app.
FrontendSingleEndPointAccessor
().EndPoint}",
Integration\ResponseCompressionTests.cs (2)
22
using var client = new HttpClient(httpClientHandler) { BaseAddress = new Uri($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}") };
45
using var client = new HttpClient(httpClientHandler) { BaseAddress = new Uri($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}") };
Integration\StartupTests.cs (8)
411
Assert.Equal(app.
FrontendSingleEndPointAccessor
().EndPoint.Port, app.OtlpServiceGrpcEndPointAccessor().EndPoint.Port);
422
BaseAddress = new Uri($"https://{app.
FrontendSingleEndPointAccessor
().EndPoint}")
429
using var channel = IntegrationTestHelpers.CreateGrpcChannel($"https://{app.
FrontendSingleEndPointAccessor
().EndPoint}", testOutputHelper);
518
Assert.Equal(app.
FrontendSingleEndPointAccessor
().EndPoint.Port, app.OtlpServiceHttpEndPointAccessor().EndPoint.Port);
523
BaseAddress = new Uri($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}")
803
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}");
950
using var client = new HttpClient { BaseAddress = new Uri($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}") };
1024
var endpoint = app.
FrontendSingleEndPointAccessor
().EndPoint; // IPEndPoint
Integration\TelemetryApiTests.cs (20)
64
using var httpClient = new HttpClient(handler) { BaseAddress = new Uri($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}") };
84
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}");
109
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}");
136
using var httpClient = new HttpClient(handler) { BaseAddress = new Uri($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}") };
158
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}");
180
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}");
202
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}");
223
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}");
242
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}");
263
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}");
283
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}");
307
using var httpClient = new HttpClient(handler) { BaseAddress = new Uri($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}") };
332
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}");
352
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}");
383
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}");
416
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}");
438
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}");
460
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}");
479
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}");
501
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.
FrontendSingleEndPointAccessor
().EndPoint}");
Integration\TerminalWebSocketAuthenticationTests.cs (1)
38
var frontendUri = new Uri(app.
FrontendSingleEndPointAccessor
().GetResolvedAddress());
Shared\TerminalTestHost.cs (1)
92
var frontend = new Uri(_app.
FrontendSingleEndPointAccessor
().GetResolvedAddress());