Microsoft .NET 8 is nearing the finish line

Microsoft .NET 8 is nearing the finish line

.NET 8 – the planned next version of Microsoft’s software development platform – has entered its second and final Release Candidate (RC) stage. General availability is expected in November, according to Info World.

.NET 8 RC 2, released on October 10, can be downloaded from the Microsoft .NET website for Windows, Linux, and Mac.

Improvements in RC 2 include improved performance and UI fixes for the .NET Framework MAUI (Multi-Platform Application Interface) and updates to the Entity Framework.

With .NET 8, developers will see a variety of improvements ranging from AOT (ahead) compilation and source code generation to JSON serialization and improved garbage collection.

Specific improvements in .NET 8 include:

  • Better System.Text.Jsonserialization and deserialization with built-in support for more types, new API methods, and other improvements.
  • Garbage collection adds the ability to configure in-process memory limits. This is considered particularly useful in cloud scenarios where demand fluctuates.
  • The source code generator is introduced to offer AOT (ahead of time) compilation and convenient configuration in ASP.NET Core. This generator is an alternative to the existing mapping-based implementation.
  • New types to improve application performance, esp Text.CompositeFormatto optimize format strings unknown at compile time.
  • To display System.Typeobject provides access to function pointer metadata: calling conventions, return type, and parameters. This feature is currently only implemented in the CoreCLR runtime and MetadataLoadContext.
  • Additional SIMD support is offered, which represents Vector512<T> and supports Intel Advanced Vector Extensions 512 (AVX-512).
  • For cryptography, .NET 8 adds support for SHA-3 hashing primitives.
  • The HTTP client now supports HTTPS proxies, providing an encrypted channel between the client and the proxy for confidential request processing.
  • New overloads CreateFromDirectoryallow you to collect the files included in the directory, as well as archive them and store the resulting zip file in the provided stream.
  • Built-in AOT support for iOS-like platforms is pre-presented.
  • Type ValidateOptionsResultBuilderis introduced to facilitate creation ValidateOptionsResult. This constructor allows you to accumulate numerous errors.
  • Changes have been made to .NET container images, such as a template for mixing and matching architectures with .NET images. Additionally, performance has been improved for sending containers to remote registries, including Azure registries.
  • A new source generator that supports interaction with COM interfaces.
  • For Android applications this one <AndroidStripILAfterAOT>property allows you to enable AOT post-compilation for Android apps to reduce app size.

Also read on ProIT: Microsoft publishes “early-stage” code for developing Windows drivers in Rust.

Subscribe to ProIT on Telegram so you don’t miss a post!

Related posts