The requested page is not available for the requested platform. You are viewing the content for Default platform.

RouteCollectionExtension.MapDashboardRoute(RouteCollection, String, String, String[], String) Method

Maps the specified URL route and sets a prefix, controller and area names, and namespaces.

Namespace: DevExpress.DashboardWeb.Mvc

Assembly: DevExpress.Dashboard.v19.1.Web.Mvc5.dll


public static void MapDashboardRoute(
    this RouteCollection routes,
    string routePrefix,
    string controllerName,
    string[] namespaces,
    string areaName
Public Shared Sub MapDashboardRoute(
    routes As RouteCollection,
    routePrefix As String,
    controllerName As String,
    namespaces As String(),
    areaName As String


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.

controllerName String

A String value that specifies the controller name.

namespaces String[]

A set of namespaces for the application.

areaName String

A String value that specifies the name of the area to register.


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

To learn how to adjust routing when a Web Dashboard is used in ASP.NET MVC Areas, see the T541859 KB article.

See Also