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)
77
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);
143 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 (131)
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();
238
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
248
var l = testSink.Writes.Where(w => w.LoggerName == typeof(
DashboardWebApplication
).FullName).ToList();
265
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
275
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(
77
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 (37)
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();
741
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
753
var l = testSink.Writes.Where(w => w.LoggerName == typeof(
DashboardWebApplication
).FullName && w.LogLevel >= LogLevel.Information).ToList();
786
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
797
var l = testSink.Writes.Where(w => w.LoggerName == typeof(
DashboardWebApplication
).FullName && w.LogLevel >= LogLevel.Warning).ToList();
813
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
837
.Where(w => w.LoggerName == typeof(
DashboardWebApplication
).FullName && w.LogLevel >= LogLevel.Warning)
857
DashboardWebApplication
? app = null;
900
var l = testSink.Writes.Where(w => w.LoggerName == typeof(
DashboardWebApplication
).FullName && w.LogLevel >= LogLevel.Information).ToList();
957
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
979
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper);
998
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
1043
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
1079
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
1092
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper);
1112
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
Integration\TelemetryApiTests.cs (24)
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 =>
210
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
232
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
253
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
272
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
293
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
312
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
333
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
359
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
383
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
406
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
437
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
470
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
492
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
514
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
533
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
553
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
aspire-managed (1)
Program.cs (1)
24
var
app = new DashboardWebApplication(options: options);