RazorPagesEndpointRouteBuilderExtensions Class

Definition

Contains extension methods for using Razor Pages with IEndpointRouteBuilder.

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

Methods

MapDynamicPageRoute<TTransformer>(IEndpointRouteBuilder, String)

Adds a specialized RouteEndpoint to the IEndpointRouteBuilder that will attempt to select a page using the route values produced by TTransformer.

MapDynamicPageRoute<TTransformer>(IEndpointRouteBuilder, String, Object)

Adds a specialized RouteEndpoint to the IEndpointRouteBuilder that will attempt to select a page using the route values produced by TTransformer.

MapDynamicPageRoute<TTransformer>(IEndpointRouteBuilder, String, Object, Int32)

Adds a specialized RouteEndpoint to the IEndpointRouteBuilder that will attempt to select a page using the route values produced by TTransformer.

MapFallbackToAreaPage(IEndpointRouteBuilder, String, String)

Adds a specialized RouteEndpoint to the IEndpointRouteBuilder that will match requests for non-file-names with the lowest possible priority. The request will be routed to a page endpoint that matches page, and area.

MapFallbackToAreaPage(IEndpointRouteBuilder, String, String, String)

Adds a specialized RouteEndpoint to the IEndpointRouteBuilder that will match requests for non-file-names with the lowest possible priority. The request will be routed to a page endpoint that matches page, and area.

MapFallbackToPage(IEndpointRouteBuilder, String)

Adds a specialized RouteEndpoint to the IEndpointRouteBuilder that will match requests for non-file-names with the lowest possible priority. The request will be routed to a page endpoint that matches page.

MapFallbackToPage(IEndpointRouteBuilder, String, String)

Adds a specialized RouteEndpoint to the IEndpointRouteBuilder that will match requests for non-file-names with the lowest possible priority. The request will be routed to a page endpoint that matches page.

MapRazorPages(IEndpointRouteBuilder)

Adds endpoints for Razor Pages to the IEndpointRouteBuilder.

Applies to