From caa5ca85c57acbe5618ef4338c5cf2da58100895 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Mon, 19 Feb 2024 09:19:36 +0100 Subject: [PATCH] Evento reload gestito + rilettura pagina gestita --- MP-TAB3/Components/MseSampler.razor.cs | 2 +- MP-TAB3/MP-TAB3.csproj | 2 +- MP-TAB3/Pages/_Layout.cshtml | 26 ++++++++++++++++++++++++++ MP-TAB3/Resources/ChangeLog.html | 2 +- MP-TAB3/Resources/VersNum.txt | 2 +- MP-TAB3/Resources/manifest.xml | 2 +- MP-TAB3/appsettings.json | 2 +- MP.Data/Services/ReloadEventArgs.cs | 26 ++++++++++++++++++++++++++ MP.Data/Services/TabDataService.cs | 23 ++++++++++++++++++++++- 9 files changed, 80 insertions(+), 7 deletions(-) create mode 100644 MP.Data/Services/ReloadEventArgs.cs diff --git a/MP-TAB3/Components/MseSampler.razor.cs b/MP-TAB3/Components/MseSampler.razor.cs index 31fa07b6..8f32699b 100644 --- a/MP-TAB3/Components/MseSampler.razor.cs +++ b/MP-TAB3/Components/MseSampler.razor.cs @@ -138,8 +138,8 @@ namespace MP_TAB3.Components aTimer.Elapsed -= ElapsedTimer; aTimer.Stop(); aTimer.Dispose(); - Log.Info("MseSampler Timer Disposed!"); GC.Collect(); + Log.Info("MseSampler Timer Disposed!"); } private async Task RefreshData() diff --git a/MP-TAB3/MP-TAB3.csproj b/MP-TAB3/MP-TAB3.csproj index 8d19880d..58f9870f 100644 --- a/MP-TAB3/MP-TAB3.csproj +++ b/MP-TAB3/MP-TAB3.csproj @@ -3,7 +3,7 @@ net6.0 enable - 6.16.2402.619 + 6.16.2402.1909 enable MP_TAB3 diff --git a/MP-TAB3/Pages/_Layout.cshtml b/MP-TAB3/Pages/_Layout.cshtml index 10492c10..dd54b16e 100644 --- a/MP-TAB3/Pages/_Layout.cshtml +++ b/MP-TAB3/Pages/_Layout.cshtml @@ -40,5 +40,31 @@ + + @*Gestione autoriconnessione: https://github.com/dotnet/aspnetcore/issues/38305 (vedere anche https://docs.microsoft.com/it-it/aspnet/core/blazor/fundamentals/signalr?view=aspnetcore-6.0#modify-the-reconnection-handler-blazor-server)*@ + + @*Gestione ricollegamento successivo: https://learn.microsoft.com/en-us/aspnet/core/blazor/fundamentals/signalr?view=aspnetcore-6.0*@ + + diff --git a/MP-TAB3/Resources/ChangeLog.html b/MP-TAB3/Resources/ChangeLog.html index bfc9a17e..ebcdf8c7 100644 --- a/MP-TAB3/Resources/ChangeLog.html +++ b/MP-TAB3/Resources/ChangeLog.html @@ -1,6 +1,6 @@ Modulo MAPOSPEC -

Versione: 6.16.2402.619

+

Versione: 6.16.2402.1909


Note di rilascio: