In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article is about what the relationship between .NET Core and .NET Framework is. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
A. Net Framework.
To understand. NET Core, it is necessary to understand the many Framework of the previous. Net platform. NET Framework, the first .NET framework released by Microsoft in 2002, was later released. NET Compact Framework is used on smaller mobile devices (Windows mobile), while the .NET Compact Framework also contains a set of similar. NET Framework architecture (Runtime, Framework,Application Model), which is a copy of the simplified version of the .NET Framework. Over the years, Microsoft has been happy to launch several .NET Framework-like frameworks for running on different devices and platforms. Each Framework has a similar system but not exactly the same, so there are more and more Framework. For developers, different devices need to maintain multiple sets of code even if they have the same function, which increases the complexity of development.
The arrival of .NET Core
Microsoft's rethinking and improvement of these issues led to the emergence of the .NET Core.
.net Core is an open source modular Framework that runs under the same Framework (.NET Core) for both development web and mobile devices, and the .NET Core can also run on different operating systems, including Windows, linux, and MacOS, realizing cross-platform and cross-device.
Even better, the .NET Core releases the program without installing Framework in advance and downloading it through Nuget, so that instead of installing a complex and huge Framework at the initial deployment, it can be downloaded on demand. This Nuget-based demand loading makes the. NET Core cross-platform.
The composition of .NET Core is as follows:
1. Runtime
There are two implementations of RunTime,NativeRuntime and CoreCLR in the .NET Core. NativeRuntime converts C # or VB.net code directly to native machine code. CoreCLR, on the other hand, is an open source JIT runtime that compiles the code into an intermediate language (IL) and then converts the machine code at final run time.
2. Unified BCL
Base Classlibrary is the basic class, such as FileSystem, Console, XML operations, and so on.
3. Windows Store AppModel & ASP.NET Core 1.0
Provides a set of basic libraries for developing various touch screen devices and ASP.NET programs for Windows systems.
3. The relationship between .NET Core and other .NET Framework
1 .net Core & .NET Framework
.net Core & .NET Framework is the implementation of NET Standard Library, one is cross-platform, and the other is unique under Windows. In addition to the implementation of NET Standard Library, both .NET Core and .NET Framework have their own unique implementations. .net Standard Library is the key to cross-operating systems. It defines a set of interfaces, and each operating system has its own implementation. NET Core can dynamically download the implementation of the current operating system through nuget, thus realizing cross-operating system (and sharing code across operating systems).
The .NET Core relies more on Nuget, allowing the local application to dynamically download the required class library at deployment time. The .NET Framework needs to be pre-installed in the system. In this way, the deployment of the .NET Core is simpler, faster and lighter than the .NET Framework.
2. Net Core & ASP.NET
From the image above, you can see that there are two forms of ASP.NET Core:
ASP.NET Core Web Application (.NET Core)
ASP.NET that depends on the .NET Core can only call the API of the .NET Core and can run on multiple operating systems. (see the Reference Manager in the lower half of the figure below, where there are no libraries in the .NET Framework in assemblies)
ASP.NET Core Web Application (.NET Framework)
ASP.NET that depends on the .NET Core&.NET Framework can call the API of the .NET Core&.NET Framework and can only run under Windows. (see the Reference Manager in the upper half of the figure below, which contains all the libraries in the .NET Framework in assemblies.)
3. Net Core & Mono
Mono is an implementation of the open source version of .NET Framework, which is similar to .NET Core in some features such as open source, cross-operating system. Currently, .NET CORE will learn from Mono so that it can eventually run better on operating systems other than Windows. In addition, Mone supports more App Models than .NET Core (for example, Windows Forms).
Thank you for reading! This is the end of the article on "what is the relationship between .NET Core and .NET Framework". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.