开发者

Whats the difference between PostSharp and Castle Dynamic Proxy?

开发者 https://www.devze.com 2022-12-08 22:00 出处:网络
Just wondering what the main diffe开发者_Go百科rences are between these libraries, how they differ in features and functionality.

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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号