3 instantiations of DashboardWebApplication
Aspire.Dashboard (1)
Program.cs (1)
6var app = new DashboardWebApplication();
Aspire.Dashboard.Tests (2)
Integration\IntegrationTestHelpers.cs (1)
75var dashboardWebApplication = new DashboardWebApplication(builder =>
Integration\Playwright\Infrastructure\DashboardServerFixture.cs (1)
49DashboardApp = new DashboardWebApplication(
78 references to DashboardWebApplication
Aspire.Dashboard (9)
DashboardWebApplication.cs (8)
48private readonly ILogger<DashboardWebApplication> _logger; 102/// Create a new instance of the <see cref="DashboardWebApplication"/> class. 421private ILogger<DashboardWebApplication> GetLogger() 423return _app.Services.GetRequiredService<ILoggerFactory>().CreateLogger<DashboardWebApplication>(); 426private static void WriteValidationFailures(ILogger<DashboardWebApplication> logger, IReadOnlyList<string> validationFailures) 435private static void WriteVersion(ILogger<DashboardWebApplication> logger) 437if (typeof(DashboardWebApplication).Assembly.GetCustomAttribute<AssemblyInformationalVersionAttribute>()?.InformationalVersion is string informationalVersion) 536var logger = serverOptions.ApplicationServices.GetRequiredService<ILogger<DashboardWebApplication>>();
Program.cs (1)
6var app = new DashboardWebApplication();
Aspire.Dashboard.Tests (69)
Integration\FrontendBrowserTokenAuthTests.cs (11)
33await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 55await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 86await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 110await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 135await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 162await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 171var l = testSink.Writes.Where(w => w.LoggerName == typeof(DashboardWebApplication).FullName).ToList(); 222await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 232var l = testSink.Writes.Where(w => w.LoggerName == typeof(DashboardWebApplication).FullName).ToList(); 249await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 259var l = testSink.Writes.Where(w => w.LoggerName == typeof(DashboardWebApplication).FullName).ToList();
Integration\FrontendOpenIdConnectAuthTests.cs (2)
22await using var app = IntegrationTestHelpers.CreateDashboardWebApplication( 66await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(
Integration\IntegrationTestHelpers.cs (3)
39public static DashboardWebApplication CreateDashboardWebApplication( 51public static DashboardWebApplication CreateDashboardWebApplication( 75var dashboardWebApplication = new DashboardWebApplication(builder =>
Integration\OtlpCorsHttpServiceTests.cs (4)
25await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper); 46await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 87await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 114await 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\Infrastructure\DashboardServerFixture.cs (1)
19public DashboardWebApplication DashboardApp { get; private set; } = null!;
Integration\ResponseCompressionTests.cs (2)
19await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper); 41await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper);
Integration\StartupTests.cs (24)
31await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 63await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 100await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 116await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 135await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 161await using var dashboardWebApplication = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 194await using var dashboardWebApplication = IntegrationTestHelpers.CreateDashboardWebApplication(loggerFactory, 232await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 247await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 266DashboardWebApplication? app = null; 321DashboardWebApplication? app = null; 343if (w.LoggerName != typeof(DashboardWebApplication).FullName) 371DashboardWebApplication? app = null; 429await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 447await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 466await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 485await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 526await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 553await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, testSink: testSink); 559var l = testSink.Writes.Where(w => w.LoggerName == typeof(DashboardWebApplication).FullName).ToList(); 604DashboardWebApplication? app = null; 639var l = testSink.Writes.Where(w => w.LoggerName == typeof(DashboardWebApplication).FullName).ToList(); 685await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper); 704await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,