.NET 6

.NET 6 should be released during .NET Conf 2021, which is between November 9 - 11. Currently, we can download previews for .NET 6 from the link. The idea for .NET 6 is to consolidate all the platforms that .NET currently has; Core, Framework, Standard, and unify them in one single framework.

What’s new in .NET 6?

Hot reload

The hot reload function that will be introduced by .NET 6 and Visual Studio 2022. This will allow us to save a file and a hot reload will occur in the running application. This might be one thing I’m looking forward to allow development to be done more easily. However, I’m not sure what will happen with bigger projects and whether this will be useful or not. It’s going to be exciting however, to be able to hot reload a .NET project just as quickly as a React app hot reloaded.

Update Android, iOS, and MacOS development experience

Capabilities to develop cross platform applications have been updated in .NET 6. There’s a new .NET multi-platform app ui available in .NET 6 that will have consistent UI between iOS and Android.

Creating Blazor desktop apps

Blazor has been used to create web applications in the past. With .NET 6 we will be able to create desktop applications using Blazor now. This might make it easier for a web developer who has spent time developing web applications using Blazor to create a new desktop application using it.

Faster Http GET and SET using the System.Net.Http.HeaderNames

So this API has been exposed since .NET 5 but I didn’t really know about it. Looks like the performance has been improved in .NET 6. With this API, all common headers have been made available in System.Net.Http.HeaderNames and can be used when retrieving and setting headers in the request. This is amazing as it would help us retrieve headers more easily during the request. e.g. Instead of using context.Request.Headers["host"], we can now use the new API and retrieve the host headers. More information can be found [here] (https://docs.microsoft.com/en-us/dotnet/api/microsoft.net.http.headers.headernames?view=aspnetcore-5.0).