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)
48DashboardApp = new DashboardWebApplication(
87 references to DashboardWebApplication
Aspire.Dashboard (11)
DashboardWebApplication.cs (8)
53private readonly ILogger<DashboardWebApplication> _logger; 107/// Create a new instance of the <see cref="DashboardWebApplication"/> class. 488private ILogger<DashboardWebApplication> GetLogger() 490return _app.Services.GetRequiredService<ILoggerFactory>().CreateLogger<DashboardWebApplication>(); 493private static void WriteValidationFailures(ILogger<DashboardWebApplication> logger, IReadOnlyList<string> validationFailures) 502private static void WriteVersion(ILogger<DashboardWebApplication> logger) 504if (typeof(DashboardWebApplication).Assembly.GetCustomAttribute<AssemblyInformationalVersionAttribute>()?.InformationalVersion is string informationalVersion) 603var logger = serverOptions.ApplicationServices.GetRequiredService<ILogger<DashboardWebApplication>>();
Program.cs (1)
6var app = new DashboardWebApplication();
Telemetry\DashboardTelemetryService.cs (2)
27{ TelemetryPropertyKeys.DashboardVersion, new AspireTelemetryProperty(typeof(DashboardWebApplication).Assembly.GetCustomAttribute<AssemblyInformationalVersionAttribute>()?.InformationalVersion ?? string.Empty) }, 28{ TelemetryPropertyKeys.DashboardBuildId, new AspireTelemetryProperty(typeof(DashboardWebApplication).Assembly.GetCustomAttribute<AssemblyFileVersionAttribute>()?.Version ?? string.Empty) },
Aspire.Dashboard.Tests (76)
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\HealthTests.cs (1)
17await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper);
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 (12)
39await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper); 65await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper); 107await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 131await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 159await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 193await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config => 224await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, dictionary => 253await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, 302await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, dictionary => 327await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, dictionary => 356await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, dictionary => 385await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, dictionary =>
Integration\Playwright\Infrastructure\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 (29)
37await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 69await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 106await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 122await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 143await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 171await using var dashboardWebResource = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 204await using var dashboardWebResource = IntegrationTestHelpers.CreateDashboardWebApplication(loggerFactory, 242await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 257await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 278await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 309DashboardWebApplication? app = null; 364DashboardWebApplication? app = null; 386if (w.LoggerName != typeof(DashboardWebApplication).FullName) 414DashboardWebApplication? app = null; 472await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 490await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 509await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 528await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 571await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 598await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, testSink: testSink); 604var l = testSink.Writes.Where(w => w.LoggerName == typeof(DashboardWebApplication).FullName).ToList(); 649DashboardWebApplication? app = null; 684var l = testSink.Writes.Where(w => w.LoggerName == typeof(DashboardWebApplication).FullName).ToList(); 730await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper); 749await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 794await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 830await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, 843await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper); 863await using var app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,