RouteCollectionExtension.MapDashboardRoute(RouteCollection, String) Method
Maps the specified URL route and sets a prefix.
Namespace: DevExpress.DashboardWeb.Mvc
Assembly: DevExpress.Dashboard.v18.2.Web.Mvc5.dll
Declaration
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 the route prefix. |
Remarks
A route prefix is used to handle requests from the client-side DashboardControl. Use the following properties on the client:
- HTML JS: DashboardControlOptions.endpoint
- ASP.NET Core: DashboardBackendOptionsBuilder.Uri
- ASP.NET MVC: DashboardBackendOptions.Uri
See Also