diff --git a/MP.SPEC/Components/CmpTop.razor.cs b/MP.SPEC/Components/CmpTop.razor.cs index 2889baca..e7075b5c 100644 --- a/MP.SPEC/Components/CmpTop.razor.cs +++ b/MP.SPEC/Components/CmpTop.razor.cs @@ -2,6 +2,7 @@ using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components.Authorization; using Microsoft.JSInterop; using MP.AppAuth.Services; +using MP.Data.DbModels; using MP.SPEC.Data; using MP.SPEC.Extensions; @@ -52,6 +53,14 @@ namespace MP.SPEC.Components protected async Task FlushCache() { + + // svuoto cache redis... + ConfigModel updRec = new ConfigModel() + { + Chiave = "AZIENDA", + Valore = "*" + }; + await MDService.ConfigUpdateAsync(updRec); await MDService.ForceFlushRedisCache(); await MDService.ForceFlushFusionCacheAsync(); await ForceReload(); diff --git a/MP.SPEC/MP.SPEC.csproj b/MP.SPEC/MP.SPEC.csproj index 1acb3e2e..ba8925e4 100644 --- a/MP.SPEC/MP.SPEC.csproj +++ b/MP.SPEC/MP.SPEC.csproj @@ -5,7 +5,7 @@ enable enable MP.SPEC - 8.16.2606.1215 + 8.16.2606.1216 1800a78a-6ff1-40f9-b490-87fb8bfc1394 en diff --git a/MP.SPEC/Pages/ForceReset.razor b/MP.SPEC/Pages/ForceReset.razor index 3d209938..073e56e3 100644 --- a/MP.SPEC/Pages/ForceReset.razor +++ b/MP.SPEC/Pages/ForceReset.razor @@ -1,4 +1,5 @@ @page "/force-reset" +@page "/ForceReset" @using MP.AppAuth.Services @using MP.SPEC.Data @@ -47,6 +48,13 @@ nextVal = 10; await InvokeAsync(StateHasChanged); await Task.Delay(bDelay); + // svuoto cache redis... + ConfigModel updRec = new ConfigModel() + { + Chiave = "AZIENDA", + Valore = "*" + }; + await MDService.ConfigUpdateAsync(updRec); title = "UserDataReload..."; currVal = 50; nextVal = 80; diff --git a/MP.SPEC/Resources/ChangeLog.html b/MP.SPEC/Resources/ChangeLog.html index 1c6099d6..c77d7379 100644 --- a/MP.SPEC/Resources/ChangeLog.html +++ b/MP.SPEC/Resources/ChangeLog.html @@ -1,6 +1,6 @@ Modulo MAPOSPEC -

Versione: 8.16.2606.1215

+

Versione: 8.16.2606.1216


Note di rilascio: