Understanding of. NET

Source: Internet
Author: User

. NET is actually a software platform, which has many similarities with the Java platform, mainly manifested in

 

1. Both programs can be executed across platforms. 2. All programs compiled by both are generated with an intermediate code (IL ), the second compilation is required to convert the Code that can be executed at a cost (Native Code ). This feature is exactly the root cause of cross-platform execution by. NET and Java programs, as shown in IL 3. Both of them are powerful in B/S (Broser/Server) development. The following describes the features of cross-platform execution. NET FrameWork, as long as it is used.. NET programs can be executed on the platform. Because the software is compiled into IL components (. EXE or. DLL), these components have nothing to do with the specific. NET Language and the operating system. The IL syntax is basically the same. Compile and generate the intermediate code. the real-time compiler in the. NET Framework is compiled for the second time to generate Native Code before being executed by the CPU, just as the Java program requires the Java Virtual Machine (JVM) for the second compilation before execution. Below is. NET program and JAVA program execution principle. NET execution principle. the execution principle of JAVA is powerful in B/S development. ASP. NET class is very convenient for B/S development. The. NET FrameWork consists of CLR (runtime in common languages) and BCL (base class library ). In fact, CLR and BCL are also composed of components. The components of the CLR that constitute the BCL are all included in the System Folder GAC (Global Assembly Cache), and some classes with digital signatures are also registered in this folder, components in this folder can be shared by all software


From Wen Huan's CSDN blog

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.