Skip to main content
A newer version of this page is available.
All docs
V21.2

EndpointRouteBuilderExtension.MapDashboardRoute(Object, String) Method

OBSOLETE

Use the MapDashboardRoute overload with the controllerName parameter instead. Create the DevExpress.DashboardAspNetCore.DashboardController descendant and pass its name as the controllerName parameter's value. For more information, see the following BC article: https://go.devexpress.com/Dashboard_BC1018632.aspx.

Maps the specified URL route and sets a prefix.

Namespace: DevExpress.DashboardAspNetCore

Assembly: DevExpress.Dashboard.v21.2.AspNetCore.dll

NuGet Package: DevExpress.AspNetCore.Dashboard

Declaration

[Obsolete("Use the MapDashboardRoute overload with the controllerName parameter instead. Create the DevExpress.DashboardAspNetCore.DashboardController descendant and pass its name as the controllerName parameter's value. For more information, see the following BC article: https://go.devexpress.com/Dashboard_BC1018632.aspx.", true)]
public static void MapDashboardRoute(
    dynamic endpointRouteBuilder,
    string routePrefix
)

Parameters

Name Type Description
endpointRouteBuilder Object

The collection to add the route to.

routePrefix String

A String value that specifies a route prefix.

See Also