Scott Hanselman

DotNetConf 2021 - .NET Everywhere - Windows, Linux, and Beyond

November 11, 2021 Comment on this post [5] Posted in DotNetCore | Open Source
Sponsored By

.NET 6 is released and it's a LTS release which means it'll be fully and actively supported for the next 3 years. If you've been paused waiting for the right time to upgrade to .NET 6, it's a good time to make the move!

The .NET Upgrade Assistant can take Windows Forms, WPF, ASP.NET MVC, Console Apps, and Libraries and help you - interactively - upgrade them to .NET 6.

Why bother?

  • Massive and ongoing performance improvements
  • No need to count on .NET being on the user's machine. You can ship you own version of .NET and embed it inside your EXE! Check out Single File Deployment.
  • Tons of new C# 10 features, but they are optional, so your existing code works great but you can also "refactor via subtraction" and check out things like implicit usings.
  • Optional Profile-guided optimization (PGO) is where the JIT compiler generates optimized code in terms of the types and code paths that are most frequently used. This can mean even MORE free performance!
  • Crossgen2 can dramatically improve your startup time
  • Support for macOS Arm64 (or "Apple M1 Silicon") and Windows Arm64 operating systems, for both native Arm64 execution and x64 emulation. In addition, the x64 and Arm64 .NET installers now install side by side. For more info, see .NET Support for macOS 11 and Windows 11 for Arm64 and x64.
  • Hot Reload - just make changes and your app changes...even if you're coding in Notepad!
  • And tons more!

Check out my .NET Conf 2022 video where I see how many places I can run .NET! Windows, Linux, Docker, Mac, Raspberry Pi, even a Remarkable 2 eInk tablet. Enjoy!

 

Be sure to watch and enjoy ALL the great .NET Conf 2022 videos up on YouTube today.


Sponsor: Lob’s developer-friendly APIs make it easy to send a letter, check, or postcard, as easily as email. Design dynamic HTML templates to personalize mail for maximum impact. Start Exploring with Postman!

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

facebook twitter subscribe
About   Newsletter
Hosting By
Hosted in an Azure App Service
November 16, 2021 10:11
Amazing
November 16, 2021 10:21
Already liking the crossgen abilities! Very cool to cross-compile & AOT as it's something I've been wanting for ages.

Any idea how the ReadyToRun perf compares to Mono's AOT?
November 16, 2021 20:00
Hi Scott, I really enjoyed your sessions at dotnetconf2021 - I appreciate all the hard work and the direction this is going.

If you have a minute, I am looking to migrate to WPF to Maui but have some very specific questions around System.IO.Ports as this is confusing in the docs and not finding answers in forums. Would you be able to point me to someone/resource who could help me understand the migration of this namespace better for cross platform?
pb
November 18, 2021 4:05
You can already build WPF and Windows Forms with .NET Core 3 on Windows only, of course. The goal is good compatibility so that you can easily migrate from .NET Framework to .NET Core. We also received a lot of positive feedback about the easy transition to .NET Core 3.0.
November 20, 2021 20:41
Great blog post.

You said The .NET Upgrade Assistant can take Windows Forms, WPF, ASP.NET MVC, Console Apps, and Libraries and help you - interactively - upgrade them to .NET 6.

Will it also upgrade Xamarin.Forms? Just double checking.

Thanks.

Comments are closed.

Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.