当前位置:网站首页>. NET Framework . Net core and Net standard

. NET Framework . Net core and Net standard

2022-06-23 20:49:00 conanma

.NET Standard:

  • Definition : A formal set of .NET API (.NET Application programming interface for ) standard ,.NET Standard .NET Core and .NET Framework yes .net standard Specific implementation under different platforms .

.NET Framework:

  • Class library + Runtime (CLR)
  • Framework Architecture of

.NET Core:

.NET Core Three characteristics

  • Cross platform , Can run on different operating systems , Include Windows,Linux,Macos, Realize cross platform and cross device
  • Open source , The source code in Github On , Supported by Microsoft officials and the community
  • modularization

Use .NET Core The goal is

  • Not to shrink .NET Framework The size of the bag
  • But for component publishing , That is, the customer only needs to pass NuGet Publish your own dependent dll that will do

NET Family tree

Insert picture description here

.NET Core and .NET Framework The difference between

  • Framework and Core The relationship between : Framework and Core Is a subset and a superset
  • Core Of API Category from .Framework The following has been removed from : 1、 and GUI dependent WForm and WPF, They are bound windows System 2、Asp.Net WebForms and WCF Is a very old technology , The latest front and back-end development technology is Asp.Net MVC and Asp.Net Web API, They were also removed . stay .net core The corresponding implementation in is Asp.Net Core MVC and Asp.Net Core Web API 3、EF stay .net core The corresponding implementation in is EF Core

.NET Core The goal is to modularize 、 Portability release

  • How many each user needs dll, Can pass nuget Break into dependent dll. such .NET Core Deployment ratio .NET Framework Simpler and faster .

Use .NET CORE Scene

  • Cross platform
  • Microservice architecture
  • Containers
  • You need to select parallel by application level .NET edition

Use .NET Framework Scene

  • The existing .NET Framework Applications for
  • Need to use not available for .NET CORE The third party of .NET Library or Nuget package
  • Need to use not available for .NET CORE Of .NET technology Include : 1 Asp.NET Web Forms application 2 Asp.NET Web applications 3 Asp.NET SignalR The server / Client implementation 4 WCF Implementation of services 5 Workflow related services 6 WPF and Wform 7 Language support
原网站

版权声明
本文为[conanma]所创,转载请带上原文链接,感谢
https://yzsam.com/2021/12/202112291149322791.html