From 614673605a094fbdffcf5942c6666be25c038568 Mon Sep 17 00:00:00 2001 From: Pierre Arnaud Date: Sat, 31 Jan 2026 14:30:07 +0100 Subject: [PATCH] Add explicit BrowserRefresh logging filter Added 'Microsoft.AspNetCore.Watch.BrowserRefresh' to Warning level to suppress the 'Middleware loaded' and 'Script injected' debug messages that appear when running with dotnet watch or Ctrl+F5 from Visual Studio. --- .../appsettings.Development.json | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ElectronNET.Samples.BlazorSignalR/appsettings.Development.json b/src/ElectronNET.Samples.BlazorSignalR/appsettings.Development.json index e4b38cf..8d7e2b8 100644 --- a/src/ElectronNET.Samples.BlazorSignalR/appsettings.Development.json +++ b/src/ElectronNET.Samples.BlazorSignalR/appsettings.Development.json @@ -6,6 +6,7 @@ "Microsoft.AspNetCore.SignalR": "Warning", "Microsoft.AspNetCore.Http.Connections": "Warning", "Microsoft.AspNetCore.Watch": "Warning", + "Microsoft.AspNetCore.Watch.BrowserRefresh": "Warning", "Microsoft.Hosting.Lifetime": "Information" } }