5 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
(
139 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.
537
private ILogger<
DashboardWebApplication
> GetLogger()
539
return _app.Services.GetRequiredService<ILoggerFactory>().CreateLogger<
DashboardWebApplication
>();
542
private static void WriteValidationFailures(ILogger<
DashboardWebApplication
> logger, IReadOnlyList<string> validationFailures)
551
private static void WriteVersion(ILogger<
DashboardWebApplication
> logger)
553
if (typeof(
DashboardWebApplication
).Assembly.GetCustomAttribute<AssemblyInformationalVersionAttribute>()?.InformationalVersion is string informationalVersion)
639
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 (128)
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);
54
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
76
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
99
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
128
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper);
160
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
196
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper);
214
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper,
250
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 (33)
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;
444
DashboardWebApplication
? app = null;
466
if (w.LoggerName != typeof(
DashboardWebApplication
).FullName)
494
DashboardWebApplication
? app = null;
552
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
570
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
589
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
608
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
651
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
678
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, testSink: testSink);
684
var l = testSink.Writes.Where(w => w.LoggerName == typeof(
DashboardWebApplication
).FullName && w.LogLevel >= LogLevel.Information).ToList();
735
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
747
var l = testSink.Writes.Where(w => w.LoggerName == typeof(
DashboardWebApplication
).FullName && w.LogLevel >= LogLevel.Information).ToList();
777
DashboardWebApplication
? app = null;
820
var l = testSink.Writes.Where(w => w.LoggerName == typeof(
DashboardWebApplication
).FullName && w.LogLevel >= LogLevel.Information).ToList();
872
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
894
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper);
913
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
958
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
994
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
1007
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper);
1027
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 =>