28 references to Get
Microsoft.AspNetCore.Components.Endpoints (2)
Builder\OpaqueRedirection.cs (1)
61routeEndpointBuidler.Metadata.Add(new HttpMethodMetadata([HttpMethods.Get]));
Builder\RazorComponentEndpointFactory.cs (1)
18private static readonly HttpMethodMetadata HttpMethodsMetadata = new([HttpMethods.Get, HttpMethods.Head, HttpMethods.Post]);
Microsoft.AspNetCore.Hosting (2)
Internal\HostingTelemetryHelpers.cs (2)
35KeyValuePair.Create(HttpMethods.Get, HttpMethods.Get),
Microsoft.AspNetCore.Http.Abstractions (2)
HttpMethods.cs (2)
93return Equals(Get, method); 187string _ when IsGet(method) => Get,
Microsoft.AspNetCore.Identity (1)
_generated\0\GeneratedRouteBuilderExtensions.g.cs (1)
59private static readonly string[] GetVerb = new[] { global::Microsoft.AspNetCore.Http.HttpMethods.Get };
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
EndpointMetadataApiDescriptionProvider.cs (1)
50return method.Equals(HttpMethods.Get, StringComparison.Ordinal) ||
Microsoft.AspNetCore.Mvc.RazorPages (1)
Infrastructure\DefaultPageHandlerMethodSelector.cs (1)
166return HttpMethods.IsHead(context.HttpContext.Request.Method) ? HttpMethods.Get : null;
Microsoft.AspNetCore.OpenApi (2)
_generated\0\GeneratedRouteBuilderExtensions.g.cs (1)
59private static readonly string[] GetVerb = new[] { global::Microsoft.AspNetCore.Http.HttpMethods.Get };
Services\OpenApiGenerator.cs (1)
90return method.Equals(HttpMethods.Get, StringComparison.Ordinal) ||
Microsoft.AspNetCore.Routing (7)
Builder\EndpointRouteBuilderExtensions.cs (1)
22private static readonly string[] GetVerb = new[] { HttpMethods.Get };
Matching\HttpMethodDestinationsLookup.cs (2)
49case 'g' when method.Equals(HttpMethods.Get, StringComparison.OrdinalIgnoreCase): 105'g' => (HttpMethods.Get, _getDestination),
RequestDelegateRouteBuilderExtensions.cs (3)
106return builder.MapVerb(HttpMethods.Get, template, handler); 119return builder.MapMiddlewareVerb(HttpMethods.Get, template, action); 135return builder.MapVerb(HttpMethods.Get, template, handler);
RouteEndpointDataSource.cs (1)
313method.Equals(HttpMethods.Get, StringComparison.Ordinal) ||
Microsoft.AspNetCore.Server.HttpSys (1)
src\aspnetcore\src\Shared\HttpSys\RequestProcessing\NativeRequestContext.cs (1)
256HttpMethods.Get,
Microsoft.AspNetCore.Server.IIS (1)
src\aspnetcore\src\Shared\HttpSys\RequestProcessing\NativeRequestContext.cs (1)
256HttpMethods.Get,
Microsoft.AspNetCore.Server.Kestrel.Core (5)
Internal\Http2\Http2Stream.cs (2)
709HttpRequestHeaders.HeaderMethod = HttpMethods.Get; 711_methodText = HttpMethods.Get;
Internal\Http3\Http3Stream.cs (2)
310HttpRequestHeaders.HeaderMethod = HttpMethods.Get; 312_methodText = HttpMethods.Get;
Internal\Infrastructure\HttpUtilities.Generated.cs (1)
53_methodNames[(byte)HttpMethod.Get] = HttpMethods.Get;
Microsoft.AspNetCore.StaticAssets (1)
StaticAssetEndpointFactory.cs (1)
17private static readonly HttpMethodMetadata _supportedMethods = new([HttpMethods.Get, HttpMethods.Head]);
Microsoft.AspNetCore.StaticFiles (1)
StaticFilesEndpointRouteBuilderExtensions.cs (1)
20private static readonly string[] _supportedHttpMethods = new[] { HttpMethods.Get, HttpMethods.Head };
Microsoft.AspNetCore.TestHost (1)
HttpContextBuilder.cs (1)
41request.Method = HttpMethods.Get;