top of page

Microsoft .NET 7 officially released

The Microsoft .NET Conf online event officially opened. As Microsoft's open-source, cross-platform development platform, .NET 7 has now launched its first official version, which also means that Microsoft's unification work has finally been completed. With .NET 7, Microsoft says it's easy to containerize .NET 7 projects, set up CI/CD workflows in GitHub Actions, and enable cloud-native observability. It has an extensive .NET package ecosystem that includes over 330,000 packages.


.NET 7 is a Standard Term Support (STS) release that will support 18 months instead of 36 months. There are currently over 8900 contributors making 28k code contributions throughout the .NET 7 release. According to reports, the new features of .NET 7 include

  • ASP.NET Core 7

  • Entity Framework Core 7

  • .NET MAUI

  • Windows Forms

  • WPF

  • Orleans 7

.NET 7 optimizations focus on:

  • Unified Base Class Library (BCL), new TFM, native support for ARM64, enhanced .NET support on Linux.

Simply put, with .NET 7, developers only need to learn once and build multiple types of applications (cloud, web, desktop, mobile, gaming, IoT) repeatedly with one SDK, one runtime, one set of base libraries, and AI). Microsoft has optimized performance on Arm machines, including estimating L3 cache size, introducing LSE atomic instructions, and optimizing libraries that use intrinsics.

Number of cores

​L3 cache size

1~4

4MB

​5~16

8MB

17~64

16MB

65+

​32MB

.NET 6 is included in Ubuntu 22.04 (Jammy) and can be installed using the apt install dotnet6 command. There is an optimized, pre-built, out-of-the-box ultra-small container image.

dotnet  %  docker run  -- rm dotnet - chiseled  42 42 , d  , d  42 42 42 , adPPYb , 42 , adPPYba ,  MM42MMM  8b , dPPYba , , adPPYba ,  MM42MMM a8 " `Y42 a8" "8a 42 42P' `" 8a  a8P_____42  42 8b 42 8b  d8  42 42 42 8PP 42 "8a, ,d42 " 8a , , a8                 " 42, 42 42 " 8b , , aa  42 , `"8bbdP"Y8 `"YbbdP"' "Y428 42 42 `"Ybbd8"' "Y428 .NET 7.0.0-preview.7.22375.6 Linux 5.10.104-linuxkit #1 SMP PREEMPT Thu Mar 17 17:05:54 UTC 2022 OSArchitecture: Arm64 ProcessorCount: 4 TotalAvailableMemoryBytes: 3.83 GiB   

Elsewhere, .NET is now also available for ppc64le (64-bit IBM Power) architecture for RHEL 8.7 and RHEL in addition to x64 architectures (64-bit Intel/AMD), ARM64 (64-bit ARM) and s390x (64-bit IBM Z) 9.1.


Modernization: The .NET SDK already supports generating container images, and Microsoft will bring continuous performance improvements.

If you are currently using a .NET Core version, Microsoft .NET 7 is a straightforward upgrade, and if you are currently maintaining a .NET Framework version, Microsoft has some compelling reasons to migrate. The .NET Upgrade Assistant includes more analyzers, code fixes, and upgrade support for more application types, making it easier for developers to upgrade their .NET 7 application portfolio and less effort to upgrade applications. .NET 7 makes it easier to build and deploy distributed cloud-native applications.


Performance
  • .NET 7 has several performance optimizations such as:

  • On Stack Replacement (OSR), improved startup time.

  • Profile-Guided Optimization (PGO)

  • Native AOT, the main advantages are boot time, memory usage, access to restricted platforms (no JIT allowed), and less disk space.

Microsoft has clarified some breaking changes in .NET 7, and developers can refer to the official documentation.

4 views0 comments

Comments

Rated 0 out of 5 stars.
No ratings yet

Add a rating
bottom of page