views:

174

answers:

4

Any suggestions for open source aspect-oriented library for c#. Thanks

+1  A: 

Spring.NET

Otávio Décio
+3  A: 

Post Sharp

JoshBerke
+2  A: 

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).

mookid8000
+1 DynamicProxy, but Aspect# is dead
Mauricio Scheffer
A: 

DynamicProxy from CastleProject is probably the most lightweight and powerful solution regarding dynamic interception.

Romain Verdier