6 writes to DebugSession
Aspire.Dashboard.Tests (6)
Telemetry\DashboardTelemetrySenderTests.cs (4)
23DebugSession = new DebugSessionOptions() 37DebugSession = new DebugSessionOptions 64DebugSession = new DebugSessionOptions 114DebugSession = new DebugSessionOptions
Telemetry\DashboardTelemetryServiceTests.cs (2)
27DebugSession = new DebugSessionOptions 88DebugSession = new DebugSessionOptions
14 references to DebugSession
Aspire.Dashboard (4)
Configuration\ValidateDashboardOptions.cs (1)
179if (!options.DebugSession.TryParseOptions(out var debugSessionParseErrorMessage))
Telemetry\DashboardTelemetrySender.cs (3)
117if (DebugSessionHelpers.HasDebugSession(_options.Value.DebugSession, out var certificate, out var debugSessionUri, out var token)) 119if (_options.Value.DebugSession.TelemetryOptOut is not true) 121client = DebugSessionHelpers.CreateHttpClient(debugSessionUri, token, certificate, CreateHandler, _options.Value.DebugSession.DcpInstanceId);
Aspire.Dashboard.Tests (10)
Integration\StartupTests.cs (5)
371Assert.Equal(8080, app.DashboardOptionsMonitor.CurrentValue.DebugSession.Port); 373var cert = app.DashboardOptionsMonitor.CurrentValue.DebugSession.GetServerCertificate(); 377Assert.Equal("token!", app.DashboardOptionsMonitor.CurrentValue.DebugSession.Token); 378Assert.Equal("aspire-extension-run-123-dashboard", app.DashboardOptionsMonitor.CurrentValue.DebugSession.DcpInstanceId); 379Assert.Equal(true, app.DashboardOptionsMonitor.CurrentValue.DebugSession.TelemetryOptOut);
Telemetry\DashboardTelemetrySenderTests.cs (3)
46Assert.True(options.Value.DebugSession.TryParseOptions(out _)); 73Assert.True(options.Value.DebugSession.TryParseOptions(out _)); 123Assert.True(options.Value.DebugSession.TryParseOptions(out _));
Telemetry\DashboardTelemetryServiceTests.cs (2)
35Assert.True(options.Value.DebugSession.TryParseOptions(out _)); 96Assert.True(options.Value.DebugSession.TryParseOptions(out _));