FallbackEndpointRouteBuilderExtensions Class

Definition

Contains extension methods for IEndpointRouteBuilder.

public ref class FallbackEndpointRouteBuilderExtensions abstract sealed
public static class FallbackEndpointRouteBuilderExtensions
type FallbackEndpointRouteBuilderExtensions = class
Public Module FallbackEndpointRouteBuilderExtensions
Inheritance
FallbackEndpointRouteBuilderExtensions

Fields

DefaultPattern

The default route pattern used by fallback routing. {*path:nonfile}

Methods

MapFallback(IEndpointRouteBuilder, RequestDelegate)

Adds a specialized RouteEndpoint to the IEndpointRouteBuilder that will match requests for non-file-names with the lowest possible priority.

MapFallback(IEndpointRouteBuilder, String, RequestDelegate)

Adds a specialized RouteEndpoint to the IEndpointRouteBuilder that will match the provided pattern with the lowest possible priority.

Applies to