3 references to MapFallback
Aspire.Cli.EndToEnd.Tests (1)
SettledNpmReleasesTests.cs (1)
143
application.
MapFallback
(() => Results.Json(new { error = "Not found" }, statusCode: StatusCodes.Status404NotFound));
Microsoft.AspNetCore.Routing (2)
Builder\EndpointRouteBuilderExtensions.cs (2)
376
/// <see cref="
MapFallback
(IEndpointRouteBuilder, Delegate)"/> is intended to handle cases where URL path of
382
/// <see cref="
MapFallback
(IEndpointRouteBuilder, Delegate)"/> registers an endpoint using the pattern