Rimozione differente cache FusionCache dati
This commit is contained in:
@@ -100,7 +100,7 @@ namespace MP.Data.Services.IOC
|
||||
return await GetCurrOdlByProdAsync(idxMacchina);
|
||||
},
|
||||
expiration: GetRandTOut(redisLongTimeCache),
|
||||
tagList: ["IOC_CurrOdl", cKey, idxMacchina]
|
||||
tagList: [idxMacchina]
|
||||
);
|
||||
|
||||
#if false
|
||||
|
||||
@@ -1224,7 +1224,7 @@ namespace MP.IOC.Data
|
||||
cacheKey: $"{Utils.redisOdlList}:Current:{IdxMacchina}",
|
||||
expiration: TimeSpan.FromSeconds(redisShortTimeCache),
|
||||
fetchFunc: async () => (await IocDbController.OdlCurrByMaccAsync(IdxMacchina)) ?? new ODLExpModel(),
|
||||
tagList: [Utils.redisOdlList]
|
||||
tagList: [Utils.redisOdlList, IdxMacchina]
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Version>8.16.2606.1210</Version>
|
||||
<Version>8.16.2606.1212</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<body>
|
||||
<i>Modulo MP-IOC </i>
|
||||
<h4>Versione: 8.16.2606.1210</h4>
|
||||
<h4>Versione: 8.16.2606.1212</h4>
|
||||
<br /> Note di rilascio:
|
||||
<ul>
|
||||
<li>
|
||||
|
||||
@@ -1 +1 @@
|
||||
8.16.2606.1210
|
||||
8.16.2606.1212
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<item>
|
||||
<version>8.16.2606.1210</version>
|
||||
<version>8.16.2606.1212</version>
|
||||
<url>https://nexus.steamware.net/repository/SWS/MP-IOC/stable/LAST/MP.IOC.zip</url>
|
||||
<changelog>https://nexus.steamware.net/repository/SWS/MP-IOC/stable/LAST/ChangeLog.html</changelog>
|
||||
<mandatory>false</mandatory>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<RootNamespace>MP.RIOC</RootNamespace>
|
||||
<Version>8.16.2606.1208</Version>
|
||||
<Version>8.16.2606.1212</Version>
|
||||
<AspNetCoreHostingModel>InProcess</AspNetCoreHostingModel>
|
||||
</PropertyGroup>
|
||||
|
||||
|
||||
@@ -18,6 +18,9 @@ var logger = LogManager.Setup()
|
||||
.LoadConfigurationFromAppSettings()
|
||||
.GetCurrentClassLogger();
|
||||
|
||||
builder.Logging.ClearProviders();
|
||||
builder.Host.UseNLog();
|
||||
|
||||
var assemblyVersion = Assembly.GetExecutingAssembly().GetName().Version?.ToString();
|
||||
logger.Info($"MP.RIOC | Program.cs: startup | v.{assemblyVersion}");
|
||||
logger.Info($"Current ASPNETCORE_ENVIRONMENT: {env.EnvironmentName}");
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<body>
|
||||
<i>Modulo MP-RIOC </i>
|
||||
<h4>Versione: 8.16.2606.1208</h4>
|
||||
<h4>Versione: 8.16.2606.1212</h4>
|
||||
<br /> Note di rilascio:
|
||||
<ul>
|
||||
<li>
|
||||
|
||||
@@ -1 +1 @@
|
||||
8.16.2606.1208
|
||||
8.16.2606.1212
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<item>
|
||||
<version>8.16.2606.1208</version>
|
||||
<version>8.16.2606.1212</version>
|
||||
<url>https://nexus.steamware.net/repository/SWS/MP-RIOC/stable/LAST/MP.RIOC.zip</url>
|
||||
<changelog>https://nexus.steamware.net/repository/SWS/MP-RIOC/stable/LAST/ChangeLog.html</changelog>
|
||||
<mandatory>false</mandatory>
|
||||
|
||||
@@ -3,9 +3,10 @@
|
||||
"LogLevel": {
|
||||
"Default": "Information",
|
||||
"Yarp": "Debug",
|
||||
"Microsoft.AspNetCore": "Warning",
|
||||
"Microsoft.AspNetCore.Hosting.Diagnostics": "Information",
|
||||
"Microsoft.EntityFrameworkCore.Database.Command": "Warning",
|
||||
"Microsoft.EntityFrameworkCore": "Warning",
|
||||
"Microsoft.EntityFrameworkCore.Database.Command": "Warning"
|
||||
"Microsoft.AspNetCore": "Warning"
|
||||
}
|
||||
},
|
||||
"AllowedHosts": "*",
|
||||
@@ -24,7 +25,7 @@
|
||||
"logfile": {
|
||||
"type": "File",
|
||||
"fileName": "${basedir}/logs/${shortdate}.log",
|
||||
"keepFileOpen": false,
|
||||
"keepFileOpen": true,
|
||||
"archiveEvery": "Day",
|
||||
"archiveFileName": "${basedir}/logs/old/${shortdate}_{#}.log",
|
||||
"archiveNumbering": "DateAndSequence",
|
||||
@@ -39,9 +40,24 @@
|
||||
}
|
||||
},
|
||||
"rules": [
|
||||
{
|
||||
"logger": "Microsoft.EntityFrameworkCore.*",
|
||||
"maxLevel": "Info",
|
||||
"final": true
|
||||
},
|
||||
{
|
||||
"logger": "Microsoft.AspNetCore.Hosting.*",
|
||||
"minLevel": "Info",
|
||||
"finalMinLevel": "Info"
|
||||
},
|
||||
{
|
||||
"logger": "Microsoft.AspNetCore.*",
|
||||
"maxLevel": "Info",
|
||||
"finalMinLevel": "Info"
|
||||
},
|
||||
{
|
||||
"logger": "*",
|
||||
"minLevel": "Trace",
|
||||
"minLevel": "Info",
|
||||
"writeTo": "logconsole"
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user