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