Fody by Juan Araya (Eng)
Channel: Engineering Community
Date: 29/05/2019

Weaving refers to the process of injecting functionality into an existing program. This can be done conceptually at source code or CIL level.

Source code weaving would inject source code lines before the code is compiled
IL weaving (for .NET) adds the code as IL instructions in the assembly

Fody helps us to inject code at CIL level. It uses the Mono.Cecil library to access and modify assemblies, during the post build process.