7 references to PutAsync
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (2)
Logging\AcceptanceTests.cs (2)
607
var ex = await Assert.ThrowsAsync<HttpRequestException>(() => client.
PutAsync
("/error?body=true", content));
641
var ex = await Assert.ThrowsAsync<HttpRequestException>(() => client.
PutAsync
("/error?body=true", content));
Microsoft.AspNetCore.Mvc.FunctionalTests (3)
ApiExplorerTest.cs (1)
1427
var response = await Client.
PutAsync
(
ControllerFromServicesTests.cs (1)
79
var response = await Client.
PutAsync
(
TestingInfrastructureTests.cs (1)
175
var response = await Client.
PutAsync
("Testing/Put/3", content: null);
Microsoft.AspNetCore.TestHost.Tests (1)
TestClientTests.cs (1)
99
var response = await client.
PutAsync
("http://localhost:12345", content).DefaultTimeout();
Microsoft.DotNet.VersionTools (1)
Automation\GitHubApi\GitHubClient.cs (1)
141
using (HttpResponseMessage response = await _httpClient.
PutAsync
(fileUrl, bodyContent))