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