.NET IL Assembler
- 9h 5m
- Serge Lidin
- Apress
- 2014
Advanced .NET IL Assembler is a comprehensive drill-down into the inner workings of the .NET Framework. Acknowledged runtime expert and Microsoft insider Serge Lidin steps through the internal structures and operations that take place when .NET code is executed, showing how the syntax and grammar of the coding language is broken down into low-level units that can be expressed through the ILAsm language that runs behind the scenes in .NET.
By reading this book you will develop the skills you need to write tighter, faster, .NET code; to debug complex error handling situations; and to oversee multi-language and multi-platform projects with confidence.
What you’ll learn
- Discover the structure of the .NET execution sequence and the Managed Executable Files that lie within it.
- Step through the core .NET component modules, namespaces and classes and see how each is consumed by ILAsm and can be optimized for execution
- Learn how to use the IL Assembler and Disassembler tools to analyze .NET code, metadata structures and exception handling within Visual Studio.
- Understand the issues that surround multi-language and multi-framework projects
- Develop your own Custom Attributes and tailor them for speed and security.
About the Author
Serge Lidin, a Russian-born Canadian with more than 20 years in the computer industry, has programmed in more languages and for more platforms than he can recall, in areas varying from astrophysics models to industrial process simulation to transaction processing in financial systems. From 1999 to mid-2005, he worked on the Microsoft .NET common language runtime team, where he designed and developed the IL assembler, IL disassembler, Metadata validator, and runtime metadata validation in the execution engine. Currently, Serge works on the VC++ compiler back-end team in the Static Analysis group.
In this Book
-
Simple Sample
-
Enhancing the Code
-
Making the Coding Easier
-
The Structure of a Managed Executable File
-
Metadata Tables Organization
-
Modules and Assemblies
-
Namespaces and Classes
-
Primitive Types and Signatures
-
Fields and Data Constants
-
Methods
-
Generic Types
-
Generic Methods
-
IL Instructions
-
Managed Exception Handling
-
Events and Properties
-
Custom Attributes
-
Security Attributes
-
Managed and Unmanaged Code Interoperation
-
Multilanguage Projects