Whats the difference between PostSharp and Castle Dynamic Proxy?
Just wondering what the main diffe开发者_Go百科rences are between these libraries, how they differ in features and functionality.
Hoping for more information than I could find with a Google query...
The main difference is when the AOP code is incorporated into your program
"Postsharp works by weaving at compile time"
Dynamic Proxy generates lightweight .NET proxies on the fly at runtime.
see: Applying AOP
http://ayende.com/Blog/archive/2007/07/02/7-Approaches-for-AOP-in-.Net.aspx
精彩评论