Welcome to the 81st edition of The Catch Block!

In this edition, we've got a big roundup of all the new features coming with the release of .NET 6, C# 10, and Visual Studio 2022 in one week! All the new stuff in one tidy little package!

pink gift box with yellow ribbon
What's in the box?! Photo by Ekaterina Shevchenko / Unsplash

Plus: don't keep secrets in code; burnout and moving on; and cool secret features of browser devtools.

.NET 6 and VS 2022 Launch in One Week!

Specifically, it launches during .NET Conf, Nov 9-11:

.NET 6 Launches at .NET Conf, November 9-11
.NET Conf is a free, three-day, virtual developer event that celebrates the major releases of the .NET development platform. This year .NET 6 launches at .NET Conf 2021. Come celebrate and learn about the new release.

This is typical of .NET releases: Microsoft usually times them to correspond with .NET Conf. That said, I attended last year, and it was pretty interesting. Here's hoping this year will be just as good!

I am assuming, given that new versions of C# are generally released alongside new versions of .NET, that C# 10 will be released at the same time.

.NET 6, C# 10, and VS 2022 Roundup!

Since .NET 6 is launching so soon, I thought it might be useful to include several articles that show off some of the cool features upcoming in the release.

Blazor Gets Better

To start, Telerik and writer John Hilton nicely summarized the Blazor changes, including the ability to co-locate JS files with Razor views and manipulate the query string.

Final Blazor Improvements Before .NET 6
With .NET 6 just around the corner, Microsoft has released its final pre-release versions of the framework (RC1 and RC2). Let’s see what they bring.

Hot Reload Gets Included

As we mentioned in the previous issue of this newsletter, Microsoft removed the ability to use Hot Reload in the .NET CLI, but then added it back:

.NET Hot Reload Support via CLI
Last week, our blog post and the removal of the Hot Reload capability from the .NET SDK repo led to a lot of feedback from the community. First and foremost, we want to apologize. We made a mistake in executing on our decision and took longer than expected to respond back to the community.

Speaking of Hot Reload, what is it exactly? Microsoft's post from May this year shows us what it is, and why it's cool:

Introducing the .NET Hot Reload experience for editing code at runtime
Introducing the new .NET Hot Reload user experience for editing managed code at runtime, now available through the Visual Studio 2019 debugger and dotnet watch.

Razor Pages Goodness

Mike Brind wrote an article about a month ago that combines several neat features of .NET 6 and C# 10 to show how much less cluttered the startup file is for Razor Pages apps:

Razor Pages Startup in .NET 6

This article is for paying subscribers only

Sign up now and upgrade your account to read the article and get access to the full library of articles for paying subscribers only.

Sign up now Already have an account? Sign in