11 references to DashboardService
Aspire.Hosting (4)
Dashboard\DashboardService.cs (1)
21internal sealed partial class DashboardService(DashboardServiceData serviceData, IHostEnvironment hostEnvironment, IHostApplicationLifetime hostApplicationLifetime, ILogger<DashboardService> logger)
Dashboard\DashboardServiceData.cs (1)
11/// Models the state for <see cref="DashboardService"/>, as that service is constructed
Dashboard\DashboardServiceHost.cs (2)
22/// Hosts a gRPC service via <see cref="DashboardService"/> (aka the "Resource Service") that a dashboard can connect to. 123_app.MapGrpcService<DashboardService>();
Aspire.Hosting.Tests (7)
Dashboard\DashboardServiceTests.cs (7)
31const int LongLineCharacters = DashboardService.LogMaxBatchCharacters / 3; 41var dashboardService = new DashboardService(dashboardServiceData, new TestHostEnvironment(), new TestHostApplicationLifetime(), NullLogger<DashboardService>.Instance); 90const int LongLineCharacters = DashboardService.LogMaxBatchCharacters / 3; 94var dashboardService = new DashboardService(dashboardServiceData, new TestHostEnvironment(), new TestHostApplicationLifetime(), NullLogger<DashboardService>.Instance); 99logger.LogInformation(new string('1', DashboardService.LogMaxBatchCharacters)); 117l => Assert.Equal(DashboardService.LogMaxBatchCharacters, l.Text.Length)); 146var dashboardService = new DashboardService(dashboardServiceData, new TestHostEnvironment(), new TestHostApplicationLifetime(), loggerFactory.CreateLogger<DashboardService>());