首页 > 其他分享 >.NET 5 的新功能 What‘s new in .NET 5

.NET 5 的新功能 What‘s new in .NET 5

时间:2023-02-27 21:05:09浏览次数:49  
标签:5.0 Core What Text System Framework new NET


本文内容

  1. ​.NET 5.0 doesn't replace .NET Framework​
  2. ​.NET 5.0 doesn't replace .NET Standard​
  3. ​C# updates​
  4. ​F# updates​
  5. ​Visual Basic updates​
  6. ​System.Text.Json new features​
  7. ​See also​
  8. ​.NET 5.0 不會取代 .NET Framework​
  9. ​.NET 5.0 不會取代 .NET Standard​
  10. ​C # 更新​
  11. ​F # 更新​
  12. ​Visual Basic 更新​
  13. ​新功能的 System.Text.Js​
  14. ​另請參閱​

 

.NET 5.0 is the next major release of .NET Core following 3.1. We named this new release .NET 5.0 instead of .NET Core 4.0 for two reasons:

.NET 5.0是下一个.NET Core的主要版本,之前是3.1。我们将这个新版本的.NET 5.0(而不是.NET Core 4.0)命名为以下两个原因:

  • We skipped version numbers 4.x to avoid confusion with .NET Framework 4.x.
  • We dropped "Core" from the name to emphasize that this is the main implementation of .NET going forward. .NET 5.0 supports more types of apps and more platforms than .NET Core or .NET Framework.
  • 我们略过了版本号码4.x,以避免与.NET Framework 4.x混淆。
  • 我们从名称中舍弃了「核心」,以强调这是未来的.NET主要实作为。.NET 5.0支持比.NET Core或.NET Framework更多类型的应用程序和平台。

ASP.NET Core 5.0 is based on .NET 5.0 but retains the name "Core" to avoid confusing it with ASP.NET MVC 5. Likewise, Entity Framework Core 5.0 retains the name "Core" to avoid confusing it with Entity Framework 5 and 6.

ASP.NET Core 5.0是以.net 5.0为基础,但会保留“Core”的名称,以避免与ASP.NET MVC 5混淆。同样地,Entity Framework Core 5.0会保留“Core”的名称,以避免与Entity Framework 5和6混淆。

.NET 5.0 includes the following improvements and new features compared to .NET Core 3.1:

 相较于.NET Core 3.1,.NET 5.0包含下列改进功能和新功能:

 .NET 5.0 doesn't replace .NET Framework

(.NET 5.0 不会取代 .NET Framework)

.NET 5.0 is the main implementation of .NET going forward and .NET Framework 4.x is still supported.

.net 5.0 是未来的 .net 的主要方向,而且仍支持 .NET Framework 4.x。

There are no plans to port the following technologies from .NET Framework to .NET 5.0, but there are alternatives in .NET 5.0:

没有将下列技术从.NET Framework移植到.net 5.0的计划,但.net 5.0中有替代方案:

Technology(技术)

Recommended alternative(建议替代方案)

Web Forms

ASP.NET Core ​​Blazor​​​ or ​​Razor Pages​

Windows Workflow (WF)

​Open-source CoreWF​​​ or ​​Elsa-Workflows​

Windows Communication Foundation(WCF)

 The original implementation of ​​Windows Communication Foundation (WCF)​​​ was only supported on Windows. However, there is a client port available from the .NET Foundation. It is entirely ​​open source​​, cross platform, and supported by Microsoft. The core NuGet packages are listed below:

Windows Communication Foundation(WCF)的实施支持Windows。不过,.NET Foundation有提供客户端端口。它是完全开放的原始码、跨平台,并受到Microsoft的支持。核心NuGet套件如下所示: 

 The community maintains the server components that complement the aforementioned client libraries. The GitHub repository can be found at ​​CoreWCF​​. The server components are not officially supported by Microsoft. For an alternative to WCF, consider ​​gRPC​​.

此社区会维护服务器元件,以补充上述的客户端程序库。您可以在CoreWCF找到GitHub存放库。Microsoft未正式支持服务器元件。如需WCF的替代方案,请考虑gRPC。 

标签:5.0,Core,What,Text,System,Framework,new,NET
From: https://blog.51cto.com/JohnsonJu/6089162

相关文章

  • java.net.URL getHost因#@同时存在时优先级问题导致的SSRF
    #作为锚点,后面的会忽略;@作为登录信息,前面的会忽略对于java.net.URL取主机getHost()函数,当#@同时存在时,高版本#优先,取#前的;低版本@优先,取@后的。从而导致低版本(具体各......
  • for循环中list add的是同一个对象,new 对象要在里面创建
    for循环中listadd对象,最后发现是同一个。错误代码:publicstaticvoidmain(String[]args){int[]arrs={1,2,3,4};Stringstring=null;ArrayList<String>st......
  • #yyds干货盘点#【愚公系列】2023年02月 .NET/C#知识点-程序运行计时的总结
    前言在分析一个程序算法时间复杂度时,可以使用统计程序或程序片段的计算时间有助于理解程序性质,许多语言或系统都提供了内部计时功能。下面主要是讲解C#中的计时方式:Stop......
  • K8s学习(二)Kubernetest的资源管理及五大资源介绍
    前言本文是k8s学习系列文章,前后串起来是一个完整的课程(学习笔记),本文记录k8s的资源管理方式及五大类资源的具体管理命令,看完本文基本上就能实现k8s的基本操作,可以独立部署小......
  • iis7上部署netcore项目的步骤
    1、安装AspNetCoreModule托管模块(选择.NetCore3.1版本)AspNetCoreModule下载地址:https://dotnet.microsoft.com/download/dotnet-core1安装下面两个文件dotnet-sdk-3......
  • java netty socket实例:报文长度+报文内容,springboot
    前言说实话,javanetty方面的资料不算多,尤其是自定义报文格式的,少之又少自己写了个简单的收发:报文长度+报文内容发送的话,没有写自动组装格式,自己看需求吧,需要的话,自己完......
  • newMap
    ES6新增数据结构,类似于对对象,也是键值对的集合,但对键的范围不限于字符串,各种类型的值(包括对象)都可与成为键是一种更完善的Hash结构map定义constmap=newMap()s......
  • WHAT IS PPM Encoder ?
    AboutPPMEncoderThePPMencoderallowstoencodeupto8PWM(pulsewidthmodulated)signalsintoonePPM(pulsepositionmodulation)signal.Thefunction......
  • 09. Kubernetes - Service
    labelSelector在某些特殊的使用场景中,可能会遇到某些服务只能部署在某些特定的机器上面的情况。为了将这一部分机器逻辑上隔离出来,就需要用户给这批机器打上特定的标签。......
  • .Net Core Web API 版本控制
    原文:https://briancaos.wordpress.com/2022/04/04/c-net-core-api-versioning-with-microsoft-aspnetcore-mvc-versioning/  .NETCoreallowsyoutocontrolversio......