Page 19 - Open Soource Technologies 304.indd
P. 19

Modern Programming Tools & Techniques-III



                      Notes         it inherits that directory’s ACL. It is recommended that only users with Administrator privileges
                                    be allowed to delete files from the global assembly cache. Assemblies deployed in the global
                                    assembly cache must have a strong name. When an assembly is added to the global assembly
                                    cache, integrity checks are performed on all files that make up the assembly. The cache performs
                                    these integrity checks to ensure that an assembly has not been tampered with, for example,
                                    when a file has changed but the manifest does not reflect the change.

                                    Self Assessment

                                    True or False:
                                    6.   The CTS is the execution engine for the .NET Framework.

                                    7.   The code compiled to run under .NET is called unmanaged code.
                                    8.   MSIL Code Generation is the first level of .NET compilation in which the high-level
                                         compiled in to a language called intermediate language (IL).

                                    9.   CPU-independent MSIL code can be efficiently converted to native code using an
                                         interpreter.

                                    1.4 The Common Type System

                                    The Common Type System defines how data types are declared, used, and managed in the
                                    runtime, and is also an important part of the runtime’s support for the Cross Language Integration.
                                    The common type system performs the following functions:
                                         Establishes a framework that enables cross-language integration, type safety, and high
                                         performance code execution.

                                         Provides an object-oriented model that supports the complete implementation of many
                                         programming languages.

                                         Defines rules that languages must follow, which helps ensure that objects written in
                                         different languages can interact with each other.
                                    The Common Type System can be divided into two general categories of types–Reference type
                                    and Value type each of which is further divided into subcategories.

                                                                    Figure 1.4: CTS





















                                    Source: http://msdn.microsoft.com/en-us/library/ms973862.aspx





            12                               LOVELY PROFESSIONAL UNIVERSITY
   14   15   16   17   18   19   20   21   22   23   24