Apress Access

.NET IL Assembler

By Serge Lidin

  • eBook Price: $55.99
Buy eBook Buy Print Book

Advanced .NET IL Assember drills down into the internal structures and operations of
the .NET common language runtime and teaches you how to master the IL assembly
language, ILAsm. These skills will allow you to write tighter, faster code for
all versions of the .NET Framework.

Full Description

  • Add to Wishlist
  • ISBN13: 978-1-4302-6761-4
  • 492 Pages
  • User Level: Advanced
  • Publication Date: June 24, 2014
  • Available eBook Formats: EPUB, MOBI, PDF

Related Titles

  • Develop Microsoft HoloLens Apps Now
  • Windows 10 for the Internet of Things
  • Windows Group Policy Troubleshooting
  • ASP.NET MVC with Entity Framework and CSS
Full Description

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.

Who this book is for

This book is aimed at .NET developers with a good understanding of C# and an understanding of how the .NET Framework framework stack operates. All concepts related to the CLR and MSIL are introduced from first principals. The concepts taught are valid for all versions of .NET.

Table of Contents

Table of Contents


1. Simple Sample

2. Enhancing your .NET Code

3. Making IL Coding Easier


4. The Structure of a Managed Executable File5. Metadata Tables Organization


6. Modules and Assemblies

7. Namespaces and Classes

8. Primitive Types and Signitures

9. Fields and Data Constants

10. Methods

11. Generic Types

12. Generic Methods


13. IL Instructions

14. Managed Exception Handling


15. Events and Properties

16. Custom Attributes

17. Security Attributes

18. Managed and Unmanaged Code Interoperation

19. Multilanguage Projects

20. Appendix A

21. Appendix B

22. Appendix C

23. Appendix D

24. Appendix E

Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.


If you think that you've found an error in this book, please let us know by emailing to editorial@apress.com . You will find any confirmed erratum below, so you can check if your concern has already been addressed.
No errata are currently published


    1. PHP Objects, Patterns, and Practice


      View Book

    2. Beginning Android 3D Game Development


      View Book

    3. Troubleshooting Oracle Performance


      View Book

    4. Beginning Amazon Web Services with Node.js


      View Book