Skip to main content
All docs
V25.1
  • RouteCollectionExtension.MapDashboardRoute(RouteCollection, String, String) Method

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

    Namespace: DevExpress.DashboardWeb.Mvc

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

    NuGet Package: DevExpress.Web.Mvc5.Dashboard

    Declaration

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

    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.

    controllerName String

    A String value that specifies the controller name.

    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