Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Microsoft .NET 7 officially released

2025-04-08 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > IT Information >

Share

Shulou(Shulou.com)11/24 Report--

Thanks to CTOnews.com netizens Lang Youth for the clue delivery! CTOnews.com, November 9, Tuesday, November 8, local time, 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 represents that Microsoft's "unified work" has finally been completed.

Microsoft said that using .NET 7 can easily containerize .NET 7 projects, set up CI / CD workflows in GitHub operations, and achieve cloud native observability. It has an extensive .NET package ecosystem, including more than 330000 packages.

It is worth mentioning that .NET 7 is a standard term support (STS) version that will support 18 months instead of 36 months. Throughout the .NET 7 release, more than 8900 contributors have contributed 28k code.

According to reports, new features of .NET 7 include

ASP.NET Core 7

Entity Framework Core 7

.NET MAUI

Windows Forms

WPF

Orleans 7

.net 7 optimization is mainly focused on:

Unified base class library (Base Class Library-BCL), new TFM, native support for ARM64, enhanced .NET support on Linux.

Simply put, with .NET 7, developers can repeatedly build multiple types of applications (cloud, Web, desktop, mobile, gaming, IoT, and AI) with a single SDK, a runtime, and a set of basic libraries.

In addition, Microsoft has optimized performance on Arm machines, including estimating the size of the L3 cache, introducing LSE atomic instructions, and optimizing libraries for the use of intrinsic functions.

Number of cores L3 cache size 1~44MB5~168MB17~6416MB65+32MBCTOnews.com learned that .NET 6 is included in Ubuntu 22.04 (Jammy) and can be installed using the apt install dotnet6 command. In addition, there is an optimized, pre-built, out-of-the-box ultra-small container image.

Dotnet% docker run-- rm dotnet-chiseled 42 42, d, D42 42 42, adPPYb,42, adPPYba, MM42MMM 8b dPPYBA, adPPYba, MM42MMM a8 "`Y42a8"8a 42 42P`" 8a a8P_42 42 8b 428b 42 8b d8 42 42 8PP 42 "8a, D42" 8a, A8 "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 other aspects In addition to x64 architectures (64-bit Intel / AMD), ARM64 (64-bit ARM), and s390x (64-bit IBM Z), .NET is now available for ppc64le (64-bit IBM Power) architectures 8.7 and RHEL 9.1 for RHEL.

In terms of modernization,. NET SDK already supports the generation of container images, and Microsoft will bring continuous performance improvements.

If you are using the .NET Core version, Microsoft .NET 7 can be upgraded directly, and if you are currently maintaining the .NET Framework version, Microsoft provides some compelling reasons for migration.

The .NET upgrade Assistant includes more profilers, code fixes, and upgrade support for more application types, making it easier for developers to upgrade the .NET 7 application portfolio and reduce the workload of upgrading applications. In addition,. NET 7 makes it easier to build and deploy distributed cloud native applications.

Performance

. NET 7 has several performance optimizations, such as:

Stack exchange (On Stack Replacement-OSR) increases startup time.

Profile Boot Optimization (Profile-Guided Optimization-PGO)

The main advantages of native AOT are startup time, memory usage, access to restricted platforms (JIT is not allowed), and less disk space.

In addition, Microsoft has clarified some disruptive changes in .NET 7, which developers can refer to the official documentation.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

IT Information

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report