Brief analysis of. NET Core and its relationship to the. NET Framework

Source: Internet
Author: User
Tags compact


To 2002 Microsoft Company launched. NET platform for nearly 15 years, in the wave of Internet rapid iteration, many languages have been eliminated, and there are more new languages emerging, but. NET is still strong in the front line of the system development platform, and with the upcoming (June 27, 2016) release of. NET Core, is bound to usher in a new round of spring.



The Framework of a. NET



Understanding. NET core is necessary to understand the many frameworks of the previous. NET Platform. The first one released by Microsoft in 2002. NET Framework, which soon later released the. NET Compact Framework for use on smaller mobile devices (Windows mobile), and the. NET Compact Framework also contains a set of. NET ————. Framework System (Runtime, Framework,application Model), which is a copy-lite version of the. NET Framework. Over the years, Microsoft has been bored to launch several frameworks like the. NET framework to run on different devices and platforms. Each framework has a similar system but not exactly the same, so that the framework is growing, and for developers, different devices need to maintain multiple sets of code even if they are functionally identical, increasing the complexity of development.






Two. NET Core arrival



Microsoft's rethinking and improving on these issues has made. NET core out.



. NET core is an open-source, modular framework that runs under the same framework (. NET core), whether the development web or mobile device, and. NET core can also run on different operating systems, including Windows, Linux, MacOS, which enables cross-platform cross-device.



What's even better is that. NET Core does not have to install the framework in advance, but is downloaded through nuget, so that it does not have to install a complex and bulky framework when it is first deployed, but rather download it on demand. This nuget-based on-demand load casts a. NET Core cross-platform.






The. NET Core composition system is as follows:



1. Runtime



There are two types of runtime,nativeruntime and CoreCLR implemented in. NET Core. Nativeruntime converts C # or vb.net code directly to native machine code. While CoreCLR is an open source JIT runtime, the code is compiled into intermediate language (IL) to convert the 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 touchscreen devices and ASP. NET programs that develop Windows systems.



Three. NET Core relationship to the other framework of. NET









1. NET Core &. NET Framework



The. NET core &. NET Framework are all implementations of the net standard library, one cross-platform, and the other unique under 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 cross-operating systems, it 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 operating systems).



. NET Core relies more on nuget, allowing local application to dynamically download the required class library at deployment time. The. NET framework needs to be preinstalled in the system. This way, the deployment of. NET core is simpler and faster than the. NET Framework and is also lighter.



2. NET Core & ASP.






You can see that there are two forms of ASP. NET Core:



ASP. NET Core WEB Application



The. NET core-dependent ASP-only can invoke the. NET core API, which can be run on multiple operating systems.(As you can see in the lower part of the Reference Manager, there are no libraries in the .NET Framework in assets.)



ASP. NET Core Web Application



The. NET Core &. NET Framework-dependent ASP. NET can invoke the API of the Core&.net framework, which can only be run under Windows. (visible in the top half of the reference Manager, which contains all libraries in the. NET Framework in assemblies)






3. NET Core & Mono



Mono is the implementation of the open source version of the. NET Framework, which is similar to. NET Core in some features such as open source, cross-operating systems. At present, the. NET CORE draws on the experience from mono and grows, ultimately, to better run on other operating systems except Windows. In addition, Mone supports more app models than. NET core (for example, Windows Forms).



Summarize



Microsoft CEO Satia Nadra Wise decision to abandon the PC-centric, embracing a variety of devices and platforms to become a software service-oriented enterprise. In order to achieve this vision, a new Microsoft eco-chain must be built, encompassing Windows,linux,os X and other operating systems, covering processors such as x86/arm and different devices (including Pc,phone, holographic glasses and others). This is a demonstration of Microsoft's "ambition". As a solid step in the formal release of the big strategy by. NET Core, June 27 Let's wait and see.



The above is a brief analysis of the contents of. NET Core and the relationship with the. NET Framework, and more about topic.alibabacloud.com (www.php.cn)!

Related Article

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.