25 references to IsGet
Microsoft.AspNetCore (1)
src\aspnetcore\src\Shared\SafeHttpMethods.cs (1)
19HttpMethods.IsGet(method) ||
Microsoft.AspNetCore.Antiforgery (1)
src\aspnetcore\src\Shared\SafeHttpMethods.cs (1)
19HttpMethods.IsGet(method) ||
Microsoft.AspNetCore.Authentication.OpenIdConnect (2)
OpenIdConnectHandler.cs (2)
117if (HttpMethods.IsGet(Request.Method)) 644if (HttpMethods.IsGet(Request.Method))
Microsoft.AspNetCore.Authentication.WsFederation (1)
WsFederationHandler.cs (1)
70if (Options.RemoteSignOutPath.HasValue && Options.RemoteSignOutPath == Request.Path && HttpMethods.IsGet(Request.Method)
Microsoft.AspNetCore.Components.Endpoints (1)
CacheView\CacheViewService.cs (1)
83if (!cacheView.Enabled || !HttpMethods.IsGet(httpContext.Request.Method) || cacheView.IsInStreamingContext)
Microsoft.AspNetCore.Http.Abstractions (1)
HttpMethods.cs (1)
187string _ when IsGet(method) => Get,
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionDispatcher.cs (1)
87else if (HttpMethods.IsGet(context.Request.Method) || HttpMethods.IsConnect(context.Request.Method))
Microsoft.AspNetCore.Http.Results (1)
src\aspnetcore\src\Shared\ResultsHelpers\FileResultHelper.cs (1)
145if ((HttpMethods.IsHead(request.Method) || HttpMethods.IsGet(request.Method))
Microsoft.AspNetCore.Mvc.Core (4)
ApplicationModels\DefaultApplicationModelProvider.cs (1)
36_supportsNonGetRequests = context => !HttpMethods.IsGet(context.HttpContext.Request.Method);
BindPropertyAttribute.cs (1)
86return !HttpMethods.IsGet(context.HttpContext.Request.Method);
RequireHttpsAttribute.cs (1)
66if (!HttpMethods.IsGet(filterContext.HttpContext.Request.Method))
src\aspnetcore\src\Shared\ResultsHelpers\FileResultHelper.cs (1)
145if ((HttpMethods.IsHead(request.Method) || HttpMethods.IsGet(request.Method))
Microsoft.AspNetCore.Mvc.RazorPages (1)
ApplicationModels\DefaultPageApplicationModelPartsProvider.cs (1)
25_supportsNonGetRequests = context => !HttpMethods.IsGet(context.HttpContext.Request.Method);
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
src\aspnetcore\src\Shared\SafeHttpMethods.cs (1)
19HttpMethods.IsGet(method) ||
Microsoft.AspNetCore.OutputCaching (1)
Policies\DefaultPolicy.cs (1)
77if (!HttpMethods.IsGet(request.Method) && !HttpMethods.IsHead(request.Method))
Microsoft.AspNetCore.ResponseCaching (1)
ResponseCachingPolicyProvider.cs (1)
17if (!HttpMethods.IsGet(request.Method) && !HttpMethods.IsHead(request.Method))
Microsoft.AspNetCore.SpaServices.Extensions (1)
Proxying\SpaProxy.cs (1)
135if (!HttpMethods.IsGet(requestMethod) &&
Microsoft.AspNetCore.StaticAssets (1)
StaticAssetsInvoker.cs (1)
397if (!HttpMethods.IsGet(_request.Method))
Microsoft.AspNetCore.StaticFiles (2)
Helpers.cs (1)
24return HttpMethods.IsGet(method) || HttpMethods.IsHead(method);
StaticFileContext.cs (1)
73if (HttpMethods.IsGet(_method))
Microsoft.AspNetCore.Watch.BrowserRefresh (3)
src\sdk\src\Dotnet.Watch\Web.Middleware\BlazorWasmHotReloadMiddleware.cs (1)
56if (HttpMethods.IsGet(context.Request.Method))
src\sdk\src\Dotnet.Watch\Web.Middleware\BrowserRefreshMiddleware.cs (2)
131if (!HttpMethods.IsGet(request.Method)) 171if (!HttpMethods.IsGet(request.Method) && !HttpMethods.IsPost(request.Method))
Microsoft.AspNetCore.WebSockets (1)
WebSocketMiddleware.cs (1)
229if (!HttpMethods.IsGet(method))