From 9af295d5babad10329b6ad7d7911e7547cbc730c Mon Sep 17 00:00:00 2001 From: Loretta Date: Wed, 14 Aug 2024 16:05:55 +0200 Subject: [PATCH] .net packages update to 8.0.8; fixes, etc... --- TIAM.Database.Test/TIAM.Database.Test.csproj | 14 +++++++------- TIAM.Database/TIAM.Database.csproj | 8 ++++---- TIAM.Entities/TIAM.Entities.csproj | 2 +- .../TIAM.Services.Server.Tests.csproj | 6 +++--- .../TIAM.Services.Server.csproj | 2 +- TIAMMobileApp/TIAMMobileApp.csproj | 6 +++--- TIAMSharedUI/TIAMSharedUI.csproj | 6 +++--- TIAMWebApp/Client/TIAMWebApp.Client.csproj | 6 +++--- TIAMWebApp/Server/Program.cs | 4 ++-- .../Server/Services/DevAdminSignalRhub.cs | 2 +- TIAMWebApp/Server/TIAMWebApp.Server.csproj | 18 +++++++++--------- .../TIAMWebApp.Shared.Application.csproj | 10 +++++----- .../Tiam.Services.Client.Tests.csproj | 4 ++-- 13 files changed, 44 insertions(+), 44 deletions(-) diff --git a/TIAM.Database.Test/TIAM.Database.Test.csproj b/TIAM.Database.Test/TIAM.Database.Test.csproj index 42009a81..d6159c6f 100644 --- a/TIAM.Database.Test/TIAM.Database.Test.csproj +++ b/TIAM.Database.Test/TIAM.Database.Test.csproj @@ -22,17 +22,17 @@ - - - - - + + + + + - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/TIAM.Database/TIAM.Database.csproj b/TIAM.Database/TIAM.Database.csproj index 90fd0f00..39ba2da1 100644 --- a/TIAM.Database/TIAM.Database.csproj +++ b/TIAM.Database/TIAM.Database.csproj @@ -8,10 +8,10 @@ - - - - + + + + diff --git a/TIAM.Entities/TIAM.Entities.csproj b/TIAM.Entities/TIAM.Entities.csproj index 122ec9d2..04c496e1 100644 --- a/TIAM.Entities/TIAM.Entities.csproj +++ b/TIAM.Entities/TIAM.Entities.csproj @@ -32,7 +32,7 @@ - + diff --git a/TIAM.Services.Server.Tests/TIAM.Services.Server.Tests.csproj b/TIAM.Services.Server.Tests/TIAM.Services.Server.Tests.csproj index 53e51fc9..e6a1d7d7 100644 --- a/TIAM.Services.Server.Tests/TIAM.Services.Server.Tests.csproj +++ b/TIAM.Services.Server.Tests/TIAM.Services.Server.Tests.csproj @@ -26,10 +26,10 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - + - - + + diff --git a/TIAM.Services.Server/TIAM.Services.Server.csproj b/TIAM.Services.Server/TIAM.Services.Server.csproj index feb967b2..14748770 100644 --- a/TIAM.Services.Server/TIAM.Services.Server.csproj +++ b/TIAM.Services.Server/TIAM.Services.Server.csproj @@ -26,7 +26,7 @@ - + diff --git a/TIAMMobileApp/TIAMMobileApp.csproj b/TIAMMobileApp/TIAMMobileApp.csproj index fe1754e1..a895ed28 100644 --- a/TIAMMobileApp/TIAMMobileApp.csproj +++ b/TIAMMobileApp/TIAMMobileApp.csproj @@ -88,15 +88,15 @@ - + - + - + diff --git a/TIAMSharedUI/TIAMSharedUI.csproj b/TIAMSharedUI/TIAMSharedUI.csproj index 89e64654..d8314f12 100644 --- a/TIAMSharedUI/TIAMSharedUI.csproj +++ b/TIAMSharedUI/TIAMSharedUI.csproj @@ -20,9 +20,9 @@ - - - + + + diff --git a/TIAMWebApp/Client/TIAMWebApp.Client.csproj b/TIAMWebApp/Client/TIAMWebApp.Client.csproj index 9502f5ba..f2ce51ad 100644 --- a/TIAMWebApp/Client/TIAMWebApp.Client.csproj +++ b/TIAMWebApp/Client/TIAMWebApp.Client.csproj @@ -11,9 +11,9 @@ - - - + + + diff --git a/TIAMWebApp/Server/Program.cs b/TIAMWebApp/Server/Program.cs index 10d16090..804cf070 100644 --- a/TIAMWebApp/Server/Program.cs +++ b/TIAMWebApp/Server/Program.cs @@ -52,8 +52,8 @@ builder.Services.AddSingleton(); builder.Services.AddScoped(); builder.Services.AddScoped(); - -builder.Services.AddSignalR(options => options.MaximumReceiveMessageSize = 102400 * 1024);//.AddMessagePackProtocol(options => options.SerializerOptions = MessagePackSerializerOptions.Standard.WithSecurity(MessagePackSecurity.UntrustedData)); +//Eddig a 23kb volt a legnagyobb MaximumReceiveMessageSize! "The default value of MaximumReceiveMessageSize is 32 KB" - J. +builder.Services.AddSignalR(options => options.MaximumReceiveMessageSize = 256 * 1024);//.AddMessagePackProtocol(options => options.SerializerOptions = MessagePackSerializerOptions.Standard.WithSecurity(MessagePackSecurity.UntrustedData)); builder.Services.Configure(options => { diff --git a/TIAMWebApp/Server/Services/DevAdminSignalRhub.cs b/TIAMWebApp/Server/Services/DevAdminSignalRhub.cs index ad3384a0..5c654122 100644 --- a/TIAMWebApp/Server/Services/DevAdminSignalRhub.cs +++ b/TIAMWebApp/Server/Services/DevAdminSignalRhub.cs @@ -104,7 +104,7 @@ public class DevAdminSignalRHub : Hub, IAcSignalRHubServe var logText = $"Server OnReceiveMessage; {nameof(requestId)}: {requestId}; ConnectionId: {Context.ConnectionId}; {tagName}"; if (message is { Length: 0 }) _logger.Warning($"message.Length == 0! {logText}"); - else _logger.Info(logText); + else _logger.Info($"[{message?.Length:N0}b] {logText}"); try { diff --git a/TIAMWebApp/Server/TIAMWebApp.Server.csproj b/TIAMWebApp/Server/TIAMWebApp.Server.csproj index 30210b15..f23cf7ee 100644 --- a/TIAMWebApp/Server/TIAMWebApp.Server.csproj +++ b/TIAMWebApp/Server/TIAMWebApp.Server.csproj @@ -14,19 +14,19 @@ - - - - - - + + + + + + - - - + + + diff --git a/TIAMWebApp/Shared/TIAMWebApp.Shared.Application.csproj b/TIAMWebApp/Shared/TIAMWebApp.Shared.Application.csproj index 0162055d..1b491701 100644 --- a/TIAMWebApp/Shared/TIAMWebApp.Shared.Application.csproj +++ b/TIAMWebApp/Shared/TIAMWebApp.Shared.Application.csproj @@ -22,11 +22,11 @@ - - - - - + + + + + diff --git a/Tiam.Services.Client.Tests/Tiam.Services.Client.Tests.csproj b/Tiam.Services.Client.Tests/Tiam.Services.Client.Tests.csproj index 98b8174b..c69f5b79 100644 --- a/Tiam.Services.Client.Tests/Tiam.Services.Client.Tests.csproj +++ b/Tiam.Services.Client.Tests/Tiam.Services.Client.Tests.csproj @@ -15,8 +15,8 @@ runtime; build; native; contentfiles; analyzers; buildtransitive - - + +