当前位置:网站首页>. Net 6 and Net core learning notes: Important issues of net core

. Net 6 and Net core learning notes: Important issues of net core

2022-07-06 03:07:00 I don't know astronomy or geography

What is? C#?

.NET The main development languages in .

recommend C# Books :《C# Illustrated tutorial 》,《C# Introductory classic 》

Although most of the usage has not changed , however .NET Core No .NET Framework Upgraded version , Can't upgrade directly

Most usage has not changed , But there are some parts that cannot be used .

It's been cheated by Microsoft again ? .NET Framework For nothing ?

The technology of software development is constantly improving , It's very popular now python3, from python2 To python3,python2 Some classes and methods in cannot be used .

Have an open mind , I didn't learn most of them in vain .NET Framework To .NET Core Still usable . Also accept change .

use Mono,.NET Framework The program can run directly in Linux Next . With Mono, Why is Microsoft still doing .NET Core?

.NET Framework shortcoming :

1、 System level installation , Interact with each other

2、 Can't deploy independently

3、ASP.NET and IIS Deep coupling

4、ASP.NET High resource consumption

5、 Not cloud native

.NET Framework The burden of history :

1、 Growing up in handcuffs and shackles ASP.NET MVC

2、ASP.NET The bottom layer does not support good unit testing

Mono Simple on the mobile end , When you get to the server, you can't walk

.NET Core The advantages of :

1) Support independent deployment , Do not affect each other ;

2) Completely modular ;

3) There is no burden of history , High operational efficiency

4) Don't depend on IIS

5) Cross platform

6) In line with the modern development concept : Dependency injection 、 Unit test, etc

.NET Core and .NET Framework Different :

1) I won't support it :ASP.NET WebForms、WCF Server side 、WF、.NET Remoting、Appdomain

2) part Windows-Only Characteristics of .NET core, But you can't cross platform : WinForm、WPF、 The registry 、Event Log、AD etc. .

My project can use .NET Core Development ?

1) used .NET Framework There is no need to move the project ;

2) Yes .NET Core Features that are not supported in cannot be moved ;

3) Other projects can be used .NET Core, Mature enough , The community is also turning in an all-round way .NET Core.

原网站

版权声明
本文为[I don't know astronomy or geography]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202132338344740.html