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.
24 lines
951 B
XML
24 lines
951 B
XML
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net8.0</TargetFramework>
|
|
<Nullable>enable</Nullable>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="DevExpress.Blazor" Version="25.2.3" />
|
|
<PackageReference Include="DevExpress.Blazor.Dashboard" Version="25.2.3" />
|
|
<PackageReference Include="DevExpress.Blazor.Themes" Version="25.2.3" />
|
|
<PackageReference Include="DevExpress.Blazor.Themes.Fluent" Version="25.2.3" />
|
|
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.22" />
|
|
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="8.0.22" PrivateAssets="all" />
|
|
<PackageReference Include="Microsoft.AspNetCore.SignalR.Client" Version="8.0.22" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Folder Include="wwwroot\sample-data\" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|