10 references to MapFallback
Microsoft.AspNetCore.Mvc.Core (2)
Builder\ControllerEndpointRouteBuilderExtensions.cs (2)
276
var builder = endpoints.
MapFallback
(pattern, context => Task.CompletedTask);
402
var builder = endpoints.
MapFallback
(pattern, context => Task.CompletedTask);
Microsoft.AspNetCore.Mvc.RazorPages (2)
Builder\RazorPagesEndpointRouteBuilderExtensions.cs (2)
139
var builder = endpoints.
MapFallback
(pattern, context => Task.CompletedTask);
253
var builder = endpoints.
MapFallback
(pattern, context => Task.CompletedTask);
Microsoft.AspNetCore.Routing (2)
Builder\FallbackEndpointRouteBuilderExtensions.cs (2)
44
return endpoints.
MapFallback
("{*path:nonfile}", requestDelegate);
57
/// <see cref="
MapFallback
(IEndpointRouteBuilder, string, RequestDelegate)"/> is intended to handle cases where no
Microsoft.AspNetCore.StaticAssets (1)
Development\StaticAssetDevelopmentRuntimeHandler.cs (1)
196
var fallback = endpoints.
MapFallback
(
Microsoft.AspNetCore.StaticFiles (2)
StaticFilesEndpointRouteBuilderExtensions.cs (2)
134
.
MapFallback
(pattern, CreateRequestDelegate(endpoints, filePath))
176
.
MapFallback
(pattern, CreateRequestDelegate(endpoints, filePath, options))
RoutingWebSite (1)
MapFallbackStartup.cs (1)
18
endpoints.
MapFallback
("/prefix/{*path:nonfile}", (context) =>