当前位置:网站首页>. New features in net 6.0 _ What's new in net 6.0
. New features in net 6.0 _ What's new in net 6.0
2022-06-13 02:54:00 【Tianma 3798】
.Net 6.0 New features in _.Net 6.0 What's new in
One 、.Net 6 Introduce
.NET 6 As LTS Long term support version ,.NET 6 Will get 3 Years of technical support .
.NET 6 Is the first native support Apple Silicon (Arm64) Version of , And also for Windows Arm64 Improved .
.NET The team built a new dynamic profile to guide the optimization (PGO) System , The system can provide in-depth optimization only at run time .
Other changes include the use of dotnet monitor and OpenTelemetry Improve cloud diagnostics 、 Provide more powerful and efficient WebAssembly Support , And add for HTTP/3、JSON Handle 、 Mathematics and direct manipulation of memory API.
.NET 6 Provide .NET The final part of the unified plan , The plan is .NET 5 Start in . .NET 6 In mobile 、 desktop 、IoT And cloud applications SDK、 Base library and runtime . In addition to the unity in this respect ,.NET 6 The ecosystem also provides the following functions :
Simplify the development : Easy to get started . C# 10 New language features in reduce the amount of code you need to write . utilize Web Stack and minimum API The investment of , You can easily and quickly write smaller 、 Faster microservices .
Better performance :.NET 6 Is the fastest full stack Web frame , If you run in the cloud , It will reduce the computing cost .
Ultimate productivity :.Net 6 and Visual Studio 2022 Provide thermal overload 、 new git Tools 、 Intelligent code editing 、 Reliable diagnostic and testing tools and better teamwork .
Visual Studio 2022 and Visual Studio 2022 for Mac( And later ) Support .NET 6.
See the official website for more new features :
.NET 6 What's new in | Microsoft Docs
Two 、 A lot of performance improvements
.NET 6 Contains a number of performance improvements . This section lists FileStream、 Optimize and by configuration AOT Some improvements in compilation .— For more information , see also .NET 6 Performance improvements in blog posts .
FileStream
Already been .NET 6 rewrite System.IO.FileStream type , In order to be in Windows For better performance and reliability . Now? FileStream Never for Windows Asynchronous on I/O Block on creation .
Optimize by configuration
Optimize by configuration (PGO) Refer to JIT The compiler generates optimized code based on the most commonly used types and code paths . .NET 6 Dynamic PGO. dynamic PGO Work with layered compilation , According to the hierarchy 0 To further optimize the code . dynamic PGO Disabled by default , But you can use DOTNET_TieredPGO Environment variable to enable it .
Crossgen2
.NET 6 Introduced Crossgen2, It has been deleted Crossgen Later versions of . Crossgen and Crossgen2 Is used to provide advance (AOT) Compiled tools , Improved application startup time . Crossgen2 Yes, it is C# ( instead of C++) Compiling , It can perform analysis and optimization that previous versions could not achieve . For more information , Please refer to the Crossgen2 Conversation .
3、 ... and 、 Support Arm64
.NET 6 Versioning support macOS Arm64( or “Apple Silicon”) and Windows Arm64 operating system , Native support Arm64 Execution and x64 simulation . Besides ,x64 and Arm64 .NET The installer will now install in parallel .
Four 、 Hot heavy load
Use the thermal overload function , You can modify the application source code , And immediately apply these changes to the running application . The purpose of this feature is to avoid restarting the application between edits , So as to improve work efficiency . Thermal overload at Visual Studio 2022 and dotnet watch Available in command-line tools . Thermal overload applies to most types of .NET Application and C#、Visual Basic and C++ Source code .
5、 ... and 、.Net MAUI
6、 ... and 、C# 10 And template
In order to match these contents , New style has been adopted C# .NET SDK Project templates to use some new language features :
async Main Method
Top level statement
New expression for target type
Implicit global using Instructions
The namespace of the file scope
Can be an empty reference type
7、 ... and 、System.Text.Json APIs
.NET 6 Medium System.Text.Json Many improvements have been made , So it is now a “ Industrial strength ” Serialization solution for .
8、 ... and 、 new LINQ API
.NET 6 Many LINQ Method . Most of the new methods listed in the table below are in System.Linq.Queryable Equivalent method in type .
And so on. , More exploration and later improvement .
more :
VS 2022 New characteristics _Visual Studio2022 new function
Element-ui and Element-Plus The difference between _Element2 and Element3 The difference between
Vue3+Element Plus Develop and build _Vue3+Element3 Develop and build
Vue2 and Vue3 The difference between _Vue3 and Vue2 The difference between
边栏推荐
- Multiple knapsack problem
- IOS development interview knowledge sorting - OC Foundation (II)
- Linked list: delete the penultimate node of the linked list
- Principle and steps of principal component analysis (PCA)
- 专业的数据库管理软件:Valentina Studio Pro for Mac
- Rounding in JS
- Change the topic of change tax
- 01 initial knowledge of wechat applet
- Entity framework extends the actual combat, small project reconfiguration, no trouble
- [common tools] pyautogui tutorial
猜你喜欢
![[deep learning] fast Reid tutorial](/img/aa/8215be94109eefa0324430657e4098.jpg)
[deep learning] fast Reid tutorial

Introduction to facial expression recognition system -- offline environment configuration

Use of OpenCV 12 findcircuits and drawcircuits

Operating principle of JS core EventLoop

Data warehouse notes | 5 factors that need attention for customer dimension modeling

Why does it feel that most papers still use RESNET as the backbone network rather than densenet?

Principle and steps of principal component analysis (PCA)
![[data analysis and visualization] key points of data drawing 4- problems of pie chart](/img/e1/618ff53b33b4b1de6acf4942130c17.jpg)
[data analysis and visualization] key points of data drawing 4- problems of pie chart

Opencv 15 face recognition and eye recognition

Prometheus install and register services
随机推荐
如何挑选基金产品?什么样的基金是好基金?
redis. Conf general configuration details
Rounding in JS
01 initial knowledge of wechat applet
Six special GPU products for domestic aircraft passed the appraisal and review
Matlab: find the inner angle of n-sided concave polygon
05 tabbar navigation bar function
Special topic I of mathematical physics of the sprint strong foundation program
Android lightweight cache processing
Control scanner in Delphi
專業的數據庫管理軟件:Valentina Studio Pro for Mac
Detailed explanation of handwritten numeral recognition based on support vector machine (Matlab GUI code, providing handwriting pad)
vant实现移动端的适配
Matlab: obtain the figure edge contour and divide the figure n equally
Use of OpenCV 12 findcircuits and drawcircuits
Change the topic of change tax
04 route jump and carry parameters
Example 4 linear filtering and built-in filtering
Introduction and download of common data sets for in-depth learning (with network disk link)
[data analysis and visualization] key points of data drawing 8- use of circular bar chart