The difference between C# .Net Framework, .Net Core and .Net Standard

.Net Core

.NET Core is an open source, cross-platform development platform that can be used to build modern, scalable and high-performance cross-platform software applications, including Asp.Net Core, WPF, WInform, etc. .Net Core can be developed using C#, Visual Basic and F#. It is understood here as the cross-platform version of .Net, which is suitable for the development of popular Web, mobile, cloud services, microservices and other directions.

.Net Framework

This is directly understood as the standard version of .Net, from .Net Framework1.0 to today's .Net Framework4.8

.Net Standard

.NET Standard is a set of formal .NET API specifications, which is equivalent to a set of specifications. Whether .Net Core or .Net Frameworkd, all must implement this specification.

For example

.NET Framework 4.6 implements .NET Standard 1.3. That is, it exposes all APIs defined in .NET Standard versions 1.0 to 1.3.

 Likewise, .NET Framework 4.6.1 implements .NET Standard 1.4, and .NET Core 1.0 implements .NET Standard 1.6.

Currently, the highest .Net Standard version implemented by .Net Framework is 2.0.

See the table below for details

.NET Standard

1.0

1.1

1.2

1.3

1.4

1.5

1.6

2.0

2.1

.NET Core

1.0

1.0

1.0

1.0

1.0

1.0

1.0

2.0

3.0

.NET Framework 1

4.5

4.5

4.5.1

4.6

4.6.1

4.6.1 2

4.6.1 2

4.6.1 2

N/A3

reference:

.NET Standard | Microsoft Learn

Announcing .NET Standard 2.1 - .NET Blog

Guess you like

Origin blog.csdn.net/qq_18427785/article/details/127510247