Skip to main content

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.v23.2.Web.Mvc5.dll

NuGet Package: DevExpress.Web.Mvc5.Dashboard

Declaration

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

Parameters

Name Type Description
context AreaRegistrationContext

A AreaRegistrationContext object containing information required to register an area within an 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.

Remarks

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

See Also