ControllerEndpointRouteBuilderExtensions Class

Definition

Contains extension methods for using Controllers with IEndpointRouteBuilder.

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

Methods

MapAreaControllerRoute(IEndpointRouteBuilder, String, String, String, Object, Object, Object)

Adds endpoints for controller actions to the IEndpointRouteBuilder and specifies a route with the given name, areaName, pattern, defaults, constraints, and dataTokens.

MapControllerRoute(IEndpointRouteBuilder, String, String, Object, Object, Object)

Adds endpoints for controller actions to the IEndpointRouteBuilder and specifies a route with the given name, pattern, defaults, constraints, and dataTokens.

MapControllers(IEndpointRouteBuilder)

Adds endpoints for controller actions to the IEndpointRouteBuilder without specifying any routes.

MapDefaultControllerRoute(IEndpointRouteBuilder)

Adds endpoints for controller actions to the IEndpointRouteBuilder and adds the default route {controller=Home}/{action=Index}/{id?}.

MapDynamicControllerRoute<TTransformer>(IEndpointRouteBuilder, String)

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

MapDynamicControllerRoute<TTransformer>(IEndpointRouteBuilder, String, Object)

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

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

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

MapFallbackToAreaController(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 controller endpoint that matches action, controller, and area.

MapFallbackToAreaController(IEndpointRouteBuilder, String, 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 controller endpoint that matches action, controller, and area.

MapFallbackToController(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 controller endpoint that matches action, and controller.

MapFallbackToController(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 controller endpoint that matches action, and controller.

Applies to