Skip to main content

DashboardExtensionSettings.BackendOptions Property

Provides access to the Web Dashboard’s back-end options.

Namespace: DevExpress.DashboardWeb.Mvc

Assembly: DevExpress.Dashboard.v24.2.Web.Mvc5.dll

Declaration

public DashboardBackendOptions BackendOptions { get; set; }

Property Value

Type Description
DashboardBackendOptions

A DashboardBackendOptions object that contains the Web Dashboard’s back-end options.

Remarks

Use the BackendOptions property to specify server settings for the client dashboard application.

The code sample below shows how to configure the client: to set the server’s url and pass a custom Authorization header. Note that the Uri value should consist of a base URL where the Web Dashboard’s server side is hosted and a route prefix - a value that is set in the MVC / .NET Core MapDashboardRoute properties.

DashboardControl.BackendOptions.Uri = "{baseURL}/api/dashboard";
DashboardControl.BackendOptions.RequestHttpHeaders.Add("Authorization", "AuthToken123");

Refer to DashboardBackendOptions for a detailed description.

For ASP.NET Web Forms, use the BackendOptions property.

See Also