RouteCollectionExtension.MapDashboardRoute(RouteCollection) Method
OBSOLETE
Use the Map
Maps the specified URL route.
Namespace: DevExpress.DashboardWeb.Mvc
Assembly: DevExpress.Dashboard.v24.2.Web.Mvc5.dll
NuGet Package: DevExpress.Web.Mvc5.Dashboard
#Declaration
[Obsolete("Use the MapDashboardRoute overload with the controllerName parameter instead. Create the DevExpress.DashboardWeb.Mvc.DashboardController descendant and pass its name as the controllerName parameter's value. For more information, see the following BC article: https://go.devexpress.com/Dashboard_BC1018632.aspx.", true)]
public static void MapDashboardRoute(
this RouteCollection routes
)
#Parameters
Name | Type | Description |
---|---|---|
routes | Route |
A collection of the Route |
#Remarks
A route prefix is used to handle requests from the client-side DashboardControl. The default prefix is used if you do not specify the routePrefix parameter.