![]() |
VOOZH | about |
We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.
Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.
Follow TNS on your favorite social media networks.
Become a TNS follower on LinkedIn.
Check out the latest featured and trending stories while you wait for your first TNS newsletter.
After months of previews, the time has finally arrived for the general availability of both Visual Studio 2022 and .NET 6, two major releases by Microsoft that have been a year (at least) in the making. While the two releases come with more changes than we could possibly cover here, we’ll go over some of the highlights and send you on your way with plenty of links and videos to explore all the rest.
First, let’s start out with the release of Visual Studio 2022, which is the first time that Microsoft’s IDE has gone 64-bit. Obviously, this means that Visual Studio 2022 is here to start up faster, take advantage of your souped-up hardware, and take on those large-scale projects that it would normally choke on a bit. Microsoft’s tagline for this release seems to be that “Visual Studio 2022 will help you go from idea to code faster than ever,” and this is obviously part of that.
In that same sense, while Visual Studio 2019 already had IntelliCode, Microsoft’s “AI-assisted code companion”, Visual Studio 2022 gets some improvements to the tool. For example, IntelliCode can now complete entire lines of code, while also noticing repeated edits and suggesting those same fixes throughout your code, wherever it notices similar patterns.
The last major feature of Visual Studio 2022 is one shared with .NET, which is Hot Reload for .NET and C++, which allows you to see code changes take effect immediately, with as little as a quick Ctrl-S to save your file. And if this particular feature is of interest to you, which we assume it is, you may want to look back a few weeks to read about why the drama around it is good reason to keep an eye on Microsoft’s open source stewardship. That aside, Microsoft’s Scott Hanselman (who is among those credited with helping to save the popular yet once-endangered hot reload feature) offers a full demonstration of the wonders of hot reload:
As Microsoft notes in its launch post, “there are hundreds of other things under the hood that will help you,” such as improvements in the debugger and .NET language service, Web Live Preview and cross-platform testing on Linux, so make sure to check out the release notes and documentation. One final thing of note for you Visual Studio users out there is that Visual Studio 2022 for Mac is still in preview, with Preview 3 just out this week as well, and with M1 processor support on the way. And, of course, if you’re not up for more reading, there are videos aplenty to take you through what’s new, including this one recapping the launch itself:
Moving onto what Microsoft calls “the fastest .NET yet,” the release of .NET 6 is the culmination of “just over a year’s worth of effort by the .NET Team and community” that includes C# 10, #F 6, so-called “massive gains in performance,” and, of course, native support for Apple Silicon. Microsoft notes that .NET 6 will be supported for three years and, as one developer points out on Twitter, this also means it’s time to update from .NET 5 ASAP.
I know you’re all excited about .NET 6 but I will remind you that the eol for 5 now starts. You have six months to upgrade. https://t.co/MW4phE47OM
— Barry Dorrans (@blowdart) November 8, 2021
Now, if you thought there wasn’t enough room to include everything new with Visual Studio 2022, that’s tenfold with .NET — even Microsoft’s blog post, which is practically 20,000 words long, can’t cover it all. As they write, “The release includes about ten thousand git commits. Even with the length of this post, it skips over many improvements.” Nonetheless, some of the top highlights include the ever-touted improved performance that you expect with any release, although “for file I/O in particular”, as well as its ability to be a “Unified platform across browser, cloud, desktop, IoT, and mobile apps, all using the same .NET Libraries,” something Microsoft had originally targeted for .NET 5 but was then delayed by the pandemic.
Been benchmarking .NET 6 for a CPU-dependent workload I care a lot about (and have spent months optimizing).
4% faster than .NET 5 with no changes, nice. Opting into dynamic PGO takes another 15% off that, very nice!
— Reilly Wood (@reillywood) November 10, 2021
As Microsoft notes in its blog post, beyond its brief (yet still lengthy) list of everything new in .NET 6, “you’ll have to download and try .NET 6 to see everything that’s new,” calling the release “another huge .NET release, with near-equal servings of performance, functionality, usability, and security improvements.”
I'm "still afraid to use spaces in file names" years old
— TheIdOfAlan (@TheIdOfAlan) November 9, 2021
https://twitter.com/mhmd_azeez/status/1458113199040049157