The new .NET7 officially launched November 8th, 2022. The straightforward upgrade is ideal for those on a .NET core version and are looking for an excuse to migrate. If you’re still unusure, let us convince you to move away from .NET framework.
Alongside November’s update, Visual Studio 17.4 is also available. Developing .NET7 within Visual Studio can allow you to provide best in class productivity tooling.
So what’s new in .NET7?
- Access the contents of a JSON document stored in your SQL Server database using C#
- Generate your own streamlined native app using AOT compliation from C# source and publish it directly onto a container image.
- Run a .NET core app that uses built-in APIs to compress and archive content into a Linux-friendly tar.gz file.
- Handle key combination and modifier keys better in Unix/Linux with Console.ReadKey.
- Make your vision a reality on mobile apps for Android, iOS, and Windows using a single codebase and design that creates native code and components for each target platform.
- Reap the performance benefits of .NET7. Make developing new applications easier than ever before using boilerplate templates that reflect your architecture and design choices.
Benefits of .NET 7
This .NET7 release is the third major release in the unification journey. With the new update, you learn once and reuse your skills via one SDK, one runtime one set of base libraries to build many types of apps (cloud, web, desktop, mobile, gaming IoT, and AI).
This year, Microsoft has graced us with some quality of life .NET improvements, and while we won’t have chance to cover all of them, there’s plenty worth highlighting.
One of the biggest challenges with x64 and ARM64 was finding out the cache size wasn’t being read correctly on ARM64 devices. So Microsoft changed heuristics to return an approximate size if the L3 cache couldn’t be fetched properly.
With work in .NET 7, many Microbenchmarks improved by 10-60%. On top of that, the requests per second (RPS) was lower for ARM64, but slowly overcame parity of x64.
.Net 7 is officially supported by Microsoft under the Standard Term Support release and will be covered with free support for 18 months.
All-in-all, we’re pretty excited by the updates. There’s plenty of potential for improving the day-to-day workflow of our clients. If you want to learn more about the latest .NET updates then feel free to review the original announcements.