DashboardBackendOptions.Uri Property
In This Article
Gets or sets the URL used by the DashboardControl to send data requests to a server.
Namespace: DevExpress.DashboardWeb
Assembly: DevExpress.Dashboard.v24.2.Web.WebForms.dll
NuGet Package: DevExpress.Web.Dashboard
#Declaration
#Property Value
Type | Default | Description |
---|---|---|
String | String. |
A String object that specifies the endpoint URL prefix used to send data requests to a server. |
#Property Paths
You can access this nested property as listed below:
Object Type | Path to Uri |
---|---|
ASPx |
|
Dashboard |
|
#Remarks
The Uri option specifies an address where the server is hosted.
- For MVC or ASP.NET Core back-end, the URL is a controller’s address (e.g., api/dashboard).
- For the WebForms control with a configurator as a back-end, the URL is the Dashboard HTTP handler’s address (e.g., api/dashboard/DXDD.axd).
This value is used as a prefix in the RouteBuilderExtension.MapDashboardRoute / RouteCollectionExtension.MapDashboardRoute methods when you map a dashboard route.
See Also