Open Menu dzosoft
Close Menu dzosoft

   ALL ABOUT COMPUTER SCIENCE AND TECHNOLOGY


                             




NICOTINE FREE

Publish perfectly-optimized content in 1-click









 
 
 

Microsoft: the main news of .NET 8

February 23, 2023

 

 
Microsoft: the main news of .NET 8
 

All the main news of .NET 8, new version of the Microsoft framework now in preview version for developers
A few days ago the House of Redmond announced the release of the preview version of .NET 8 for all supported operating systems. If all goes as planned by the developers, the final version should be available by November 2023, while the end of support for .NET 7 has been set for May 2024.

 

Blazor United

 
So let's see what are the main innovations of this new LTS (Long Term Support), starting with Blazor United. It is a new solution dedicated to .NET on browsers and servers, created to build a single offer composed of Blazor WebAssembly, Blazor Server and Razor pages.
The latter are responsible for producing HTML at the server level, while Blazor Server takes care of updating components via WebSockets and Blazor WebAssembly runs .NET in the browser. You may include Blazor components in Razor pages at any time.

 

Container, HTTP/3 and Webcil

 
As far as security is concerned, it is interesting to note that by default the Container images will be run by a user other than root. Also noteworthy is the default activation of HTTP/3 and the introduction of the Webcil format, currently available only on an experimental basis.
It was introduced for cases where you deploy in WebAssembly, trying to solve the problem where some antivirus and firewalls prevent browsers from downloading or caching components with particular extensions such as .DLL.
 

AOT and WMR compilation

 
News also regarding the AOT (ahead-of-time) compilation. Basically the operation which, in most cases, consists of compiling a high-level compilation language into a low-level one. Performed before execution, it is intended to reduce the resources needed at runtime.
In the specific case of this release, the AOT compilation has been made more performant. For an application targeting Linux with 64-bit architecture we have a jump from 3.76 MB with .NET 7 to 1.84 MB in .NET 8.
Finally, it should be noted that the building of the .NET SDK can be carried out via VMR (Virtual Monolithic Repository) with which all the repositories that make up the SDK are combined.
Leave comment
          

Save nickname and email in this browser for the next time.



Loading...     
close publicity
Nord VPN