且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

.Net Framwork,.Net Standard和.Net Core之间有什么区别?

更新时间:2023-02-15 21:57:56

您好  repo中的NET标准API定义 GitHub。

  .NET Standard自带:


有关详细信息,请参阅Immo Landwerth的博客


.NET标准介绍



祝你好运,


Kristin


Please help me to differentiate the differences between them with architectural diagram.

Hi Suresh Kumar Kaushik,

>>What are differences between .Net Framwork, .Net Standard and .Net Core?

Here is a good picture that Microsoft explains

.NET Framework is the "full" or "traditional" flavor of .NET that's distributed with Windows. Use this when you are building a desktop Windows app or working with ASP.NET 4.5/4.6.

.NET Core is cross-platform .NET that can run on Windows, Mac, and Linux. Use this when you want to build applications that can run on any platform, including ASP.NET Core (cross-platform web applications).

Xamarin (Mono) is used for building mobile apps that can run on iOS, Android, or Windows Phone devices.

.NET Standard solves the code sharing problem for .NET developers across all platforms by bringing all the APIs that you expect and love across the environments that you need: desktop applications, mobile apps & games, and cloud services:

  • .NET Standard is a set of APIs that all .NET platforms have to implement. This unifies the .NET platforms and prevents future fragmentation.
  • .NET Standard 2.0 will be implemented by .NET Framework, .NET Core, and Xamarin. For .NET Core, this will add many of the existing APIs that have been requested.
  • .NET Standard 2.0 includes a compatibility shim for .NET Framework binaries, significantly increasing the set of libraries that you can reference from your .NET Standard libraries.
  • .NET Standard will replace Portable Class Libraries (PCLs) as the tooling story for building multi-platform .NET libraries.
  • You can see the .NET Standard API definition in the dotnet/standard repo on GitHub.

 .NET Standard comes in:

For more details, please refer to Immo Landwerth's blog

Introducing .NET Standard

Best regards,

Kristin