5 instantiations of DashboardWebApplication
Aspire.Dashboard (1)
Program.cs (1)
6
var app = new
DashboardWebApplication
();
Aspire.Dashboard.Tests (4)
DashboardOptionsTests.cs (2)
258
await using var app = new
DashboardWebApplication
(builder => builder.Configuration.AddInMemoryCollection(
302
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
(
102 references to DashboardWebApplication
Aspire.Dashboard (11)
DashboardWebApplication.cs (8)
54
private readonly ILogger<
DashboardWebApplication
> _logger;
114
/// Create a new instance of the <see cref="
DashboardWebApplication
"/> class.
516
private ILogger<
DashboardWebApplication
> GetLogger()
518
return _app.Services.GetRequiredService<ILoggerFactory>().CreateLogger<
DashboardWebApplication
>();
521
private static void WriteValidationFailures(ILogger<
DashboardWebApplication
> logger, IReadOnlyList<string> validationFailures)
530
private static void WriteVersion(ILogger<
DashboardWebApplication
> logger)
532
if (typeof(
DashboardWebApplication
).Assembly.GetCustomAttribute<AssemblyInformationalVersionAttribute>()?.InformationalVersion is string informationalVersion)
618
var logger = serverOptions.ApplicationServices.GetRequiredService<ILogger<
DashboardWebApplication
>>();
Program.cs (1)
6
var
app = new DashboardWebApplication();
Telemetry\DashboardTelemetryService.cs (2)
27
{ TelemetryPropertyKeys.DashboardVersion, new AspireTelemetryProperty(typeof(
DashboardWebApplication
).Assembly.GetCustomAttribute<AssemblyInformationalVersionAttribute>()?.InformationalVersion ?? string.Empty) },
28
{ TelemetryPropertyKeys.DashboardBuildId, new AspireTelemetryProperty(typeof(
DashboardWebApplication
).Assembly.GetCustomAttribute<AssemblyFileVersionAttribute>()?.Version ?? string.Empty) },
Aspire.Dashboard.Tests (91)
DashboardOptionsTests.cs (6)
258
await using
var
app = new DashboardWebApplication(builder => builder.Configuration.AddInMemoryCollection(
302
await using
var
app = new DashboardWebApplication(builder => builder.Configuration.AddInMemoryCollection(
341
var configure =
DashboardWebApplication
.GetOidcClaimActionConfigure(claimAction);
370
var configure =
DashboardWebApplication
.GetOidcClaimActionConfigure(claimAction);
406
var configure =
DashboardWebApplication
.GetOidcClaimActionConfigure(claimAction);
445
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 (8)
27
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper);
51
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
73
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
96
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
125
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper);
157
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
193
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper);
211
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper,
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 (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 (30)
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();
743
DashboardWebApplication
? app = null;
786
var l = testSink.Writes.Where(w => w.LoggerName == typeof(
DashboardWebApplication
).FullName && w.LogLevel >= LogLevel.Information).ToList();
844
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper);
863
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
908
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
944
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
957
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper);
977
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,