24 references to Put
CodeGenerator (1)
src\Shared\runtime\Http3\QPack\H3StaticTable.Http3.cs (1)
19[HttpMethod.Put] = 21,
HttpStress (1)
Program.cs (1)
347using (var req = new HttpRequestMessage(HttpMethod.Put, serverUri) { Version = httpVersion, Content = new StringContent(content) })
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (2)
Logging\AcceptanceTests.cs (2)
623Assert.Single(state, x => x.Key == HttpLoggingTagNames.Method && x.Value == HttpMethod.Put.ToString()); 657Assert.Single(state, x => x.Key == HttpLoggingTagNames.Method && x.Value == HttpMethod.Put.ToString());
Microsoft.AspNetCore.Mvc.FunctionalTests (4)
CorsTestsBase.cs (3)
155HttpMethod.Put, 222var request = new HttpRequestMessage(HttpMethod.Put, "http://localhost/Cors/GetUserComments"); 416HttpMethod.Put,
VersioningTestsBase.cs (1)
395var message = new HttpRequestMessage(HttpMethod.Put, "http://localhost/Movies/5?version=2");
Microsoft.AspNetCore.Mvc.Testing (1)
Handlers\RedirectHandler.cs (1)
64request.Method == HttpMethod.Post || request.Method == HttpMethod.Put || request.Method == HttpMethod.Patch;
Microsoft.AspNetCore.Routing.FunctionalTests (1)
WebHostBuilderExtensionsTest.cs (1)
49new HttpRequestMessage(HttpMethod.Put, "greeting/James") { Content = new StringContent("Biography") },
Microsoft.AspNetCore.Server.IISIntegration.Tests (1)
IISMiddlewareTests.cs (1)
150HttpMethod.Put,
Microsoft.AspNetCore.Server.Kestrel.Core (1)
src\Shared\runtime\Http3\QPack\H3StaticTable.Http3.cs (1)
19[HttpMethod.Put] = 21,
Microsoft.AspNetCore.Shared.Tests (1)
src\Shared\runtime\Http3\QPack\H3StaticTable.Http3.cs (1)
19[HttpMethod.Put] = 21,
Microsoft.AspNetCore.SignalR.Client.Tests (1)
TestHttpMessageHandler.cs (1)
153public void OnPut(string pathAndQuery, Func<HttpRequestMessage, CancellationToken, Task<HttpResponseMessage>> handler) => OnRequest(HttpMethod.Put, pathAndQuery, handler);
Microsoft.AspNetCore.StaticAssets.Tests (1)
StaticAssetsIntegrationTests.cs (1)
1001new [] { HttpMethod.Put },
Microsoft.AspNetCore.StaticFiles.Tests (1)
CacheHeaderTests.cs (1)
439new [] { HttpMethod.Put },
Microsoft.DotNet.Deployment.Tasks.Links (1)
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (2)
Languages\csharp\CSharp.cs (1)
212method.Method.ToLower() == "patch" || method == HttpMethod.Post || method == HttpMethod.Put)
Modeler\ServiceClientModelFactory.cs (1)
223return HttpMethod.Put;
Microsoft.Extensions.Logging.AzureAppServices (2)
BlobAppendReferenceWrapper.cs (2)
35var message = new HttpRequestMessage(HttpMethod.Put, _appendUri) 49var message = new HttpRequestMessage(HttpMethod.Put, _fullUri)
System.Net.Http (3)
src\libraries\Common\src\System\Net\Http\aspnetcore\Http3\QPack\H3StaticTable.Http3.cs (1)
19[HttpMethod.Put] = 21,
System\Net\Http\HttpClient.cs (1)
414HttpRequestMessage request = CreateRequestMessage(HttpMethod.Put, requestUri);
System\Net\Http\HttpMethod.cs (1)
1053 => Put,