Hi everyone,
I'm wondering what's good out there for AOP / crosscutting in .Net, along the lines of AspectJ. I see Microsoft has a policy injection application block; any other good stuff out there I should take a look at?
Hi everyone,
I'm wondering what's good out there for AOP / crosscutting in .Net, along the lines of AspectJ. I see Microsoft has a policy injection application block; any other good stuff out there I should take a look at?
PostSharp is probably the most popular option, although I believe Sprint.NET is fairly widespread, as well.
I use Microsoft Unity but there is also StructureMap, Spring.NET, Castle Windsor and, the most popular, PostSharp.
Spring.Net has an AOP framework which can be used with or without Spring's IoC framework. If you are also looking for an IoC framework, Spring.Net makes a compelling case and is free and open source.
Another plus for Spring.Net IMO is that the documentation and forum support really is excellent. One negative comment about Spring.Net that I have seen several times is that the XML configuration is wordy and difficult to read, which is true. It is however at least consistent so that once you have learned how it works for one block, you can apply it easily to other blocks.