Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 5 years ago.
Any suggestions for open source aspect-oriented library for c#. Thanks
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 5 years ago.
Any suggestions for open source aspect-oriented library for c#. Thanks
Post Sharp
Spring.NET
I am using Castle Windsor and Dynamic Proxy, which together provide a simple way to apply your standard AOP method interception through external XML configuration.
If you have more advanced AOP needs, Aspect# might be useful (also relies on Dynamic Proxy) - but I have found that Windsor fulfills my needs perfectly.
Please note that Dynamic Proxy provides only runtime AOP. There are solutions out there that can mix in your aspects at compile time (although I can't recall the name of any of them).
DynamicProxy from CastleProject is probably the most lightweight and powerful solution regarding dynamic interception.
I would suggest Spring.NET as well, but only because that's the only one I have experience with. Spring.NET offers so much more (IoC, transaction management, nice validation framework) but you can use just what you need from it.
Spring.NET is great in general, and so is its AOP support.
No idea why people are saying to avoid it. Infact it is one of the most stable and reliable frameworks in the .NET world.
Dev progress is slow, but that is fine because it is already feature rich and stable.