3 instantiations of DashboardWebApplication
Aspire.Dashboard (1)
Program.cs (1)
6
var app = new
DashboardWebApplication
();
Aspire.Dashboard.Tests (2)
Integration\IntegrationTestHelpers.cs (1)
68
var dashboardWebApplication = new
DashboardWebApplication
(builder =>
Integration\Playwright\DashboardServerFixture.cs (1)
38
DashboardApp = new
DashboardWebApplication
(
70 references to DashboardWebApplication
Aspire.Dashboard (9)
DashboardWebApplication.cs (8)
47
private readonly ILogger<
DashboardWebApplication
> _logger;
80
/// Create a new instance of the <see cref="
DashboardWebApplication
"/> class.
392
private ILogger<
DashboardWebApplication
> GetLogger()
394
return _app.Services.GetRequiredService<ILoggerFactory>().CreateLogger<
DashboardWebApplication
>();
397
private static void WriteValidationFailures(ILogger<
DashboardWebApplication
> logger, IReadOnlyList<string> validationFailures)
406
private static void WriteVersion(ILogger<
DashboardWebApplication
> logger)
408
if (typeof(
DashboardWebApplication
).Assembly.GetCustomAttribute<AssemblyInformationalVersionAttribute>()?.InformationalVersion is string informationalVersion)
507
var logger = serverOptions.ApplicationServices.GetRequiredService<ILogger<
DashboardWebApplication
>>();
Program.cs (1)
6
var
app = new DashboardWebApplication();
Aspire.Dashboard.Tests (61)
GlobalizationTests.cs (2)
14
var supportedCultures =
DashboardWebApplication
.GetSupportedCultures();
17
foreach (var localizedCulture in
DashboardWebApplication
.LocalizedCultures)
Integration\FrontendBrowserTokenAuthTests.cs (7)
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();
Integration\FrontendOpenIdConnectAuthTests.cs (2)
21
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(
65
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(
Integration\IntegrationTestHelpers.cs (3)
38
public static
DashboardWebApplication
CreateDashboardWebApplication(
48
public static
DashboardWebApplication
CreateDashboardWebApplication(
68
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)
32
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper);
53
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
75
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
102
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
130
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
177
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(loggerFactory, config =>
240
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
269
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
295
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
334
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
373
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
Integration\OtlpHttpServiceTests.cs (11)
36
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper);
62
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper);
104
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
128
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
156
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
190
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, config =>
221
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, dictionary =>
249
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, dictionary =>
274
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, dictionary =>
303
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, dictionary =>
332
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(_testOutputHelper, dictionary =>
Integration\Playwright\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 (18)
24
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper);
38
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
54
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
73
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
88
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
107
DashboardWebApplication
? app = null;
162
DashboardWebApplication
? app = null;
184
if (w.LoggerName != typeof(
DashboardWebApplication
).FullName)
212
DashboardWebApplication
? app = null;
270
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
288
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
307
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,
327
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper, testSink: testSink);
333
var l = testSink.Writes.Where(w => w.LoggerName == typeof(
DashboardWebApplication
).FullName).ToList();
378
DashboardWebApplication
? app = null;
413
var l = testSink.Writes.Where(w => w.LoggerName == typeof(
DashboardWebApplication
).FullName).ToList();
459
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper);
478
await using
var
app = IntegrationTestHelpers.CreateDashboardWebApplication(testOutputHelper,