diff --git a/MP-TAB3/MP-TAB3.csproj b/MP-TAB3/MP-TAB3.csproj
index c5a55a16..4fb5a719 100644
--- a/MP-TAB3/MP-TAB3.csproj
+++ b/MP-TAB3/MP-TAB3.csproj
@@ -3,7 +3,7 @@
net6.0
enable
- 6.16.2402.2615
+ 6.16.2402.2616
enable
MP_TAB3
diff --git a/MP-TAB3/Program.cs b/MP-TAB3/Program.cs
index ae572504..205ad048 100644
--- a/MP-TAB3/Program.cs
+++ b/MP-TAB3/Program.cs
@@ -66,12 +66,16 @@ app.UseStaticFiles();
string BasePathDisegni = configuration.GetValue("OptConf:BasePathDisegni");
if (!string.IsNullOrEmpty(BasePathDisegni))
{
- // gestione cartella x PDF
- app.UseStaticFiles(new StaticFileOptions
+ // verifico esista folder disegni
+ if (Directory.Exists(BasePathDisegni))
{
- FileProvider = new PhysicalFileProvider(BasePathDisegni),
- RequestPath = "/disegni",
- });
+ // gestione cartella x PDF
+ app.UseStaticFiles(new StaticFileOptions
+ {
+ FileProvider = new PhysicalFileProvider(BasePathDisegni),
+ RequestPath = "/disegni",
+ });
+ }
}
app.UseRouting();
diff --git a/MP-TAB3/Resources/ChangeLog.html b/MP-TAB3/Resources/ChangeLog.html
index dd5774a8..6db9a4b9 100644
--- a/MP-TAB3/Resources/ChangeLog.html
+++ b/MP-TAB3/Resources/ChangeLog.html
@@ -1,6 +1,6 @@
Modulo MAPOSPEC
- Versione: 6.16.2402.2615
+ Versione: 6.16.2402.2616
Note di rilascio:
-
diff --git a/MP-TAB3/Resources/VersNum.txt b/MP-TAB3/Resources/VersNum.txt
index 5d451f5d..e0264aae 100644
--- a/MP-TAB3/Resources/VersNum.txt
+++ b/MP-TAB3/Resources/VersNum.txt
@@ -1 +1 @@
-6.16.2402.2615
+6.16.2402.2616
diff --git a/MP-TAB3/Resources/manifest.xml b/MP-TAB3/Resources/manifest.xml
index 59d248ce..a61d4a2d 100644
--- a/MP-TAB3/Resources/manifest.xml
+++ b/MP-TAB3/Resources/manifest.xml
@@ -1,6 +1,6 @@
-
- 6.16.2402.2615
+ 6.16.2402.2616
https://nexus.steamware.net/repository/SWS/MP-TAB3/stable/LAST/MP-TAB3.zip
https://nexus.steamware.net/repository/SWS/MP-TAB3/stable/LAST/ChangeLog.html
false
diff --git a/MP-TAB3/appsettings.Production.json b/MP-TAB3/appsettings.Production.json
index f562d43f..74a15bdc 100644
--- a/MP-TAB3/appsettings.Production.json
+++ b/MP-TAB3/appsettings.Production.json
@@ -6,7 +6,23 @@
"Microsoft.AspNetCore": "Warning"
}
},
+ "ConnectionStrings": {
+ "Redis": "iis01.egalware.com:6379,DefaultDatabase=1,connectTimeout=5000,syncTimeout=5000,asyncTimeout=5000,abortConnect=false,ssl=false",
+ "MP.All": "Server=SQL2016DEV;Database=MoonPro; User ID=sa;Password=keyhammer16; integrated security=False; MultipleActiveResultSets=True; App=MP.TAB3;",
+ "MP.Mon": "Server=SQL2016DEV;Database=MoonPro; User ID=sa;Password=keyhammer16; integrated security=False; MultipleActiveResultSets=True; App=MP.TAB3;",
+ "Mp.IS": "Server=SQL2016DEV;Database=MoonPro_IS_EdilChim; User ID=sa;Password=keyhammer16; integrated security=False; MultipleActiveResultSets=True; App=MP.INVE;",
+ "MP.Tab": "Server=SQL2016DEV;Database=MoonPro; User ID=sa;Password=keyhammer16; integrated security=False; MultipleActiveResultSets=True; App=MP.TAB3;",
+ "MP.Mag": "Server=SQL2016DEV;Database=MoonPro_MAG; User ID=sa;Password=keyhammer16; integrated security=False; MultipleActiveResultSets=True; App=MP.TAB3;"
+ },
"OptConf": {
+ "msRefresh": "1100",
+ "BaseAddr": "https://localhost:7295/MP/TAB3/",
+ "BaseUrl": "/MP/TAB3",
+ "ImgBasePath": "https://iis01.egalware.com/MP/images/macchine/small/",
+ "ImgStBasePath": "C:\\Steamware\\images\\ST",
+ "CodModulo": "MoonPro",
+ "samplerMaxCall": 15,
"BasePathDisegni": "C:\\Steamware\\disegni"
- }
+ },
+ "AlarmDest": "samuele.locatelli@egalware.com, ceo@steamware.net",
}