Događaj
Power BI DataViz Svetsko prvenstvo
14. feb 16 - 31. mar 16
Sa 4 šanse za ulazak, možete osvojiti konferencijski paket i stići do LIVE Grand Finale u Las Vegasu
Saznajte višeOvaj pregledač više nije podržan.
Nadogradite na Microsoft Edge biste iskoristili najnovije funkcije, bezbednosne ispravke i tehničku podršku.
.NET Hot Reload applies code changes, including changes to stylesheets, to a running app without restarting the app and without losing app state. Hot Reload is supported for all ASP.NET Core 6.0 and later projects.
Generally, updated code is rerun to take effect with the following conditions:
OnInitialized
).For more information on supported scenarios, see Supported code changes (C# and Visual Basic).
Blazor WebAssembly Hot Reload supports the following code changes:
this
to existing methods that already captured this
previously.Note that when an attribute is removed that previously set the value of a component parameter, the component is disposed and re-initialized to set the removed parameter back to its default value.
The following code changes aren't supported for Blazor WebAssembly apps:
await
operator or yield
keyword expression.Blazor WebAssembly Hot Reload supports the following code changes:
this
to existing methods that already captured this
previously.Note that when an attribute is removed that previously set the value of a component parameter, the component is disposed and re-initialized to set the removed parameter back to its default value.
The following code changes aren't supported for Blazor WebAssembly apps:
await
operator or yield
keyword expression.static
) fields, events, or properties.Blazor WebAssembly Hot Reload supports the following code changes:
The following code changes aren't supported for Blazor WebAssembly apps:
await
operator or yield
keyword expression.static
) fields, events, or properties.Hot Reload is activated using the dotnet watch
command:
dotnet watch
To force the app to rebuild and restart, use the keyboard combination Ctrl+R in the command shell.
When an unsupported code edit is made, called a rude edit, dotnet watch
asks you if you want to restart the app:
To disable support for Hot Reload, pass the --no-hot-reload
option to the dotnet watch
command:
dotnet watch --no-hot-reload
The following setting in Properties/launchSettings.json
disables Hot Reload:
"hotReloadEnabled" : false
For more information, see the following resources in the Visual Studio documentation:
Povratne informacije za ASP.NET Core
ASP.NET Core je projekat otvorenog koda. Izaberite vezu da biste pružili povratne informacije:
Događaj
Power BI DataViz Svetsko prvenstvo
14. feb 16 - 31. mar 16
Sa 4 šanse za ulazak, možete osvojiti konferencijski paket i stići do LIVE Grand Finale u Las Vegasu
Saznajte više