From 77733ca4ee16fa0d3cf6ecf321b1566423b052dd Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Tue, 15 Feb 2022 16:34:10 +0100 Subject: [PATCH] refresh avvio programma x API con conf REDIS --- GPW.CORE.Api/Program.cs | 9 +++++---- GPW.CORE.WRKLOG/GPW.CORE.WRKLOG.csproj | 2 +- Resources/ChangeLog.html | 2 +- Resources/VersNum.txt | 2 +- Resources/manifest.xml | 2 +- 5 files changed, 9 insertions(+), 8 deletions(-) diff --git a/GPW.CORE.Api/Program.cs b/GPW.CORE.Api/Program.cs index ca211ce..ca06653 100644 --- a/GPW.CORE.Api/Program.cs +++ b/GPW.CORE.Api/Program.cs @@ -28,10 +28,11 @@ builder.Services.Configure(options => options.Sender_Name = configuration["ExternalProviders:MailKit:SMTP:SenderName"]; }); -//services.AddStackExchangeRedisCache(options => -//{ -// options.Configuration = Configuration.GetConnectionString("Redis"); -//}); +builder.Services.AddStackExchangeRedisCache(options => +{ + configuration.GetSection("Redis").Get(); + //options.Configuration = configuration.GetSection("Redis").GetConnectionString("Redis"); +}); builder.Services.AddControllers() .AddJsonOptions(c => c.JsonSerializerOptions.ReferenceHandler = ReferenceHandler.Preserve); diff --git a/GPW.CORE.WRKLOG/GPW.CORE.WRKLOG.csproj b/GPW.CORE.WRKLOG/GPW.CORE.WRKLOG.csproj index f097edd..2a96ebd 100644 --- a/GPW.CORE.WRKLOG/GPW.CORE.WRKLOG.csproj +++ b/GPW.CORE.WRKLOG/GPW.CORE.WRKLOG.csproj @@ -2,7 +2,7 @@ net6.0 - 3.0.2202.1511 + 3.0.2202.1516 enable enable diff --git a/Resources/ChangeLog.html b/Resources/ChangeLog.html index a47dc24..518fe71 100644 --- a/Resources/ChangeLog.html +++ b/Resources/ChangeLog.html @@ -1,6 +1,6 @@ GPW - Gestione Presenze Web -

Versione: 3.0.2202.1511

+

Versione: 3.0.2202.1516


Note di rilascio:
  • diff --git a/Resources/VersNum.txt b/Resources/VersNum.txt index b8af0f8..6b505b1 100644 --- a/Resources/VersNum.txt +++ b/Resources/VersNum.txt @@ -1 +1 @@ -3.0.2202.1511 +3.0.2202.1516 diff --git a/Resources/manifest.xml b/Resources/manifest.xml index bc0a933..731b725 100644 --- a/Resources/manifest.xml +++ b/Resources/manifest.xml @@ -1,6 +1,6 @@ - 3.0.2202.1511 + 3.0.2202.1516 http://nexus.steamware.net/repository/SWS/GWMS/stable/0/GWMS.UI.zip http://nexus.steamware.net/repository/SWS/GWMS/stable/0/ChangeLog.html false