.NET 6 preview 7: new features, new C#10, and Visual Studio

SafeValue must use [property]=binding: It seems that Microsoft tries to gaining momentum. As you remember .NET 5.0, is only supported until May 2022, and .NET 6.0 will last three years. Microsoft declared it like a "modern lifecycle," and you don't have to expect a more extended period. Although the .NET 6.0 release will be a significant event, it is the first long-term support iteration of Microsoft's unified .NET platform. Microsoft hopes that it will replace both .NET Framework (now legacy) and .NET Core. Together is coming Visual Studio 2022 Preview 3, .NET MAUI (Multi-platform App UI) preview 7 to replaces Xamarin for cross-platform mobile projects and updates to ASP.NET Core. As usual, Microsoft can't give up adding some confusion and fog, so you should be ready to face preview features not supported for production. The principal program manager Richard Lander said for .NET 6.0, "we've built the capability to mark APIs as 'in preview,'" -make of that what you will - for this, you should use an EnablePreviewFeatures project property and a reference to System.Runtime.Experimental. Consider that they get - likely - breaking changes so that you can make it only for testing and experimentation. Other features include static abstract interface members - including operators. Lander called them "perhaps the most important new type system capability since Span." You can declare interface members that are static and abstract at the same time. So, you are getting a new ability to use operators on generic types. It seems like that the difference between C# and C++ is gradually erased. At least in this case. Without stopping at the created confusion, Lander noticed that .NET 6.0 is adding new native memory allocation APIs. This feature is exposed via System.Runtime.InteropServices.NativeMemory. C# 10.0 will arrive together with .NET 6.0. Various preview features like static abstract interface members are listed simply as "C# 10 Preview". There are a lot of new features that have been added to ASP.NET Core. HTTP/3 or QUIC support in Kestrel, further support in Blazor for streaming data from JavaScript to. NET. As a result, Blazor can upload files larger than 2GB, set the page title, and add meta elements to the HTML Head element. For .NET, MAUI was developed new layouts – Grid, FlexLayout, and StackLayout. Also, it's got the ability to font scaling by default across all platforms. For the new Visual Studio, 2022 was added a new project properties designer, improved dark theme, and new project types to support React and Vue.js using TypeScript or JavaScript. Also, it's got the ability to work with multiple Git repositories in a single solution. Visual Studio 2019 is getting the last baseline update. So it will be rational for Enterprise and Professional customers to standardize on Visual Studio 2019 16.11 (see http://g.co/ng/security#xss)