20 references to Put
Microsoft.AspNetCore.Hosting (2)
Internal\HostingMetrics.cs (2)
129KeyValuePair.Create(HttpMethods.Put, HttpMethods.Put),
Microsoft.AspNetCore.Http.Abstractions (2)
HttpMethods.cs (2)
149return Equals(Put, method); 173string _ when IsPut(method) => Put,
Microsoft.AspNetCore.Http.Abstractions.Tests (1)
HttpMethodslTests.cs (1)
17(new string[] { "PUT", "Put", "put" }, HttpMethods.Put),
Microsoft.AspNetCore.OutputCaching.Tests (1)
OutputCachePolicyProviderTests.cs (1)
31HttpMethods.Put,
Microsoft.AspNetCore.ResponseCaching.Tests (1)
ResponseCachingPolicyProviderTests.cs (1)
42HttpMethods.Put,
Microsoft.AspNetCore.Routing (6)
Builder\EndpointRouteBuilderExtensions.cs (1)
24private static readonly string[] PutVerb = new[] { HttpMethods.Put };
Matching\HttpMethodDestinationsLookup.cs (2)
59if (method.Equals(HttpMethods.Put, StringComparison.OrdinalIgnoreCase)) 1103 => (HttpMethods.Put, _putDestination),
RequestDelegateRouteBuilderExtensions.cs (3)
190return builder.MapVerb(HttpMethods.Put, template, handler); 203return builder.MapMiddlewareVerb(HttpMethods.Put, template, action); 219return builder.MapVerb(HttpMethods.Put, template, handler);
Microsoft.AspNetCore.Routing.FunctionalTests (1)
EndpointRoutingIntegrationTest.cs (1)
309request.AddHeader(HeaderNames.AccessControlRequestMethod, HttpMethods.Put);
Microsoft.AspNetCore.Routing.Microbenchmarks (2)
Matching\HttpMethodMatcherPolicyBenchmark.cs (1)
11private static string[] TestHttpMethods = ["*", HttpMethods.Get, HttpMethods.Connect, HttpMethods.Delete, HttpMethods.Head, HttpMethods.Options, HttpMethods.Patch, HttpMethods.Put, HttpMethods.Post, HttpMethods.Trace, "MERGE"];
Matching\HttpMethodPolicyJumpTableBenchmark.cs (1)
41KeyValuePair.Create(HttpMethods.Put, 7),
Microsoft.AspNetCore.Server.HttpSys (1)
src\Shared\HttpSys\RequestProcessing\NativeRequestContext.cs (1)
259HttpMethods.Put,
Microsoft.AspNetCore.Server.IIS (1)
src\Shared\HttpSys\RequestProcessing\NativeRequestContext.cs (1)
259HttpMethods.Put,
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Infrastructure\HttpUtilities.Generated.cs (1)
58_methodNames[(byte)HttpMethod.Put] = HttpMethods.Put;
Microsoft.AspNetCore.Shared.Tests (1)
src\Shared\HttpSys\RequestProcessing\NativeRequestContext.cs (1)
259HttpMethods.Put,