1 instantiation of RunSessionRequest
Microsoft.WebTools.AspireService.Tests (1)
RunSessionRequestTests.cs (1)
15var request = new RunSessionRequest()
20 references to RunSessionRequest
Microsoft.WebTools.AspireService.Tests (20)
AspireServerService.cs (1)
212var runSessionApi = app.MapGroup(RunSessionRequest.Url);
AspireServerServiceTests.cs (11)
20private const string VersionedSessionUrl = $"{RunSessionRequest.Url}?{RunSessionRequest.VersionQuery}={RunSessionRequest.OurProtocolVersion}"; 163response = await client.DeleteAsync(RunSessionRequest.Url + "/2"); 167response = await client.DeleteAsync(RunSessionRequest.Url + "/3"); 266var response = await client.DeleteAsync(RunSessionRequest.Url + "/2"); 370await ws.ConnectAsync(new Uri($"wss://{tokens.serverAddress}{RunSessionRequest.Url}{SessionNotification.Url}"), httpClient, CancellationToken.None); 491type = RunSessionRequest.ProjectLaunchConfigurationType, 492mode= debugging? RunSessionRequest.DebugLaunchMode : RunSessionRequest.NoDebugLaunchMode, 508debug = string.Equals(launchConfig.mode, RunSessionRequest.DebugLaunchMode, StringComparison.OrdinalIgnoreCase),
HttpContextExtensions.cs (3)
17public static DateTime SupportedVersionAsDate = DateTime.Parse(RunSessionRequest.SupportedProtocolVersion); 51var runSessionRequest = await context.Request.ReadFromJsonAsync<RunSessionRequest>(AspireServerService.JsonSerializerOptions, cancelToken);
InfoResponse.cs (2)
22RunSessionRequest.OurProtocolVersion, 23RunSessionRequest.SupportedProtocolVersion
RunSessionRequestTests.cs (3)
15var request = new RunSessionRequest() 29LaunchType = RunSessionRequest.ProjectLaunchConfigurationType, 30LaunchMode= RunSessionRequest.DebugLaunchMode,