FallbackEndpointRouteBuilderExtensions 类

定义

包含 的 IEndpointRouteBuilder扩展方法。

public ref class FallbackEndpointRouteBuilderExtensions abstract sealed
public static class FallbackEndpointRouteBuilderExtensions
type FallbackEndpointRouteBuilderExtensions = class
Public Module FallbackEndpointRouteBuilderExtensions
继承
FallbackEndpointRouteBuilderExtensions

字段

DefaultPattern

回退路由使用的默认路由模式。 {*path:nonfile}

方法

MapFallback(IEndpointRouteBuilder, RequestDelegate)

向 添加专用 RouteEndpoint 的 , IEndpointRouteBuilder 以匹配具有可能最低优先级的非文件名的请求。

MapFallback(IEndpointRouteBuilder, String, RequestDelegate)

向 添加一个专用 RouteEndpoint 的 , IEndpointRouteBuilder 它将与提供的模式匹配,其优先级可能最低。

适用于