dashboard-devexpress-dot-dashboardblazor-6464f675.md
Contains options that allow you to configure the Dashboard component’s backend.
Namespace : DevExpress.DashboardBlazor
Assembly : DevExpress.Dashboard.v25.2.Blazor.dll
NuGet Package : DevExpress.Blazor.Dashboard
public class DxBackendOptions :
DxSettingsComponent
Public Class DxBackendOptions
Inherits DxSettingsComponent
Use the RequestHttpHeaders property to specify HTTP headers that are sent to the server:
<DxDashboard style="height: 800px;" Endpoint="api/dashboard">
<DxBackendOptions RequestHttpHeaders="@headers"></DxBackendOptions>
</DxDashboard>
@code {
public Dictionary<string, string> headers = new Dictionary<string, string>() { { "Auth", "AuthToken123" } };
}
Object ComponentBase DevExpress.DashboardBlazor.Native.DxSettingsComponent DxBackendOptions
See Also