Add SignalR/WebSocket config and large upload support

Configured SignalR and WebSockets for improved reliability and large content handling. Added appsettings and web.config for production/IIS, including increased timeouts, message size limits, and security/compression settings. Added fallback to Long Polling if WebSockets fail.
This commit is contained in:
Michal Vrba
2026-01-30 17:26:01 +01:00
parent 71edc08d5e
commit fe8fa73692
5 changed files with 192 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
{
"Logging": {
"LogLevel": {
"Default": "Warning",
"Microsoft.AspNetCore": "Warning",
"Microsoft.AspNetCore.SignalR": "Warning",
"Microsoft.AspNetCore.Http.Connections": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"AllowedHosts": "*",
"SignalR": {
"EnableDetailedErrors": false
}
}