Skip to main content
All docs
V24.2

EndpointRouteBuilderExtension.MapDashboardRoute(IEndpointRouteBuilder) Method

In This Article
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.

Namespace: DevExpress.DashboardAspNetCore

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

#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(
    IEndpointRouteBuilder endpointRouteBuilder
)

#Parameters

Name Type Description
endpointRouteBuilder IEndpointRouteBuilder

The IEndpointRouteBuilder to add the route to.

See Also