.NET Standard vs .NET Core

后端 未结 7 465
北恋
北恋 2020-11-30 16:24

I have read about the difference between .NET Standard and .NET Core, but I really don\'t know what the difference is, or when to choose a .NET Standard library project and

7条回答
  •  时光取名叫无心
    2020-11-30 17:04

    .NET Standard is a specification of APIs that all .NET implementations must provide. It brings consistency to the .NET family and enables you to build libraries you can use from any .NET implementation. It replaces PCLs for building shared components.

    .NET Core is an implementation of the .NET Standard that’s optimized for building console applications, Web apps and cloud services using ASP.NET Core. Its SDK comes with a powerful tooling that in addition to Visual Studio development supports a full command line-based development workflow. You can learn more about them at aka.ms/netstandardfaq and aka.ms/netcore.


    The above, together with a very clear explanation of most of the stuff discussed in this question can be found in the following extremely helpful article by Microsoft (MSDN - September 2017): .NET Standard - Demystifying .NET Core and .NET Standard

提交回复
热议问题