Skip to main content

DashboardBackendOptions.Uri Property

Gets or sets the URL used by the DashboardControl to send data requests to a server.

Namespace: DevExpress.DashboardWeb

Assembly: DevExpress.Dashboard.v23.2.Web.WebForms.dll

NuGet Package: DevExpress.Web.Dashboard

Declaration

[DefaultValue("")]
public string Uri { get; set; }

Property Value

Type Default Description
String String.Empty

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
ASPxDashboard
DashboardExtensionSettings

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