A brief analysis of. NET Core and its relationship to the. NET Framework

Source: Internet
Author: User
Tags compact dotnet

Http://www.cnblogs.com/vipyoumay/p/5603928.html

A brief analysis of. NET core and its relationship to the. NET Framework one. NET Framework two. NET Core The arrival of the 1. Runtime 2. Unified BCL 3. Windows Store Appmodel & asp.net core 1.0 three. NET Core vs. NET other platforms 1. NET Core &. NET Framework 2. NET Core ; asp.net 3. NET Core & Mono Summary

To 2002 Microsoft Company launched. Net platform has been nearly 15 years, in the wave of rapid Internet iterations, many languages have been eliminated, and more new languages have emerged, but. NET is still strong on the front lines of the system development platform, and with the official version of. NET Core coming up (June 27, 2016), is bound to usher in a new round of spring. A. NET Framework are

Understanding. NET core is necessary to understand the many frameworks of the previous. NET Platform. 2002 the first Microsoft company released. NET Framework, which was soon released with the. NET Compact Framework for use in smaller mobile devices (Windows mobile), and the. NET Compact Framework also contains a set of. NET frameworks that are similar to the ————. net Framework System (Runtime, Framework,application Model), which is a copy of the compact version of the. NET Framework. Over the years, Microsoft has been keen to launch several frameworks similar to the. NET framework for running on different devices and platforms. Each framework has a similar system but not exactly the same, so that the framework is more and more, for developers of different devices, even if the same functionality needs to maintain multiple sets of code, increasing the complexity of development.

two. NET Core arrival

Microsoft's rethinking of these issues and improvements have made the. NET core turned out.
The. NET core is an Open-source, modular framework that runs under the same framework (. NET core), both for development web or mobile devices, and. NET core can also run on different operating systems, including Windows, Linux, MacOS is implemented across platforms across devices.
What's even better is that. NET Core releases the program without having to install the framework in advance and downloads it through the nuget, so that you don't have to install a complex and extensive framework for the initial deployment, but download it on demand. This nuget based on-demand loading casts the. NET Core across platforms.

The. NET Core composition system is as follows: 1. Runtime

There are two types of runtime,nativeruntime and CORECLR implemented in the. NET Core. Nativeruntime converts C # or vb.net code directly into native machine code. And CoreCLR is an open-source JIT runtime that compiles code into intermediate language (IL) to convert machine code at the end of the run. 2. Unified BCL

Base ClassLibrary is the base class, such as FileSystem, Console, XML operations, and so on. 3. Windows Store Appmodel & asp.net Core 1.0

Provides a set of base libraries for various touch-screen devices and asp.net programs that develop Windows systems. three. NET Core relationships with. NET other frameworks

1. NET Core &. NET Framework

The. NET core &. NET Framework is the implementation of the Net Standard library, one that is cross-platform and the other is unique to Windows, in addition to implementing the Net Standard library. NET core and. N The ET Framework has its own unique implementation. The. NET Standard Library is the key to a cross operating system that defines a set of interfaces, each operating system has its own implementation, and. NET core can dynamically download the implementation of the current operating system through NuGet. This enables cross operating systems (and shared code across the operating system).

. NET Core is more dependent on nuget, allowing local application to dynamically download the required class library at deployment time. The. NET framework needs to be preloaded in the system. this. NET core deployment is simpler, faster, and lighter than the. NET Framework. 2. NET Core & asp.net

You can see from the image above that there are two forms of ASP.net Core:

asp.net core Web application (. NET core)

ASP.net, which relies on. NET core, can only invoke the. NET core APIs, which can be run on multiple operating systems. (Visible reference Manager in the lower part of the following figure, no libraries in the. NET Framework in assemblies)

asp.net Core Web application (. NET Framework)

asp.net that depend on the. NET Core &. NET Framework can invoke the APIs of the. NET Core&.net framework, which can only be run under Windows. (visible in the upper part of the following figure, reference Manager, which contains all the libraries in the. NET Framework in assemblies)

3. NET Core & Mono

Mono is an open source version of the. NET Framework that is similar to. NET Core, such as open source, across operating systems, on some features. At present, the. NET CORE will learn from the mono and grow to be better able to run on other operating systems other than Windows. In addition, Mone supports more app models than. NET core (for example, Windows Forms). Summary

Microsoft CEO Satia Nadra Wise decision to abandon the PC-centric, embracing a variety of devices and platforms, to become a software service-oriented enterprises. In order to achieve this vision, a new Microsoft eco-chain, which includes Windows,linux,os X and other operating systems, covers x86/arm processors and different devices (including Pc,phone, holographic glasses and others), must be built. These are the "ambitions" of Microsoft. As the. NET Core formally launches a solid step towards a big strategy, June 27 Let's wait and see.

The above content has any wrong or inaccurate place please correct me, do not like to spray.

Reference content

"1" https://blogs.msdn.microsoft.com/dotnet/2014/12/04/introducing-net-core/

"2" Https://www.linkedin.com/pulse/too-many-net-jargons-net-what-balaje-sankar

"3" https://blogs.msdn.microsoft.com/dotnet/2016/02/10/porting-to-net-core/

"4" https://dotnet.github.io/docs/concepts/codesharing.html Category: NET core Tags:. NET core, ASP.net core

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.