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

Adds a dashboard route to the .

Namespace: DevExpress.DashboardAspNetCore

Assembly: DevExpress.Dashboard.v18.2.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

Type Name Description
Microsoft.AspNetCore.Routing.IRouteBuilder routeBuilder

The @Microsoft.AspNetCore.Routing.IRouteBuilder to add the route to.

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.

String areaName

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

See Also