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

RouteBuilderExtension.MapDashboardRoute(IRouteBuilder, String, String, String[], String) Method

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

Namespace: DevExpress.DashboardAspNetCore

Assembly: DevExpress.Dashboard.v19.1.AspNetCore.dll

Declaration

public static void MapDashboardRoute(
    this IRouteBuilder routeBuilder,
    string routePrefix,
    string controllerName,
    string[] namespaces,
    string areaName
)
<ExtensionAttribute>
Public Shared Sub MapDashboardRoute(
    routeBuilder As IRouteBuilder,
    routePrefix As String,
    controllerName As String,
    namespaces As String(),
    areaName As String
)

Parameters

Name Type Description
routeBuilder IRouteBuilder

The IRouteBuilder collection to add the route to.

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.

Remarks

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

See Also