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

本文内容

  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
  1. .NET 5.0 不會取代 .NET Framework
  2. .NET 5.0 不會取代 .NET Standard
  3. C # 更新
  4. F # 更新
  5. Visual Basic 更新
  6. 新功能的 System.Text.Js
  7. 另請參閱

.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。 

猜你喜欢

转载自blog.csdn.net/johnsuna/article/details/119351963