Integrate SignalR to provide real-time dashboard update notifications. - Added DashboardsHub and DashboardChangeNotifier on the backend. - Modified SqlDashboardStorage to trigger notifications on changes. - Registered SignalR services and mapped the hub endpoint. - Updated Blazor clients to connect to the hub and refresh dashboards on change. - Added SignalR client packages and necessary DI/configuration.
17 lines
626 B
Plaintext
17 lines
626 B
Plaintext
@using System.Net.Http
|
|
@using System.Net.Http.Json
|
|
@using Microsoft.AspNetCore.Components.Forms
|
|
@using Microsoft.AspNetCore.Components.Routing
|
|
@using Microsoft.AspNetCore.Components.Web
|
|
@using Microsoft.AspNetCore.Components.Web.Virtualization
|
|
@using Microsoft.AspNetCore.Components.WebAssembly.Http
|
|
@using Microsoft.JSInterop
|
|
@using Microsoft.AspNetCore.SignalR.Client
|
|
@using DbFirst.BlazorWasm
|
|
@using DbFirst.BlazorWasm.Layout
|
|
@using DbFirst.BlazorWasm.Models
|
|
@using DbFirst.BlazorWasm.Services
|
|
@using DbFirst.BlazorWasm.Components
|
|
@using DevExpress.Blazor
|
|
@using DevExpress.DashboardBlazor
|
|
@using DevExpress.DashboardWeb |