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