Differences and connections between. NET Framework and. NET Core, frameworkcore
2017 is coming. Let's learn something. If you want to learn something, first clarify the two concepts of. NET Framework and. NET Core.
. The current net ecosystem is as follows:
From the figure above, we can see that. net is mainly divided into three parts:. net FrameWork,. net Core, and Xamarin.
- XAMARINThe C # language is mainly used to build apps (including IOS and Android Windows ).
- The. NET FrameworkThis is often used now. You can use this tool to create windows applications and web applications. Now you can use it to create Winform, UWP, wpf, and other related applications, the web is Asp.net MVC.
- . NET CoreIt is Microsoft's latest open-source, cross-platform framework. applications that can be created with it can run on MAC and Linux. . Net core supports UWP and ASP. NET Core. UWP is short for Universal Windows Platform in Windows 10. That is, Windows universal application platform, which runs on Win 10 Mobile/Surface (Windows tablet)/PC/Xbox/HoloLens and other platforms, the difference between uwp and exe applications on traditional PCs is essentially different from apps that only apply to mobile phones. It is not designed for a terminal, but can run on all Windows 10 devices.
What should we choose? Which framework should we use?
What should we do with these two frameworks?. NET Core and. net framwork have their own advantages and disadvantages, and neither of them can replace each other. Now let's talk about their advantages and disadvantages.
.Net framwork mainly applies:
- No time to learn new technologies
- A stable running environment is required, and a stable version has been developed recently.
- You are already using existing applications and extending their functions.
- Now we have a dedicated. net team to implement the features required by the customer.
- Do not want to update programs frequently
. Net core is applicable to the following aspects:
- The program needs to run in multiple systems, including MAC, windows, and Linux.
- I am not afraid to learn new things, not afraid of various difficult cases. After all,. net core was just born not long ago, and certainly many things are not particularly comprehensive.
- Love Open Source, preferably new to. net
After talking about so many charts, let's take a look.
Docker container support |
. Net Core is based on Docker. |
Reply again on the command line |
. Net Core is faster |
Cross-platform |
Only. net Core support |
Windows client applications using Windows Forms and WPF |
. Net framwork |
There is already a pre-configured environment and System |
. Net framwork |
System Stability |
. Net framwork is better. After all,. net core is just released. |
Is there a mature team? |
. Net core requires a learning curve |
What is the future? |
. Net core is the future |
Note that not all. net frameworks can run directly on. net core.
References
1. http://www.hanselman.com/blog/WhatNETDevelopersOughtToKnowToStartIn2017.aspx
2. http://www.c-sharpcorner.com/article/difference-between-net-framework-and-net-core/
I like my articles, remember to leave a message, powder me, I will wait for you again