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