1 write to Client
Microsoft.AspNetCore.Mvc.FunctionalTests (1)
TempDataTestBase.cs (1)
21Client = Factory.CreateDefaultClient();
27 references to Client
Microsoft.AspNetCore.Mvc.FunctionalTests (27)
TempDataInCookiesTest.cs (7)
65var response = await Client.GetAsync($"/TempData/SetLargeValueInTempData?size={size}&character={character}"); 89response = await Client.SendAsync(GetRequest("/TempData/GetLargeValueFromTempData", response)); 107response = await Client.SendAsync(GetRequest("/TempData/GetLargeValueFromTempData", response)); 124var response = await Client.PostAsync("/TempData/SetTempData", content); 139var redirectResponse = await Client.SendAsync(GetRequest("/TempData/GetTempDataAndRedirect", response)); 145response = await Client.SendAsync(GetRequest(redirectResponse.Headers.Location.ToString(), response)); 177var response = await Client.PostAsync($"{protocol}://localhost/TempData/SetTempData", content);
TempDataTestBase.cs (20)
46var response = await Client.PostAsync("/TempData/SetTempData", content); 52response = await Client.SendAsync(GetRequest("/TempData/GetTempData", response)); 60response = await Client.SendAsync(GetRequest("/TempData/GetTempData", response)); 77var response = await Client.PostAsync("/TempData/DisplayTempData", content); 96var response = await Client.PostAsync("/TempData/SetTempData", content); 102var redirectResponse = await Client.SendAsync(GetRequest("/TempData/GetTempDataAndRedirect", response)); 108response = await Client.SendAsync(GetRequest(redirectResponse.Headers.Location.ToString(), response)); 127var response = await Client.PostAsync("/TempData/SetTempData", content); 133var peekResponse = await Client.SendAsync(GetRequest("/TempData/PeekTempData", response)); 141var getResponse = await Client.SendAsync(GetRequest("/TempData/GetTempData", response)); 167var redirectResponse = await Client.PostAsync("/TempData/SetTempDataMultiple", content); 173var response = await Client.SendAsync(GetRequest(redirectResponse.Headers.Location.ToString(), redirectResponse)); 192var response = await Client.GetAsync("/TempData/SetTempDataResponseWrite"); 206var response = await Client.GetAsync("/TempData/SetTempDataInActionResult"); 212response = await Client.SendAsync(GetRequest("/TempData/GetTempDataSetInActionResult", response)); 220response = await Client.SendAsync(GetRequest("/TempData/GetTempDataSetInActionResult", response)); 230var response = await Client.GetAsync("/TempData/UnhandledExceptionAndSettingTempData"); 238response = await Client.GetAsync("/TempData/UnhandledExceptionAndGetTempData"); 248var response = await Client.GetAsync("/TempData/UnhandledExceptionAndSettingTempData?handleException=true"); 256response = await Client.GetAsync("/TempData/UnhandledExceptionAndGetTempData");