Skip to main content
A newer version of this page is available. .
All docs
V23.1

RouteBuilderExtension.MapDashboardRoute(IEndpointRouteBuilder, String, String) Method

Maps the specified URL route and sets a prefix and a controller name.

Namespace: DevExpress.DashboardAspNetCore

Assembly: DevExpress.Dashboard.v23.1.AspNetCore.dll

NuGet Package: DevExpress.AspNetCore.Dashboard

Declaration

public static void MapDashboardRoute(
    this IEndpointRouteBuilder endpointRouteBuilder,
    string routePrefix,
    string controllerName
)

Parameters

Name Type Description
endpointRouteBuilder IEndpointRouteBuilder

The IEndpointRouteBuilder to add the route to.

routePrefix String

A String value that specifies a route prefix.

controllerName String

A String value that specifies the controller name.

Remarks

A route prefix is used to handle requests from the client-side DashboardControl. Use the following properties in the client applications to specify the endpoint:

See Also