6 instantiations of DashboardWebApplication
Aspire.Dashboard (1)
Program.cs (1)
6
var app = new
DashboardWebApplication
();
Aspire.Dashboard.Tests (4)
DashboardOptionsTests.cs (2)
257
await using var app = new
DashboardWebApplication
(builder => builder.Configuration.AddInMemoryCollection(
301
await using var app = new
DashboardWebApplication
(builder => builder.Configuration.AddInMemoryCollection(
Integration\IntegrationTestHelpers.cs (1)
76
var dashboardWebApplication = new
DashboardWebApplication
(builder =>
Integration\Playwright\Infrastructure\DashboardServerFixture.cs (1)
49
DashboardApp = new
DashboardWebApplication
(
aspire-managed (1)
Program.cs (1)
24
var app = new
DashboardWebApplication
(options: options);
142 references to DashboardWebApplication
Aspire.Dashboard (11)
DashboardWebApplication.cs (8)
55
private readonly ILogger<
DashboardWebApplication
> _logger;
115
/// Create a new instance of the <see cref="
DashboardWebApplication
"/> class.
538
private ILogger<
DashboardWebApplication
> GetLogger()
540
return _app.Services.GetRequiredService<ILoggerFactory>().CreateLogger<
DashboardWebApplication
>();
543
private static void WriteValidationFailures(ILogger<
DashboardWebApplication
> logger, IReadOnlyList<string> validationFailures)
552
private static void WriteVersion(ILogger<
DashboardWebApplication
> logger)
554
if (typeof(
DashboardWebApplication
).Assembly.GetCustomAttribute<AssemblyInformationalVersionAttribute>()?.InformationalVersion is string informationalVersion)
640
var logger = serverOptions.ApplicationServices.GetRequiredService<ILogger<
DashboardWebApplication
>>();
Program.cs (1)
6
var
app = new DashboardWebApplication();
Telemetry\DashboardTelemetryService.cs (2)
28
{ TelemetryPropertyKeys.DashboardVersion, new AspireTelemetryProperty(typeof(
DashboardWebApplication
).Assembly.GetCustomAttribute<AssemblyInformationalVersionAttribute>()?.InformationalVersion ?? string.Empty) },
29
{ TelemetryPropertyKeys.DashboardBuildId, new AspireTelemetryProperty(typeof(
DashboardWebApplication
).Assembly.GetCustomAttribute<AssemblyFileVersionAttribute>()?.Version ?? string.Empty) },
Aspire.Dashboard.Tests (130)
DashboardOptionsTests.cs (6)
257
await using
var
app = new DashboardWebApplication(builder => builder.Configuration.AddInMemoryCollection(
301
await using
var
app = new DashboardWebApplication(builder => builder.Configuration.AddInMemoryCollection(
340
var configure =
DashboardWebApplication
.GetOidcClaimActionConfigure(claimAction);
369
var configure =
DashboardWebApplication
.GetOidcClaimActionConfigure(claimAction);
405
var configure =
DashboardWebApplication
.GetOidcClaimActionConfigure(claimAction);
444
var configure =
DashboardWebApplication
.GetOidcClaimActionConfigure(claimAction);
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 && w.LogLevel >= LogLevel.Information).ToList();
233
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
243
var l = testSink.Writes.Where(w => w.LoggerName == typeof(
DashboardWebApplication
).FullName).ToList();
260
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
270
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\HealthTests.cs (1)
17
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper);
Integration\IntegrationTestHelpers.cs (3)
39
public static
DashboardWebApplication
CreateDashboardWebApplication(
51
public static
DashboardWebApplication
CreateDashboardWebApplication(
76
var
dashboardWebApplication = new DashboardWebApplication(builder =>
Integration\McpServiceTests.cs (9)
30
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper);
55
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
77
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
100
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
132
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper);
165
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
202
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper);
220
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper,
257
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(
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\OtlpHttpJsonTests.cs (8)
406
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper);
467
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper);
544
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper);
594
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper);
647
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
675
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
697
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper);
715
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper);
Integration\OtlpHttpServiceTests.cs (12)
39
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper);
65
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper);
107
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
131
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
159
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
193
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
224
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, dictionary =>
253
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper,
302
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, dictionary =>
327
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, dictionary =>
356
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, dictionary =>
385
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, dictionary =>
Integration\Playwright\Infrastructure\DashboardServerFixture.cs (1)
18
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 (35)
38
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
70
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
107
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
123
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
144
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
172
await using
var
dashboardWebResource = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
205
await using
var
dashboardWebResource = IntegrationTestHelpers.CreateDashboardWebApplication(loggerFactory,
243
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
258
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
279
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
310
DashboardWebApplication
? app = null;
365
DashboardWebApplication
? app = null;
445
DashboardWebApplication
? app = null;
467
if (w.LoggerName != typeof(
DashboardWebApplication
).FullName)
495
DashboardWebApplication
? app = null;
553
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
571
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
590
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
609
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
652
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
679
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, testSink: testSink);
685
var l = testSink.Writes.Where(w => w.LoggerName == typeof(
DashboardWebApplication
).FullName && w.LogLevel >= LogLevel.Information).ToList();
736
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
748
var l = testSink.Writes.Where(w => w.LoggerName == typeof(
DashboardWebApplication
).FullName && w.LogLevel >= LogLevel.Information).ToList();
776
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
787
var l = testSink.Writes.Where(w => w.LoggerName == typeof(
DashboardWebApplication
).FullName && w.LogLevel >= LogLevel.Warning).ToList();
800
DashboardWebApplication
? app = null;
843
var l = testSink.Writes.Where(w => w.LoggerName == typeof(
DashboardWebApplication
).FullName && w.LogLevel >= LogLevel.Information).ToList();
895
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
917
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper);
936
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
981
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
1017
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
1030
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper);
1050
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
Integration\TelemetryApiTests.cs (25)
32
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
50
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
70
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
92
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
116
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
139
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
164
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
188
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
207
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
229
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
251
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
272
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
291
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
312
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
331
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
352
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
378
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
402
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
425
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
456
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
489
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
511
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
533
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
552
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
572
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
aspire-managed (1)
Program.cs (1)
24
var
app = new DashboardWebApplication(options: options);