1 override of RequestAborted
Microsoft.AspNetCore.Http (1)
2 writes to RequestAborted
Microsoft.AspNetCore.Http (2)
122 references to RequestAborted
Aspire.Dashboard (2)
Aspire.Hosting.Tests (4)
Microsoft.AspNetCore.Authentication.Cookies (6)
CookieAuthenticationHandler.cs (6)
173ticket = await Options.SessionStore.RetrieveAsync(claim.Value, Context, Context.RequestAborted);
188await Options.SessionStore.RemoveAsync(_sessionKey!, Context, Context.RequestAborted);
265await Options.SessionStore.RenewAsync(_sessionKey, ticket, Context, Context.RequestAborted);
343await Options.SessionStore.RenewAsync(_sessionKey, ticket, Context, Context.RequestAborted);
347_sessionKey = await Options.SessionStore.StoreAsync(ticket, Context, Context.RequestAborted);
393await Options.SessionStore.RemoveAsync(_sessionKey, Context, Context.RequestAborted);
Microsoft.AspNetCore.Authentication.DeviceBoundSessions (2)
Microsoft.AspNetCore.Authentication.Facebook (2)
Microsoft.AspNetCore.Authentication.Google (2)
Microsoft.AspNetCore.Authentication.JwtBearer (1)
Microsoft.AspNetCore.Authentication.MicrosoftAccount (2)
Microsoft.AspNetCore.Authentication.OAuth (2)
Microsoft.AspNetCore.Authentication.OpenIdConnect (11)
Microsoft.AspNetCore.Authentication.Twitter (5)
Microsoft.AspNetCore.Authentication.WsFederation (4)
Microsoft.AspNetCore.Components.Endpoints (1)
Microsoft.AspNetCore.Diagnostics (3)
Microsoft.AspNetCore.Diagnostics.HealthChecks (1)
Microsoft.AspNetCore.Grpc.JsonTranscoding (1)
Microsoft.AspNetCore.Http (2)
Microsoft.AspNetCore.Http.Abstractions (1)
Microsoft.AspNetCore.Http.Connections (3)
Microsoft.AspNetCore.Http.Extensions (8)
HttpResponseJsonExtensions.cs (5)
96return WriteAsJsonAsyncSlow(response.BodyWriter, value, options, response.HttpContext.RequestAborted);
127return WriteAsJsonAsyncSlow(response, value, jsonTypeInfo, response.HttpContext.RequestAborted);
169return WriteAsJsonAsyncSlow(response, value, jsonTypeInfo, response.HttpContext.RequestAborted);
276response.HttpContext.RequestAborted);
326return WriteAsJsonAsyncSlow(response.BodyWriter, value, type, context, response.HttpContext.RequestAborted);
Microsoft.AspNetCore.Http.Results (6)
src\aspnetcore\src\Shared\ResultsHelpers\FileResultHelper.cs (4)
39await StreamCopyOperation.CopyToAsync(fileStream, outputStream, count: null, bufferSize: 64 * 1024, cancel: context.RequestAborted);
44await StreamCopyOperation.CopyToAsync(fileStream, outputStream, rangeLength, BufferSize, context.RequestAborted);
64await outputStream.WriteAsync(buffer, context.RequestAborted);
78await outputStream.WriteAsync(buffer.Slice(from, length), context.RequestAborted);
Microsoft.AspNetCore.Identity (2)
Microsoft.AspNetCore.Identity.UI (2)
Microsoft.AspNetCore.Mvc.Core (13)
src\aspnetcore\src\Shared\ResultsHelpers\FileResultHelper.cs (4)
39await StreamCopyOperation.CopyToAsync(fileStream, outputStream, count: null, bufferSize: 64 * 1024, cancel: context.RequestAborted);
44await StreamCopyOperation.CopyToAsync(fileStream, outputStream, rangeLength, BufferSize, context.RequestAborted);
64await outputStream.WriteAsync(buffer, context.RequestAborted);
78await outputStream.WriteAsync(buffer.Slice(from, length), context.RequestAborted);
Microsoft.AspNetCore.Mvc.Formatters.Xml (4)
Microsoft.AspNetCore.Mvc.NewtonsoftJson (6)
Microsoft.AspNetCore.OpenApi (3)
Microsoft.AspNetCore.OutputCaching (8)
OutputCacheMiddleware.cs (7)
110await policy.CacheRequestAsync(context, httpContext.RequestAborted);
179await policy.ServeResponseAsync(context, httpContext.RequestAborted);
276await policy.ServeFromCacheAsync(context, context.HttpContext.RequestAborted);
318await context.CachedResponse.CopyToAsync(response.BodyWriter, context.HttpContext.RequestAborted);
348cacheEntry = await _outputCacheEntryDispatcher.ScheduleAsync(cacheContext.CacheKey, (Store: _store, CacheContext: cacheContext), static async (key, state) => await OutputCacheEntryFormatter.GetAsync(key, state.Store, state.CacheContext.HttpContext.RequestAborted));
424&& !context.HttpContext.RequestAborted.IsCancellationRequested)
448_store, _logger, context.HttpContext.RequestAborted);
Microsoft.AspNetCore.RateLimiting (3)
Microsoft.AspNetCore.ResponseCaching (1)
Microsoft.AspNetCore.Routing (1)
Microsoft.AspNetCore.SpaProxy (1)
Microsoft.AspNetCore.SpaServices.Extensions (1)
Microsoft.AspNetCore.StaticAssets (1)
Microsoft.AspNetCore.StaticFiles (2)
Microsoft.AspNetCore.TestHost (1)
Microsoft.AspNetCore.Watch.BrowserRefresh (1)
Microsoft.DotNet.HotReload.Watch (3)