Understanding AOP in .NET

In my previous posts I have talked a bit about Inversion of Control (IoC) containers with respect to Interception and Aspect Oriented Programming (AOP).  It's not only important to understand the uses and strategies for implementing your solutions using it, but also how interception and AOP works deep down in .NET.  Instead of a long, drawn out post, I think I'll just include some articles and posts that do a very good job of explaining some of the ideas behind it.

Articles and Posts

I think it'd be good if we just start out with some basic MSDN articles and such regarding AOP and interception.  Some of them may be older but the concepts will still apply to this day:

Just Read the Code

There are many AOP frameworks out there in the wild right now for .NET.  To understand them pretty well, it's best if you just crack open the code and follow the unit tests.  Most of these are no longer active.  Let's cover some of the AOP frameworks out there:
Many containers also implement AOP through the IoC container such as:
Conclusion

For those willing and able to go ahead and learn about AOP, it's actually quite interesting.  it's also quite a challenge especially when dealing with IL emitting.  Go ahead and look at the source code and samples and give some of it a try.  Next time we pick up, I'll be talking about AOP in the Enterprise and Spring.NET.  Until next time...

kick it on DotNetKicks.com
Published Friday, March 28, 2008 7:43 PM by podwysocki
Filed under: , ,

Comments

# re: Understanding AOP in .NET

Monday, March 31, 2008 7:39 PM by podwysocki

@Philip

This is true, but I guess what I was hinting at was that most of those listed above were nothing but AOP concerned pieces that were not part of any IoC container or anything else.  Instead, I lumped it in with IoC containers where I knew your stack best.  But, I do appreciate your point that it can be used separately.

Matt

# re: Understanding AOP in .NET

Friday, April 8, 2011 4:13 AM by weblogs.asp.net

Understanding aop in net.. OMG! :)

# re: Understanding AOP in .NET

Monday, May 2, 2011 4:39 PM by weblogs.asp.net

Understanding aop in net.. Great idea :)

# re: Understanding AOP in .NET

Wednesday, June 15, 2011 9:57 PM by weblogs.asp.net

Understanding aop in net.. Neat :)