What is. NET Core? What is. NET standard?

Source: Internet
Author: User
Tags file handling

Word . NET Coreis the operating platform (platform), . NET Standardis a series of programming interfaces (a set of APIs).


. NET Core

. NET in the world, it turns out that only the . NET Framework: NET is managed code, and the common language runtime (Common Language runtime,clr) converts IL code into machine code when the program is running. From version 1.0, which started in 2002, to the latest version of 4.7, programs compiled from the . NET Framework are running on Windows mostly. Why is it? Because the official CLR only supports Windows. Was it possible to run the . NET Framework program on Linux before? can also, with mono. Mono implements a Linux CLR under the ECMA Standard for C # and the CLR, for example, there is no registry concept in Linux, and Mono uses a .ini file to emulate the registry.

After Microsoft embraced open source,. NET Core emerged. . NET Core is a cross-platform. NET run platform, fully open source (Https://github.com/dotnet/core), support Windows,macos and Linux, cross-Architecture (X86,x64,arm). The latest 2.1 version also supports Raspberry Pi.

The most interesting point is that. NET Core can be included in the application and can be x-copy published and used in Docker containers.


Open Source Run-time

CORECLR is the runtime CLR for . NET Core , including garbage collection, the JIT compiler,. NET basic data types and other underlying types.


Open Source Library of basic programs

The COREFX contains the most basic libraries of . NET Core , such as collections System.Collections , file handling System.IO.FileSystem , command line System.Console , multithreading support, and async so on. These libraries are available for download on demand from NuGet.

Cold knowledge: FX is Framework the abbreviation


Performance

It is worth mentioning that the performance gains in . NET Core . The . NET core team has done a lot of work on performance optimizations, and performance improvements in. NET core details some of the underlying types and optimizations in the runtime. The ASP . NET core framework, built on. Net core, also makes some of its own optimizations on the basis of . Like System.IO.Pipeline, very interesting, we'll talk later. Third-party performance test platform The latest results show that ASP. NET Core ranked 17, more than go and Nodejs.


. NET Standard

. NETstandards, as the name implies, is a standard. Meaning to say that all. NET platform, you must support the API defined in this . NET standard. For example System.IO.FileSystem , the . NET Core under Linux must understand the file system under Linux and implement the file read and write functions under Linux. The . NET Core or . NET Framework , which runs under Windows, must also implement a copy of the file read and write functionality under Windows.

The latest . NET Standard is available to the 2.0 version. The following table lists the 2.0 minimum supported . NET Standard. NET platform version. As you can see,. NET Core is just one of many platforms.

Standard
. Net2.0
. NET Core 2.0
. NET Framework 4.6.1
Mono 5.4
Xamarin.ios 10.14
Xamarin.mac 3.8
Xamarin.android 8.0
Universal Windows Platform 10.0.16299

Reference documents

[1] about. NET Core
[2]. NET Standard
[3] performance improvements in. NET Core
[4] Andrew Lock, understanding. NET Core, Netstandard,. NET core applications and ASP.
[5] announcing. NET Core 2.1

What is. NET Core? What is. NET standard?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.