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

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

Namespace: DevExpress.DashboardWeb.Mvc

Assembly: DevExpress.Dashboard.v18.1.Web.Mvc.dll

Syntax

public static void MapDashboardRoute(
    this AreaRegistrationContext context,
    string routePrefix,
    string controllerName,
    string[] namespaces
)

Parameters

Type Name Description
AreaRegistrationContext context

A AreaRegistrationContext object containing information required to register an area within an application.

String routePrefix

A String value that specifies the route prefix.

String controllerName

A String value that specifies the controller name.

String[] namespaces

A set of namespaces for the application.

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