9 instantiations of DashboardWebApplication
aspire-managed (1)
Program.cs (1)
40
var app = new
DashboardWebApplication
(options: options);
Aspire.Dashboard (1)
Program.cs (1)
6
var app = new
DashboardWebApplication
();
Aspire.Dashboard.Tests (7)
DashboardOptionsTests.cs (3)
304
await using var app = new
DashboardWebApplication
(builder => builder.Configuration.AddInMemoryCollection(
348
await using var app = new
DashboardWebApplication
(builder => builder.Configuration.AddInMemoryCollection(
380
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)
51
DashboardApp = new
DashboardWebApplication
(
Integration\StartupTests.cs (2)
1077
await using (var app = new
DashboardWebApplication
(preConfigureBuilder: builder =>
1106
await using var app = new
DashboardWebApplication
(preConfigureBuilder: builder =>
143 references to DashboardWebApplication
aspire-managed (1)
Program.cs (1)
40
var
app = new DashboardWebApplication(options: options);
Aspire.Dashboard (11)
DashboardWebApplication.cs (8)
70
private readonly ILogger<
DashboardWebApplication
> _logger;
124
/// Create a new instance of the <see cref="
DashboardWebApplication
"/> class.
605
private ILogger<
DashboardWebApplication
> GetLogger()
607
return _app.Services.GetRequiredService<ILoggerFactory>().CreateLogger<
DashboardWebApplication
>();
610
private static void WriteValidationFailures(ILogger<
DashboardWebApplication
> logger, IReadOnlyList<string> validationFailures)
619
private static void WriteVersion(ILogger<
DashboardWebApplication
> logger)
621
if (AssemblyVersionHelper.GetInformationalVersion(typeof(
DashboardWebApplication
).Assembly) is { Length: > 0 } informationalVersion)
706
var logger = serverOptions.ApplicationServices.GetRequiredService<ILogger<
DashboardWebApplication
>>();
Program.cs (1)
6
var
app = new DashboardWebApplication();
Telemetry\DashboardTelemetryService.cs (2)
28
{ TelemetryPropertyKeys.DashboardVersion, new AspireTelemetryProperty(AssemblyVersionHelper.GetInformationalVersion(typeof(
DashboardWebApplication
).Assembly)) },
29
{ TelemetryPropertyKeys.DashboardBuildId, new AspireTelemetryProperty(AssemblyVersionHelper.GetFileVersion(typeof(
DashboardWebApplication
).Assembly)) },
Aspire.Dashboard.Tests (131)
DashboardOptionsTests.cs (7)
304
await using
var
app = new DashboardWebApplication(builder => builder.Configuration.AddInMemoryCollection(
348
await using
var
app = new DashboardWebApplication(builder => builder.Configuration.AddInMemoryCollection(
380
await using
var
app = new DashboardWebApplication(builder => builder.Configuration.AddInMemoryCollection(
413
var configure =
DashboardWebApplication
.GetOidcClaimActionConfigure(claimAction);
442
var configure =
DashboardWebApplication
.GetOidcClaimActionConfigure(claimAction);
478
var configure =
DashboardWebApplication
.GetOidcClaimActionConfigure(claimAction);
517
var configure =
DashboardWebApplication
.GetOidcClaimActionConfigure(claimAction);
Integration\BlazorWebSocketOriginTests.cs (2)
19
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper);
34
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper);
Integration\FrontendBrowserTokenAuthTests.cs (16)
32
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
54
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
82
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
130
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
169
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
220
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
252
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
287
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
311
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
336
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
363
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
372
var l = testSink.Writes.Where(w => w.LoggerName == typeof(
DashboardWebApplication
).FullName && w.LogLevel >= LogLevel.Information).ToList();
438
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
448
var l = testSink.Writes.Where(w => w.LoggerName == typeof(
DashboardWebApplication
).FullName).ToList();
466
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
476
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)
85
public
DashboardWebApplication
App { get; private set; } = null!;
Integration\IntegrationTestHelpers.cs (3)
39
public static
DashboardWebApplication
CreateDashboardWebApplication(
51
public static
DashboardWebApplication
CreateDashboardWebApplication(
77
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 =>
247
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
276
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
302
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
341
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
380
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
Integration\OtlpHttpJsonTests.cs (9)
502
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper);
562
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper);
639
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper);
689
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper);
741
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper);
827
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
855
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
877
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper);
895
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper);
Integration\OtlpHttpServiceTests.cs (12)
39
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper);
68
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper);
113
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
137
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
165
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
199
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
230
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, dictionary =>
259
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper,
308
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, dictionary =>
333
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, dictionary =>
362
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, dictionary =>
391
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 (40)
39
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(
51
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper);
70
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
107
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(loggerFactory);
138
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
175
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
191
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
216
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
249
await using
var
dashboardWebResource = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
282
await using
var
dashboardWebResource = IntegrationTestHelpers.CreateDashboardWebApplication(loggerFactory,
321
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
336
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
357
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
386
DashboardWebApplication
? app = null;
441
DashboardWebApplication
? app = null;
463
if (w.LoggerName != typeof(
DashboardWebApplication
).FullName)
491
DashboardWebApplication
? app = null;
549
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,
653
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
680
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, testSink: testSink);
686
var l = testSink.Writes.Where(w => w.LoggerName == typeof(
DashboardWebApplication
).FullName && w.LogLevel >= LogLevel.Information).ToList();
734
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
746
var l = testSink.Writes.Where(w => w.LoggerName == typeof(
DashboardWebApplication
).FullName && w.LogLevel >= LogLevel.Information).ToList();
782
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
806
.Where(w => w.LoggerName == typeof(
DashboardWebApplication
).FullName && w.LogLevel >= LogLevel.Warning)
826
DashboardWebApplication
? app = null;
868
var l = testSink.Writes.Where(w => w.LoggerName == typeof(
DashboardWebApplication
).FullName && w.LogLevel >= LogLevel.Information).ToList();
917
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
939
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper);
958
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
1003
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
1039
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
1052
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper);
1077
await using (
var
app = new DashboardWebApplication(preConfigureBuilder: builder =>
1098
Assert.Equal(
DashboardWebApplication
.ExitCodeAddressInUse, exitCode);
1106
await using
var
app = new DashboardWebApplication(preConfigureBuilder: builder =>
1114
Assert.Equal(
DashboardWebApplication
.ExitCodeValidationFailure, exitCode);
Integration\TelemetryApiTests.cs (21)
32
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
55
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
79
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
102
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
127
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
151
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
173
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
195
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
216
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
235
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
256
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
275
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
296
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
322
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
345
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
376
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
409
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
431
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
453
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
472
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
492
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>