20 references to IsPost
Microsoft.AspNetCore.Antiforgery (1)
src\aspnetcore\src\Shared\HttpExtensions.cs (1)
13HttpMethods.IsPost(method) || HttpMethods.IsPut(method) || HttpMethods.IsPatch(method);
Microsoft.AspNetCore.Authentication.DeviceBoundSessions (1)
DeviceBoundSessionHandler.cs (1)
69if (HttpMethods.IsPost(Request.Method))
Microsoft.AspNetCore.Authentication.OpenIdConnect (2)
OpenIdConnectHandler.cs (2)
126else if (HttpMethods.IsPost(Request.Method) 665else if (HttpMethods.IsPost(Request.Method)
Microsoft.AspNetCore.Authentication.WsFederation (1)
WsFederationHandler.cs (1)
154if (HttpMethods.IsPost(Request.Method)
Microsoft.AspNetCore.Components.Endpoints (2)
RazorComponentEndpointInvoker.cs (1)
210var processPost = HttpMethods.IsPost(context.Request.Method) &&
Rendering\EndpointHtmlRenderer.Streaming.cs (1)
245if (HttpMethods.IsPost(httpContext.Request.Method))
Microsoft.AspNetCore.Components.Server (1)
CircuitDisconnectMiddleware.cs (1)
34if (!HttpMethods.IsPost(context.Request.Method))
Microsoft.AspNetCore.Diagnostics (1)
src\aspnetcore\src\Shared\HttpExtensions.cs (1)
13HttpMethods.IsPost(method) || HttpMethods.IsPut(method) || HttpMethods.IsPatch(method);
Microsoft.AspNetCore.Hosting (1)
src\aspnetcore\src\Shared\HttpExtensions.cs (1)
13HttpMethods.IsPost(method) || HttpMethods.IsPut(method) || HttpMethods.IsPatch(method);
Microsoft.AspNetCore.Http.Abstractions (1)
HttpMethods.cs (1)
188string _ when IsPost(method) => Post,
Microsoft.AspNetCore.Http.Connections (3)
Internal\HttpConnectionDispatcher.cs (3)
82if (HttpMethods.IsPost(context.Request.Method)) 111if (HttpMethods.IsPost(context.Request.Method)) 129if (HttpMethods.IsPost(context.Request.Method))
Microsoft.AspNetCore.HttpOverrides (1)
HttpMethodOverrideMiddleware.cs (1)
38if (HttpMethods.IsPost(context.Request.Method))
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
DefaultHtmlGenerator.cs (1)
270else if (HttpMethods.IsPost(method))
Microsoft.AspNetCore.Routing (1)
src\aspnetcore\src\Shared\HttpExtensions.cs (1)
13HttpMethods.IsPost(method) || HttpMethods.IsPut(method) || HttpMethods.IsPatch(method);
Microsoft.AspNetCore.Server.IISIntegration (1)
IISMiddleware.cs (1)
111if (HttpMethods.IsPost(httpContext.Request.Method) &&
Microsoft.AspNetCore.Watch.BrowserRefresh (2)
src\sdk\src\Dotnet.Watch\Web.Middleware\BlazorWasmHotReloadMiddleware.cs (1)
60else if (HttpMethods.IsPost(context.Request.Method))
src\sdk\src\Dotnet.Watch\Web.Middleware\BrowserRefreshMiddleware.cs (1)
171if (!HttpMethods.IsGet(request.Method) && !HttpMethods.IsPost(request.Method))