9 references to DashboardService
Aspire.Hosting (4)
Dashboard\DashboardService.cs (1)
21
internal 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 (5)
Dashboard\DashboardServiceTests.cs (5)
30
const int LongLineCharacters =
DashboardService
.LogMaxBatchCharacters / 3;
34
var dashboardService = new DashboardService(dashboardServiceData, new TestHostEnvironment(), new TestHostApplicationLifetime(), NullLogger<
DashboardService
>.Instance);
39
logger.LogInformation(new string('1',
DashboardService
.LogMaxBatchCharacters));
57
l => Assert.Equal(
DashboardService
.LogMaxBatchCharacters, l.Text.Length));
86
var dashboardService = new DashboardService(dashboardServiceData, new TestHostEnvironment(), new TestHostApplicationLifetime(), loggerFactory.CreateLogger<
DashboardService
>());