First, we would like to make very familiar with dot net key terminology before writing any articles. So that, it can be very useful for both (freshers as well as experienced)
1. CLR (Common Language Runtime) - It's responsibility of the runtime to take care of the code execution of the program. having following features like Garbage Collector, Code Access Security, Code Verification and Intermediate Language
2. GC (Garbage Collector) - Process of releasing the memory used by objects automatically, which are no longer referenced, thus eliminate memory leaks issue and provide efficient memory management
3. CAS (Code Access security) - It
determines whether a piece of code is allowed to run and what resources
it can use while running. i.e. it allow an application to read but not
to write and delete a file or a resource from a folder
4. Code Verification - It ensures proper code execution and type safety while the code runs. It prevents the source code to perform illegal operation such as accessing invalid memory locations etc.
5. IL (Intermediate Language) -
All .NET source code is compiled to IL. IL is then converted to machine
code at the point where the software is installed, or at run-time by a
Just-In-Time (JIT) compiler
6. Managed Code - It runs inside the environment of CLR i.e. .NET Runtime
7. Assembly - Assembly is unit of deployment like EXE or a DLL. It is self describing and can execute multiple version side by side
8. Namespace - Logically groups classes and can span multiple assembly.Qualifying NameSpace with class name can avoid this collision
9. Private Assembly - Used by a single application and stored in application directory
10. Public Assembly - Used by many application and stored in Global Assembly Cache
11. ILDASM - Intermediate Language disassembler used to decode the IL and avoid to De-compile by using XenoCode or Obfuscation
12. Manifest - Assembly metadata is stored in Manifest and contains following information like Version of assembly, Security identity, Scope of the assembly and Resolve references to resources and classes.
We can add or remove assembly by two ways 1. Microsoft installer package 2. Gacutil -i
13. Strong Name - .NET assembly name combine with its version number and other information's like Simple name, Public key, Version, Key and Process architecture
14. Reflection: It's used to get metadata information about types and member inside the class during runtime
15. GUID (Global Unique Identifier)- A unique 128 Bit Number that's produce by windows OS
No comments:
Post a Comment