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(
79 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. 426private ILogger<DashboardWebApplication> GetLogger() 428return _app.Services.GetRequiredService<ILoggerFactory>().CreateLogger<DashboardWebApplication>(); 431private static void WriteValidationFailures(ILogger<DashboardWebApplication> logger, IReadOnlyList<string> validationFailures) 440private static void WriteVersion(ILogger<DashboardWebApplication> logger) 442if (typeof(DashboardWebApplication).Assembly.GetCustomAttribute<AssemblyInformationalVersionAttribute>()?.InformationalVersion is string informationalVersion) 541var logger = serverOptions.ApplicationServices.GetRequiredService<ILogger<DashboardWebApplication>>();
Program.cs (1)
6var app = new DashboardWebApplication();
Aspire.Dashboard.Tests (70)
Integration\FrontendBrowserTokenAuthTests.cs (11)
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(); 221await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 231var l = testSink.Writes.Where(w => w.LoggerName == typeof(DashboardWebApplication).FullName).ToList(); 248await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 258var 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)
39public static DashboardWebApplication CreateDashboardWebApplication( 51public static DashboardWebApplication CreateDashboardWebApplication( 75var 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)
31await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper); 52await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 74await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 101await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 129await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 178await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(loggerFactory, config => 241await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 270await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 296await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 335await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 374await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
Integration\OtlpHttpServiceTests.cs (11)
35await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper); 61await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper); 103await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 127await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 155await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 189await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 220await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, dictionary => 248await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, dictionary => 273await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, dictionary => 302await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, dictionary => 331await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, dictionary =>
Integration\Playwright\Infrastructure\DashboardServerFixture.cs (1)
19public 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 (25)
30await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 62await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 99await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 115await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 136await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 164await using var dashboardWebApplication = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 197await using var dashboardWebApplication = IntegrationTestHelpers.CreateDashboardWebApplication(loggerFactory, 235await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 250await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 269DashboardWebApplication? app = null; 324DashboardWebApplication? app = null; 346if (w.LoggerName != typeof(DashboardWebApplication).FullName) 374DashboardWebApplication? app = null; 432await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 450await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 469await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 488await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 531await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 558await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, testSink: testSink); 564var l = testSink.Writes.Where(w => w.LoggerName == typeof(DashboardWebApplication).FullName).ToList(); 609DashboardWebApplication? app = null; 644var l = testSink.Writes.Where(w => w.LoggerName == typeof(DashboardWebApplication).FullName).ToList(); 690await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper); 709await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 728await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,