Microsoft announced earlier this month. NET 6’s RC1 release is coming up in November, which means. NET6 official version with our time to meet a step closer. In the preview version of.net 6, Microsoft added a number of new features and features, but in the final version, there will be no new additions, only further performance improvements for the current content to make the system more stable.

Microsoft officially provides it. NET topic related overview

From Preview 1, released earlier this year, to Preview 7, released in August, many new features have been introduced.

One of the most anticipated is MAUI (.NET Multi-Platform App UI), a cross-platform UI framework launched by Microsoft in May 2020. MAUI, derived from Xamarin.Forms, allows developers to cover Android, iOS, Windows, and macOS with one set of code.

Also released in July. NET 6 Preview 6, Microsoft officially announced. NET6 supports more devices, including the Apple M1. This is certainly exciting news for the vast majority of Macbook users.

Looking back at the year’s updates to the.NET6 preview, there are many things to be appreciated:

  • Improvements to C# 10

In C# 10, many apis have made use of new C# features such as top-level statements.

The figure above shows this feature in C# 10, where developers switch from programming with classes and methods to Lambda expressions with Attribute support, allowing more code to have MVC controller-like functionality.

  • Blazor desktop Web application with native device capabilities

Blazor has become a very popular way to write.NET Web applications today. Microsoft initially supported Blazor on servers and then in browsers with WebAssembly. .NET 6 extends it again to support writing desktop applications with Blazor, the Blazor Desktop. Blazor Desktop can be used to create hybrid client applications that embed Web pages in native client applications and combine the Web and native UI through interfaces. Blazor is built on top of MAUI and offers startup and throughput performance comparable to other solutions. A large number of Web developers who provide rich UIs in offline desktop applications will benefit.

The figure above illustrates the Blazor desktop application running on macOS. In this example, the entire application is built using Blazor, except for the outer box provided by the Mac application container.

  • Minimal Web APIs for cloud native applications

In.NET 6, Microsoft introduced a new API for hosting and routing Web applications: WebApplication.

The main purpose of this API is to help back-end developers using C# (or F#) to quickly create microservice projects or HTTP API services.

Compared to the previous ASP.NET Core Web API, the new Web API is optimized in terms of the startup template and framework structure. The TEMPLATE for the API is so simple that it takes only four lines of code to build a minimal Web API project.

  • Support HTTP / 3

HTTP/3 was developed to address the transport-related issues of HTTP/2.0, enabling faster access to Web pages and services on a variety of devices. It is based on a new transport-layer Protocol called QUIC (Quick UDP Internet Protocol) that works on top of UDP instead of TCP.

In the.NET 6 preview, Microsoft added support for HTTP/3, which is a big improvement. HTTP3 speeds up connection setup and greatly improves performance on low-quality networks.

From the open source of.NET to the founding of the Foundation. NET open source, Microsoft’s every move without impact on the world’s developers. Every update to.NET will attract the attention and discussion of developers in the community. And we’ve been watching. NET, and looking forward to it. NET6 will bring us more surprises when it goes live.

Finally, announced at Microsoft. As NET6 enters the countdown to launch, we also have Microsoft’s MOST Valuable Expert (MVP) in China. Zhang Shanyou, the team leader of NET, brings us the NET6 insights and content preview.

If you are interested, don’t miss the detailed content of grape City open class.

> < p style = “margin-bottom: 0pt; margin-bottom: 0pt;