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

RouteCollectionExtension.MapDashboardRoute(RouteCollection, String) Method

Maps the specified URL route and sets a prefix.

Namespace: DevExpress.DashboardWeb.Mvc

Assembly: DevExpress.Dashboard.v20.2.Web.Mvc5.dll

NuGet Package: DevExpress.Web.Mvc5.Dashboard

Declaration

public static void MapDashboardRoute(
    this RouteCollection routes,
    string routePrefix
)

Parameters

Name Type Description
routes RouteCollection

A collection of the RouteCollection objects that are routes for the application.

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