Added DevExpress Dashboard to ASP.NET Core API and both Blazor WASM/Server frontends. Configured dashboard storage, sample data source, and API endpoint. Updated Blazor projects with dashboard packages, styles, and a new dashboard page. Navigation and configuration updated to support dashboard integration.
12 lines
436 B
Plaintext
12 lines
436 B
Plaintext
@page "/dashboard"
|
|
@inject Microsoft.Extensions.Configuration.IConfiguration Configuration
|
|
|
|
<DxDashboard Endpoint="@DashboardEndpoint" style="width: 100%; height: 800px;">
|
|
</DxDashboard>
|
|
|
|
@code {
|
|
private string DashboardEndpoint => $"{Configuration["ApiBaseUrl"]?.TrimEnd('/')}/api/dashboard";
|
|
}
|
|
|
|
@* <DxDashboard Endpoint="api/dashboard" WorkingMode="WorkingMode.ViewerOnly" style="width: 100%; height: 800px;">
|
|
</DxDashboard> *@ |