5
.NET 6 Hot Reload in Visual Studio 2022, VS Code, and NOTEPAD?!?
source link: https://www.youtube.com/watch?v=4S3vPzawnoQ
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
.NET 6 Hot Reload in Visual Studio 2022, VS Code, and NOTEPAD?!?
16,493 views
Premiered 23 hours ago
.NET 6 Hot Reload in Visual Studio 2022, VS Code, and NOTEPAD?!? Why this makes your C# life so much easier.
Show lessShow more
132 Comments
Sort by
Add a public comment...
UPDATE: I could have used this new .NET 6 API and avoided the Process object creation: int pid = Environment.ProcessId;
Thank you for your stand to get back hot reload back to the people and being one of the greatest content creators of the platform
Very cool. Thank you for whatever role you might have played in getting the hot reload feature added back.
Scott, thanks on many levels. Your demo skills, your podcast and for being such an evangelist.
It makes us all happy, Scott. Keep up the good work for the community!
Not only did I learn a lot about .NET 6, but the ability to resize the windows with one in each corner is very useful :P
You're one of the coolest developer I know. And also thanks for bringing Hot Reload back!
this looks 100x faster than Edit and Continue within the debugger. What happens if you type something that doesn’t compile? Or if you crash the process with an unhandled exception?
Guess I should try it myself.
Haven’t done .net in a few years but I remember hitting a breakpoint, crafting a linq expression within the immediate window, pasting that into the editor and watching it run. All because it’s a slow PITA to bounce the process. So yes, this is a pretty sizable boost.
One limit of edit and continue was that you couldn’t change function signatures or add new classes, I guess this lets you do so while keeping your connections to the backend db active, etc
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK