Logo
Explore Help
Sign In
starred/Electron.NET
1
0
Fork 0
You've already forked Electron.NET
mirror of https://github.com/ElectronNET/Electron.NET.git synced 2026-07-21 08:05:57 +00:00
Code Issues 668 Packages Projects Releases 20 Wiki Activity
Files
06a332827bf2b1ed67027902b4c93b838a5fa60f
Electron.NET/src/ElectronNET.Samples.BlazorSignalR/appsettings.Development.json

11 lines
222 B
JSON
Raw Normal View History

Add ElectronNET.Samples.BlazorSignalR - complete sample app for SignalR mode
2026-01-30 12:17:20 +01:00
{
"Logging": {
"LogLevel": {
"Default": "Information",
CRITICAL FIX: Prevent Electron from quitting in SignalR mode ROOT CAUSE: Electron quits when app.on('ready') completes with 0 windows. In SignalR mode, no windows are created immediately, so Electron exits, triggering ElectronProcess_Stopped and shutting down ASP.NET. SOLUTION: Create an invisible 1x1 keep-alive window in SignalR mode to prevent Electron from quitting while waiting for SignalR connection. Also: - Make app.on('ready') async and await startSignalRApiBridge() - Add window-all-closed handler for SignalR mode - Add extensive debug logging to track lifecycle - Don't subscribe to electronProcess.Ready in SignalR controller This fixes the premature shutdown that prevented SignalR connection.
2026-01-30 15:29:48 +01:00
"Microsoft.AspNetCore": "Warning",
"Microsoft.AspNetCore.SignalR": "Debug",
"Microsoft.AspNetCore.Http.Connections": "Debug"
Add ElectronNET.Samples.BlazorSignalR - complete sample app for SignalR mode
2026-01-30 12:17:20 +01:00
}
}
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.4 Page: 216ms Template: 14ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API