-
What is the difference between AspectInjector and Fody? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Following #132 Fody. Fody is great. Although it serves slightly different purpose and pursues different goal. Disclaimer - I'm not a Fody dev, here goes my personal opinion. Fody is more low level framework that exposes underlying CIL (common intermediate language) structures to the developer. It's purpose is to allow developers create Weavers that manipulate CIL. So Fody can be used to create something like AspectInjector (it was not). The idea - let's give developers ability to write easy (arguably) code that manipulates CIL. Anything is possible to do in CIL. AspectInjector on the other hand is more high level framework what allows developers to create AOP structures in high level language (c#, vb) and bind them statically via CIL. All the CIL manipulations are hidden and automatic. The idea - let's give developers ability to write high level code that we wire-up for them. We just do binding in CIL - everything else can be done in high level language. |
Beta Was this translation helpful? Give feedback.
Following #132
Fody. Fody is great. Although it serves slightly different purpose and pursues different goal. Disclaimer - I'm not a Fody dev, here goes my personal opinion. Fody is more low level framework that exposes underlying CIL (common intermediate language) structures to the developer. It's purpose is to allow developers create Weavers that manipulate CIL. So Fody can be used to create something like AspectInjector (it was not). The idea - let's give developers ability to write easy (arguably) code that manipulates CIL. Anything is possible to do in CIL.
AspectInjector on the other hand is more high level framework what allows developers to create AOP structures in high level lang…