. NET Standard is a formal set of. NET API specifications that are expected to be rolled out in all. NET runtimes. The motivation behind the introduction of. NET Standard is to improve consistency in the. NET ecosystem. ECMA 335 continues to unify the. NET runtime behavior, but there is no similar specification for the. NET Base Class library (BCL) that is implemented for. NET libraries.
Git Source code address:
Https://github.com/dotnet/standard
. NET standard enables the following important scenarios:
- Define a unified set of non-workload-agnostic BCL APIs for all. NET platforms to be implemented.
- Enables developers to generate a portable library that can be used in various. NET runtimes through the same set of APIs.
- Reduce and hopefully eliminate conditional compilation of Shared source code (OS API only) due to. NET API reasons.
. NET Platform Support
The following table lists all versions of. NET Standard and their supported platforms:
| . NET | Standard
1.0 |
1.1 |
1.2 |
1.3 |
1.4 |
1.5 |
1.6 |
2.0 |
| . NET Core |
1.0 |
1.0 |
1.0 |
1.0 |
1.0 |
1.0 |
1.0 |
2.0 |
| . NET Framework (contains Tool 1.0) |
4.5 |
4.5 |
4.5.1 |
4.6 |
4.6.1 |
4.6.2 |
VNext |
4.6.1 |
| . NET Framework (contains Tool 2.0) |
4.5 |
4.5 |
4.5.1 |
4.6 |
4.6.1 |
4.6.1 |
4.6.1 |
4.6.1 |
| Mono |
4.6 |
4.6 |
4.6 |
4.6 |
4.6 |
4.6 |
4.6 |
VNext |
| Xamarin.ios |
10.0 |
10.0 |
10.0 |
10.0 |
10.0 |
10.0 |
10.0 |
VNext |
| Xamarin.android |
7.0 |
7.0 |
7.0 |
7.0 |
7.0 |
7.0 |
7.0 |
VNext |
| Universal Windows Platform |
10.0 |
10.0 |
10.0 |
10.0 |
10.0 |
VNext |
VNext |
VNext |
| Windows |
8.0 |
8.0 |
8.1 |
|
|
|
|
|
| Windows Phone |
8.1 |
8.1 |
8.1 |
|
|
|
|
|
| Windows Phone Silverlight |
8.0 |
|
|
|
|
|
|
|
- column represents the. NET Standard Version. Each header cell is a document link that describes which APIs are new in the corresponding version of. NET Standard.
- line represents a different. NET platform.
- The version number in each cell indicates the minimum platform version required to implement the appropriate. NET Standard version.
For more information:
Https://docs.microsoft.com/zh-cn/dotnet/standard/library#a-namespecificationa specification
. Net core configuration file Read grooming
HTTP request Reference: Http://www.tuicool.com/articles/rmiqYz
Introduction to. Net Standard