Reduce slowness when running Blazor WebAssembly in Visual Studio

17 Jul 20261 minute to read

You may experience slow performance when running or debugging Blazor WebAssembly apps in Visual Studio. This is caused by the Enable .NET 9+ Mono WASM debugger option, which can introduce overhead during debugging sessions.

Solution

  1. In Visual Studio, open Tools > Options.
  2. Expand Debugging and select General.
  3. Clear (uncheck) the Enable .NET 9+ Mono WASM debugger option.
  4. Click OK to apply the change.
  5. Restart your debugging session for the change to take effect.

Visual Studio Options dialog showing the Enable .NET 9+ Mono WASM debugger option unchecked

Disabling this option reduces startup time and improves responsiveness. The setting is per-user and applies to all Blazor WebAssembly projects on the machine.

Impact of disabling

When the option is disabled, managed-code stepping and watch-window evaluation during Blazor WebAssembly debugging are not available. To re-enable full debugging, repeat steps 1–3, check the Enable .NET 9+ Mono WASM debugger option, and click OK.

For background details and guidance, see the following resources:

See also