Cainiao understands. NET Framework (CLI, CLS, CTS, CLR, FCL, and BCL)

Source: Internet
Author: User

Now that I want to learn. net, I need to know her first. I don't like big text. I can draw a picture by myself to see. net.

 

The blue part at the bottom layer is the basis of the. NET Framework and also the basis of all application software .. . NET Framework is not out of thin air. In fact, APIs, COM +, and related drivers are still the cornerstone of the framework .. Net Framework is just a systematic encapsulation and expansion of these predecessors. In this process, we have learned a lot of Java Framework experience. For the relationship between Win32 APIs and. NET framework APIs, refer to Microsoft Win32 to Microsoft. NET Framework API map.

  Recipe: Except for the blue part, the subjects of the. NET Framework are all others. It is based onGeneral language infrastructure(Common Language infrastructure, cli). It is like a recipe that has been missing for a long time.

  Chef:Common language runtime platform (CLR)Is the implementation of the CLI architecture on the Windows platform. A simple understanding is the CLR chef, which enables the CLI recipe to play its real role.

Let's try these dishes:

  Food:Class Library (framework class library, FCL)All class libraries that can be used in. net. It is divided into two parts:Raw MaterialsAnd the other part isFinished Food.

  • Raw Materials:Base Class Library (BCL) As the name suggests, it contains some basic classes, such as Io, string, and net. They are essential ingredients for cooking, and can also be eaten directly.
  • Finished Food:FCL. These class libraries are basically referencedBcl, Based on these class libraries. Such as ADO. net, ASP. NET, and Windows. forms. They are more convenient and specific for programming.

  Tableware:Common Language Specification (CLS)AndCommon Type System (CTS), YesCLITo ensure compatibility between different languages and. NET Framework. It seems that some diners are used to chopsticks, while others prefer to use forks. For example, they use nine-tooth dingtalk. WithCLSAndCTSAll diners can use their favorite tableware to eat delicious food. For example, the int in C # And the integer in VB are uniformly mapped to system. int32.

  Diners: Various languages, such as C # and VB.

For details about how diners eat these items, refer to the in-depth exploration. net Framework internally understand how CLR creates runtime objects. This article explains in detail ,. net is running, involves some underlying things, you can understand the line, do not have to go.

Microsoft technical library, CLR via C # And. Net that you must know are quite good for everyone.

Well, this is my own understanding of the. NET Framework. It may be an inappropriate metaphor or even a conceptual error. I hope you can point it out. After all, I am a beginner. criticism will help me grow. Thank you!

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.