What is assembly )?

Source: Internet
Author: User
Assembly, which is translated as an accessory here to distinguish it from the component. If you think it is inappropriate, please correct me!

An accessory sometimes refers to an EXE or DLL file, which is actually an application Program(Refers to a module with a main program entry point) or a library file. however, accessories can actually be composed of one or more files (DLLs, exes, HTML, and so on), representing a group of resources and a set of Type Definitions and implementations. an accessory can also contain references to other accessories. all these resources, types, and references are described in a list (manifest. This manifest is also part of the accessory, so the accessory is self-described and does not need to be described by other additional parts!

Another important feature of accessories is that they are part of the type identifiers in the. NET environment. They can also be said to be the basic unit. Because, to distinguish a type of identifier is to include this type of accessory name plus the type name itself. For example, accessory A defines the type T, and accessory B also defines the type T with the same name, but. Net considers the two types as different types.

Note: Do not confuse assembly with namespace. In fact, namespace is only used to organize type names in the form of trees. For the running environment, the type name is the type name, which has nothing to do with the namespace.

Remember that the accessory name and type name uniquely identify a runtime type.

In addition, accessories are also the basic unit used by the. NET Framework for security policies. Many security policies are based on accessories.

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.