Aggiunto reset forzato x SPEC
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<RootNamespace>MP.SPEC</RootNamespace>
|
||||
<Version>8.16.2606.1215</Version>
|
||||
<Version>8.16.2606.1216</Version>
|
||||
<UserSecretsId>1800a78a-6ff1-40f9-b490-87fb8bfc1394</UserSecretsId>
|
||||
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
|
||||
</PropertyGroup>
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<body>
|
||||
<i>Modulo MAPOSPEC </i>
|
||||
<h4>Versione: 8.16.2606.1215</h4>
|
||||
<h4>Versione: 8.16.2606.1216</h4>
|
||||
<br /> Note di rilascio:
|
||||
<ul>
|
||||
<li>
|
||||
|
||||
@@ -1 +1 @@
|
||||
8.16.2606.1215
|
||||
8.16.2606.1216
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<item>
|
||||
<version>8.16.2606.1215</version>
|
||||
<version>8.16.2606.1216</version>
|
||||
<url>https://nexus.steamware.net/repository/SWS/MP-SPEC/stable/LAST/MP.SPEC.zip</url>
|
||||
<changelog>https://nexus.steamware.net/repository/SWS/MP-SPEC/stable/LAST/ChangeLog.html</changelog>
|
||||
<mandatory>false</mandatory>
|
||||
|
||||
Reference in New Issue
Block a user