AOP - Alternatives To PostSharp
Whilst looking at PostSharp I found quite a few useful links and also managed to look at a few alternatives.
Aspect# seemed interesting but it only does virtual members (or interfaces I presume) and its certainly not transparent to the user of the classes as you have to go through an AspectEngine. Anyway no matter how useful it could have been it looks like Aspect# is a dead end and is on the way out.
Other than Aspect# there are a few other choices, Spring.NET has an AOP solution and Eric Bodden has a list of .NET AOP solutions and I'll definitely take a look at some of them, AspectDNG in particular sounds good.
I'll be interested to see if I can find any solution thats as simple as PostSharp Laos or that has such a nice way of supporting compile-time weaving.
Links - PostSharp
- Using AOP for validation
- PostSharp AOP reference
- AOP with PostSharp Part A
- AOP with PostSharp Part B
- Bitter Coder
- DotNetKicks - Not much yet...
Links - AOP
No comments:
Post a Comment