Skip to main content
A newer version of this page is available. .

RouteBuilderExtension.MapDashboardRoute(IRouteBuilder, String) Method

Maps the specified URL route and sets a prefix.

Namespace: DevExpress.DashboardAspNetCore

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

NuGet Package: DevExpress.AspNetCore.Dashboard

Declaration

public static void MapDashboardRoute(
    this IRouteBuilder routeBuilder,
    string routePrefix
)

Parameters

Name Type Description
routeBuilder IRouteBuilder

The IRouteBuilder collection to add the route to.

routePrefix String

A String value that specifies a route prefix.

Remarks

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

See Also