3 instantiations of DashboardWebApplication
Aspire.Dashboard (1)
Program.cs (1)
6
var app = new
DashboardWebApplication
();
Aspire.Dashboard.Tests (2)
Integration\IntegrationTestHelpers.cs (1)
75
var dashboardWebApplication = new
DashboardWebApplication
(builder =>
Integration\Playwright\Infrastructure\DashboardServerFixture.cs (1)
49
DashboardApp = new
DashboardWebApplication
(
84 references to DashboardWebApplication
Aspire.Dashboard (11)
DashboardWebApplication.cs (8)
50
private readonly ILogger<
DashboardWebApplication
> _logger;
104
/// Create a new instance of the <see cref="
DashboardWebApplication
"/> class.
450
private ILogger<
DashboardWebApplication
> GetLogger()
452
return _app.Services.GetRequiredService<ILoggerFactory>().CreateLogger<
DashboardWebApplication
>();
455
private static void WriteValidationFailures(ILogger<
DashboardWebApplication
> logger, IReadOnlyList<string> validationFailures)
464
private static void WriteVersion(ILogger<
DashboardWebApplication
> logger)
466
if (typeof(
DashboardWebApplication
).Assembly.GetCustomAttribute<AssemblyInformationalVersionAttribute>()?.InformationalVersion is string informationalVersion)
565
var logger = serverOptions.ApplicationServices.GetRequiredService<ILogger<
DashboardWebApplication
>>();
Program.cs (1)
6
var
app = new DashboardWebApplication();
Telemetry\DashboardTelemetryService.cs (2)
351
{ TelemetryPropertyKeys.DashboardVersion, new AspireTelemetryProperty(typeof(
DashboardWebApplication
).Assembly.GetCustomAttribute<AssemblyInformationalVersionAttribute>()?.InformationalVersion ?? string.Empty) },
352
{ TelemetryPropertyKeys.DashboardBuildId, new AspireTelemetryProperty(typeof(
DashboardWebApplication
).Assembly.GetCustomAttribute<AssemblyFileVersionAttribute>()?.Version ?? string.Empty) },
Aspire.Dashboard.Tests (73)
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).ToList();
221
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
231
var l = testSink.Writes.Where(w => w.LoggerName == typeof(
DashboardWebApplication
).FullName).ToList();
248
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
258
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(
75
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 =>
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 (11)
35
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper);
61
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper);
103
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
127
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
155
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
189
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
220
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, dictionary =>
248
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, dictionary =>
273
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, dictionary =>
302
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, dictionary =>
331
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 (27)
34
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
66
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
103
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
119
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
140
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
168
await using
var
dashboardWebApplication = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
201
await using
var
dashboardWebApplication = IntegrationTestHelpers.CreateDashboardWebApplication(loggerFactory,
239
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
254
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
275
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
302
DashboardWebApplication
? app = null;
357
DashboardWebApplication
? app = null;
379
if (w.LoggerName != typeof(
DashboardWebApplication
).FullName)
407
DashboardWebApplication
? app = null;
465
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
483
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
502
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
521
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
564
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
591
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, testSink: testSink);
597
var l = testSink.Writes.Where(w => w.LoggerName == typeof(
DashboardWebApplication
).FullName).ToList();
642
DashboardWebApplication
? app = null;
677
var l = testSink.Writes.Where(w => w.LoggerName == typeof(
DashboardWebApplication
).FullName).ToList();
723
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper);
742
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
761
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
774
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper);