diff --git a/MP.INVE/Data/MiDataService.cs b/MP.INVE/Data/MiDataService.cs index 09b5488e..d4b71a40 100644 --- a/MP.INVE/Data/MiDataService.cs +++ b/MP.INVE/Data/MiDataService.cs @@ -6,6 +6,7 @@ using StackExchange.Redis; using System.Diagnostics; using EgwCoreLib.Razor; using EgwCoreLib.Razor.Data; +using EgwCoreLib.Utils; namespace MP.INVE.Data { diff --git a/MP.INVE/MP.INVE.csproj b/MP.INVE/MP.INVE.csproj index 13ee92b2..60f976f6 100644 --- a/MP.INVE/MP.INVE.csproj +++ b/MP.INVE/MP.INVE.csproj @@ -5,7 +5,7 @@ enable enable MP.INVE - 6.16.2402.1914 + 6.16.2409.408 @@ -21,11 +21,14 @@ - + - - + + + + + diff --git a/MP.INVE/NLog.config b/MP.INVE/NLog.config deleted file mode 100644 index b32ba10a..00000000 --- a/MP.INVE/NLog.config +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/MP.INVE/Program.cs b/MP.INVE/Program.cs index 76d25e2a..e6c81e3f 100644 --- a/MP.INVE/Program.cs +++ b/MP.INVE/Program.cs @@ -6,6 +6,8 @@ using Microsoft.AspNetCore.Components.Web; using MP.INVE.Components; using MP.INVE.Data; using MP.INVE.Services; +using NLog; +using NLog.Web; using StackExchange.Redis; var builder = WebApplication.CreateBuilder(args); @@ -18,9 +20,16 @@ var builder = WebApplication.CreateBuilder(args); * * */ + +var logger = LogManager.Setup() + .LoadConfigurationFromAppSettings() + .GetCurrentClassLogger(); +logger.Info("Program.cs: startup"); + ConfigurationManager configuration = builder.Configuration; // REDIS setup +logger.Info("Setup REDIS"); string connStringRedis = configuration.GetConnectionString("Redis"); string redisSrvAddr = connStringRedis.Substring(0, connStringRedis.IndexOf(":")); // avvio oggetto shared x redis... @@ -41,6 +50,8 @@ builder.Services.AddBlazoredLocalStorage(); builder.Services.AddHttpClient(); builder.Services.AddSingleton(); +logger.Info("Aggiunti services"); + var app = builder.Build(); // Configure the HTTP request pipeline. @@ -60,4 +71,5 @@ app.UseRouting(); app.MapBlazorHub(); app.MapFallbackToPage("/_Host"); +logger.Info("Run App"); app.Run(); diff --git a/MP.INVE/Resources/ChangeLog.html b/MP.INVE/Resources/ChangeLog.html index 133369ca..b166755d 100644 --- a/MP.INVE/Resources/ChangeLog.html +++ b/MP.INVE/Resources/ChangeLog.html @@ -1,6 +1,6 @@ Modulo MAPOINVE -

Versione: 6.16.2402.1914

+

Versione: 6.16.2409.408


Note di rilascio: