/
githubmirror
/
aspnetcore
Обзор
Документация
Войти
/
githubmirror
/
aspnetcore
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Shared/MiddlewareInvokedKeys.cs
18 строк
778 B
Korolev Dmitry
Defer implicit middlewares to run after Routing (#67307)
23 июн 2026, 19:11
Не верифицирован
23 июн 2026, 19:11
ca1634b
Код
Авторство
О чём код?
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Http; internal static class MiddlewareInvokedKeys { public const string Antiforgery = "__AntiforgeryMiddlewareWithEndpointInvoked"; public const string CsrfProtection = "__CsrfProtectionMiddlewareWithEndpointInvoked"; /// <summary> /// Key for a Func<RequestDelegate, RequestDelegate> stored in IApplicationBuilder.Properties by WebApplicationBuilder. /// It composes the framework's implicit post-routing middleware pipeline. /// </summary> public const string PostRoutingPipeline = "__Internal_PostRoutingPipeline"; public static readonly object Sentinel = new(); }