当前位置:网站首页>C# . NET ASP. Net relationships and differences

C# . NET ASP. Net relationships and differences

2022-06-13 03:06:00 cathy18c

C#
C# It's just a language , Running on the .Net CLR On

.NET
It is not a language , It is a development platform
1,.Net The core is .Net Framework(.Net frame ) It is .Net Environment for program development and operation .
2, It is a cross language platform , Multiple languages can be developed on it , such as C# F# j# VB.NET etc. . This and JAVA Different ,JAVA Cross platform, not cross language .

ASP.NET
It is not a language , It's just a website development technology , yes .Net An application model in the framework

What is? .NET
1,.NET The framework is divided into two parts :
CLR(Common Language Runtime) Common language runtime
FCL(.Net Framework Class Library) .Net Framework class library
2,CLR Structure
CLS: Common language specification (Common Language Specification), Get all kinds of languages into a unified syntax .
CTS: General type system (Common Type System), Convert data types in various languages into unified types
JIT: Just in time compiler (Just In-Time) It is used to compile the converted language into binary language , hand CPU perform .
3,.NET Running mechanism process
All kinds of languages (C#,F#,J# And other corresponding source programs )——> after CLS,CTS First compilation ——> Unified specification language ( Interlingua )MSIL(.exe,.dll)——>JIT Second compilation ——> Binary language ——> Running on the CPU in

contrast JAVA Operation mechanism of :
JAVA——> compile ——> Bytecode file (.class)——>JVM explain (jvm virtual machine )——> Binary language ——> Running on the CPU in

原网站

版权声明
本文为[cathy18c]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202280534095698.html