-
Book Overview & Buying
-
Table Of Contents
Blazor WebAssembly by Example - Third Edition
By :
Hot Reload allows developers to edit the markup and C# code in a running app without requiring the app to be rebuilt or reloaded. Also, it does all of that while maintaining the app's state.
You can use Hot Reload with or without the debugger. In Visual Studio 2026, Hot Reload is enabled by default.
This is the Hot Reload drop-down button that is accessed from the toolbar:

Figure 2.6 – Hot Reload drop-down button
As you can see from the Hot Reload drop-down button, you can set Hot Reload to automatically be triggered whenever you save a file. There are more settings available via the Settings option on the menu. These are the settings:

Figure 2.7 – Hot Reload Settings
You can disable Hot Reload by unchecking the Enable Hot Reload checkbox.
Hot Reload is supported for most changes to a component, including stylesheets. However, sometimes a change will require that the application be restarted.
This is a list of a few activities that require a restart: