. Some of the basic concepts in net

Source: Internet
Author: User
application domain

An application domain is a logical unit in the CLR that provides code-running scopes, error isolation, and security settings that are functionally similar to the operating system's processes. One or more application domains run in the process of an operating system. The cost of creating and destroying an application domain is smaller than the operating system's process. However, as with the operating system process, data sharing between application domains is quite difficult.

JIT (Compile in time, just-in-time)

Before compiling the intermediate code, the JIT engine looks for methods in the native machine code cache and determines if it is available, if it is available directly, if it is not available, it looks for the method stub in the type, finds the intermediate code, and compiles it.

Strong-Signed assemblies and weak-signed assemblies

A strong-signed assembly is an assembly with public and digital signatures, each of which can be uniquely identified by four elements: file name, version number, language culture, and public key. This information is included in the manifest of the assembly.

Weak-Signed assemblies have the same metadata as strong-signed assemblies, CLR header files, and assembly manifests, except that weak-signed assemblies do not have public keys and cannot be digitally signed. Weak signed assemblies cannot be placed in the GAC and can only be privately deployed.

GAC (Global Assembly cache)

The GAC is a folder with a specific directory structure, and all strongly signed assemblies can be placed in the GAC. You can simply drag to add an assembly to the GAC, or to another tool, via the. Net Framework's asssembly Viewer. Are the more GAC-based specifications and the characteristics of the assembly itself in the GAC directory under the corresponding subdirectory.

Advantages of the GAC:

  • When an assembly is referenced more than once, it can effectively reduce the memory cost.
  • The latest version of the assembly can be published effectively through publisher policy.
  • Multiple versions of the same assembly can coexist and can be toggled by configuration.
Delay signing

Delay signing means that the private key encryption and digital signature of a strong signed assembly are deferred until the actual publication. Delayed signing improves the efficiency of the development testing phase and facilitates the organization and project team to manage their own private keys.

. Some of the basic concepts in net

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.