3 instantiations of DashboardWebApplication
Aspire.Dashboard (1)
Program.cs (1)
6var app = new DashboardWebApplication();
Aspire.Dashboard.Tests (2)
Integration\IntegrationTestHelpers.cs (1)
68var dashboardWebApplication = new DashboardWebApplication(builder =>
Integration\Playwright\DashboardServerFixture.cs (1)
38DashboardApp = new DashboardWebApplication(
70 references to DashboardWebApplication
Aspire.Dashboard (9)
DashboardWebApplication.cs (8)
47private readonly ILogger<DashboardWebApplication> _logger; 80/// Create a new instance of the <see cref="DashboardWebApplication"/> class. 392private ILogger<DashboardWebApplication> GetLogger() 394return _app.Services.GetRequiredService<ILoggerFactory>().CreateLogger<DashboardWebApplication>(); 397private static void WriteValidationFailures(ILogger<DashboardWebApplication> logger, IReadOnlyList<string> validationFailures) 406private static void WriteVersion(ILogger<DashboardWebApplication> logger) 408if (typeof(DashboardWebApplication).Assembly.GetCustomAttribute<AssemblyInformationalVersionAttribute>()?.InformationalVersion is string informationalVersion) 507var logger = serverOptions.ApplicationServices.GetRequiredService<ILogger<DashboardWebApplication>>();
Program.cs (1)
6var app = new DashboardWebApplication();
Aspire.Dashboard.Tests (61)
GlobalizationTests.cs (2)
14var supportedCultures = DashboardWebApplication.GetSupportedCultures(); 17foreach (var localizedCulture in DashboardWebApplication.LocalizedCultures)
Integration\FrontendBrowserTokenAuthTests.cs (7)
32await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 54await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 85await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 109await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 134await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 161await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 170var l = testSink.Writes.Where(w => w.LoggerName == typeof(DashboardWebApplication).FullName).ToList();
Integration\FrontendOpenIdConnectAuthTests.cs (2)
21await using var app = IntegrationTestHelpers.CreateDashboardWebApplication( 65await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(
Integration\IntegrationTestHelpers.cs (3)
38public static DashboardWebApplication CreateDashboardWebApplication( 48public static DashboardWebApplication CreateDashboardWebApplication( 68var dashboardWebApplication = new DashboardWebApplication(builder =>
Integration\OtlpCorsHttpServiceTests.cs (4)
24await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper); 45await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 86await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 113await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
Integration\OtlpGrpcServiceTests.cs (11)
32await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper); 53await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 75await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 102await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 130await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 177await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(loggerFactory, config => 240await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 269await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 295await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 334await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 373await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
Integration\OtlpHttpServiceTests.cs (11)
36await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper); 62await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper); 104await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 128await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 156await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 190await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 221await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, dictionary => 249await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, dictionary => 274await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, dictionary => 303await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, dictionary => 332await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, dictionary =>
Integration\Playwright\DashboardServerFixture.cs (1)
18public DashboardWebApplication DashboardApp { get; private set; } = null!;
Integration\ResponseCompressionTests.cs (2)
18await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper); 40await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper);
Integration\StartupTests.cs (18)
24await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper); 38await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 54await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 73await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 88await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 107DashboardWebApplication? app = null; 162DashboardWebApplication? app = null; 184if (w.LoggerName != typeof(DashboardWebApplication).FullName) 212DashboardWebApplication? app = null; 270await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 288await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 307await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 327await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, testSink: testSink); 333var l = testSink.Writes.Where(w => w.LoggerName == typeof(DashboardWebApplication).FullName).ToList(); 378DashboardWebApplication? app = null; 413var l = testSink.Writes.Where(w => w.LoggerName == typeof(DashboardWebApplication).FullName).ToList(); 459await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper); 478await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,