- spostamento servizio AppAuth i proj generico
This commit is contained in:
Samuele Locatelli
2025-04-16 12:57:21 +02:00
parent fffd86cb30
commit 29079a578f
18 changed files with 22 additions and 10 deletions
+2
View File
@@ -17,10 +17,12 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="6.0.1" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="NLog" Version="5.3.4" />
<PackageReference Include="RestSharp" Version="112.0.0" />
<PackageReference Include="SharpZipLib" Version="1.4.2" />
<PackageReference Include="StackExchange.Redis" Version="2.8.31" />
</ItemGroup>
<ItemGroup>
@@ -11,13 +11,13 @@ using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
namespace MP.Land.Data
namespace MP.AppAuth.Services
{
public class AppAuthService : IDisposable
{
#region Public Fields
// diritti (cablòato)
// diritti (cablato)
public const string RoleSuperAdmin = "MoonPro_SuperAdmin";
public static AppAuthController dbController;
@@ -579,7 +579,7 @@ namespace MP.Land.Data
/// <summary>
/// Oggetto DB redis da impiegare x chiamate R/W
/// </summary>
private IDatabase redisDb = null!;
private StackExchange.Redis.IDatabase redisDb = null!;
private Random rnd = new Random();
+1
View File
@@ -15,6 +15,7 @@ using MP.Land;
using MP.Land.Shared;
using MP.AppAuth.Models;
using MP.Land.Data;
using MP.AppAuth.Services;
namespace MP.Land.Components
{
@@ -3,6 +3,7 @@ using Microsoft.AspNetCore.Mvc.Formatters;
using Microsoft.JSInterop;
using MP.AppAuth.DTO;
using MP.AppAuth.Models;
using MP.AppAuth.Services;
using MP.Land.Data;
using System;
using System.Collections.Generic;
@@ -2,6 +2,7 @@ using Microsoft.AspNetCore.Components;
using Microsoft.JSInterop;
using MP.AppAuth.DTO;
using MP.AppAuth.Models;
using MP.AppAuth.Services;
using MP.Land.Data;
using System;
using System.Collections.Generic;
@@ -2,6 +2,7 @@ using Microsoft.AspNetCore.Components;
using Microsoft.JSInterop;
using MP.AppAuth.DTO;
using MP.AppAuth.Models;
using MP.AppAuth.Services;
using MP.Land.Data;
using System;
using System.Collections.Generic;
+1
View File
@@ -1,4 +1,5 @@
@using MP.AppAuth.Models
@using MP.AppAuth.Services
@using MP.Land.Data
@using Microsoft.Extensions.Configuration
@@ -8,6 +8,7 @@ using System.Threading.Tasks;
using Microsoft.Extensions.Configuration;
using MP.Land.Data;
using System.Diagnostics;
using MP.AppAuth.Services;
namespace MP.Land.Components
{
+2 -1
View File
@@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<RootNamespace>MP.Land</RootNamespace>
<Version>6.16.2504.0909</Version>
<Version>6.16.2504.1612</Version>
<Configurations>Debug;Release;Debug_LiManDebug</Configurations>
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
<RunAnalyzersDuringBuild>True</RunAnalyzersDuringBuild>
@@ -15,6 +15,7 @@
<Compile Remove="Components\TagSearch.razor.cs" />
<Compile Remove="Components\TaskEdit.razor.cs" />
<Compile Remove="Components\TaskExeList.razor.cs" />
<Compile Remove="Data\AppAuthService.cs" />
<Compile Remove="Data\FileArchDataService.cs" />
<Compile Remove="Pages\Archive.razor.cs" />
<Compile Remove="Pages\Setup.razor.cs" />
+1
View File
@@ -1,4 +1,5 @@
using Microsoft.AspNetCore.Components;
using MP.AppAuth.Services;
using MP.Land.Data;
using System;
using System.Collections.Generic;
+1
View File
@@ -1,5 +1,6 @@
@page "/RefreshData"
@using MP.AppAuth.Services
@using MP.Land.Components
@using MP.Land.Data
@using MP.TaskMan.Services
+1
View File
@@ -1,5 +1,6 @@
@page "/SysInfo"
@using MP.AppAuth
@using MP.AppAuth.Services
@using MP.Land.Data
@using Microsoft.Extensions.Configuration
+1
View File
@@ -1,6 +1,7 @@
using Microsoft.AspNetCore.Components;
using Microsoft.Extensions.Configuration;
using MP.AppAuth.Models;
using MP.AppAuth.Services;
using MP.Land.Data;
using System;
using System.Collections.Generic;
+1 -1
View File
@@ -1,6 +1,6 @@
<body>
<i>Modulo Tablet MAPO - DotNet6</i>
<h4>Versione: 6.16.2504.0909</h4>
<h4>Versione: 6.16.2504.1612</h4>
<br />
Note di rilascio:
<ul>
+1 -1
View File
@@ -1 +1 @@
6.16.2504.0909
6.16.2504.1612
+1 -1
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<item>
<version>6.16.2504.0909</version>
<version>6.16.2504.1612</version>
<url>https://nexus.steamware.net/repository/SWS/MP-LAND/stable/LAST/MP.Land.zip</url>
<changelog>https://nexus.steamware.net/repository/SWS/MP-LAND/stable/LAST/ChangeLog.html</changelog>
<mandatory>false</mandatory>
+1
View File
@@ -1,4 +1,5 @@
using Microsoft.AspNetCore.Components;
using MP.AppAuth.Services;
using MP.Land.Data;
using System;
using System.Collections.Generic;
+1 -3
View File
@@ -1,11 +1,9 @@
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Authorization;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Configuration;
using MP.AppAuth.Models;
using MP.Land.Data;
using MP.AppAuth.Services;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Threading.Tasks;