I can implement both AOP (using Postsharp) and the EntLib (v5.0) for cross cutting concerns as logging and exception handling/strategies.
I'm failing to see if one excludes the other or where they might complement each other. Can somebody please share some experience and/or thoughts on this?
Thanks!
My take on it regarding exceptions:
AOP can easily wrap your code and catch exceptions. Handling could then be delegated to the EntLib which provides strong handling (wrap, replace, swallow) configuration using policies.
The handling strategies (wrap, replace and swallow) could also be implemented in aspects. What would drive the decision? Or am I missing something here perhaps?