.NET 7 Released
Monday, 14 November 2022

.NET 7 was recently released to coincide with Microsoft's annual .NET conference. The development team say the new version focuses on being unified, modern, simple, and fast, offering the ability to create cross platform apps. The new release includes updated versions of C# and F#, and the official release of MAUI, the cross-platform framework for creating user interfaces.

.NET was created from a combination of .NET Framework and .NET Core. NET 7 is a standard-term support (STS) release (previously known as a current release), and will be supported for 18 months


Unified working is the first of the aims to this release, with features including native support for ARM64, better support on Linux, and new target framework monikers (TFMs). This release also uses one base class library (BCL), so that you work with one SDK, one Runtime, and one set of base libraries to build varying apps including cloud, web, desktop, mobile, gaming, and IoT. For Linux, .NET 6 is included in Ubuntu 22.04 (Jammy) and there is an optimized, pre-built, ultra-small container image that can be used out of the box.

Microsoft's focus on cloud-native apps includes the ability to build an app directly into a container image. The team also points to Visual Studio’s connected services for securely connecting to a data service, Entity Framework 7 for writing Language Integrated Query (LINQ) queries for querying JSON documents, and the support for Open Telemetry.

Performance is another area where you should see improvements. Changes aimed at this start with support for on-stack replacement (OSR). This is a complement to tiered compilation, and allows the runtime to change the code executed by a currently running method in the middle of its execution (while it's "on stack"). Long-running methods can switch to more optimized versions mid-execution.

Profile-guided optimization (PGO) now works with OSR and is easier to enable, and native AOT produces a standalone executable in the target platform's file format with no external dependencies. It's entirely native, with no IL or JIT, and provides fast startup time and a small, self-contained deployment. There are also performance improvements to the Mono runtime, which powers Blazor WebAssembly, Android, and iOS apps.

.NET 7 is available for download now.


More Information

.NET 7

.NET Conference

Related Articles

 .NET 7 Release Candidate Announced

.NET Now Included In Ubuntu

Support For .NET 3.1 Ending This Year

.NET MAUI Reaches General Availability

.NET 7 Adds Native AOT

.NET Celebrates 20th Anniversary of Launch

Microsoft Releases .NET 6 And Visual Studio 2022

Developer Preview Of .NET 6 Released


To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.


Learn Cryptography Without The Math

Are you sick of the math associated with cryptography?
You don't have to be any more. Applied Cryptography from the University of Tartu shows cryptography without the math! At last, a hands-o [ ... ]

50 Years Of Rubik's Cube

The iconic 3D mechanical puzzle, Rubik's Cube, was invented in 1974 and celebrates its 50th anniversary this year. As well as being a popular puzzle that anyone can try to solve, it touches on some in [ ... ]

More News

kotlin book



or email your comment to: comments@i-programmer.info

Last Updated ( Monday, 14 November 2022 )