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.
16 lines
352 B
JSON
16 lines
352 B
JSON
{
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Warning",
|
|
"Microsoft.AspNetCore": "Warning",
|
|
"Microsoft.AspNetCore.SignalR": "Warning",
|
|
"Microsoft.AspNetCore.Http.Connections": "Warning",
|
|
"Microsoft.Hosting.Lifetime": "Information"
|
|
}
|
|
},
|
|
"AllowedHosts": "*",
|
|
|
|
"SignalR": {
|
|
"EnableDetailedErrors": false
|
|
}
|
|
} |