Where to start with aspect-oriented programming?

So, after reading the part of the PostSharp documentation presented as an answer to my previous question regarding passive logging ( Is passive logging possible in .NET? ), I head to my next question:

Where is a good place to start learning about aspect-oriented programming - I did some searches on Google and I read some articles, including a Wikipedia article, but many materials seem to suggest you have a basic understanding of some of the terms that, it seems to me that they are absent, and that which does not just plunge directly into integration, leaving me not understanding what exactly I am integrating.

Does anyone have any decent material designed to help someone who has never heard of future-oriented programming, to this day learns about key concepts, terms / keywords, etc.? Even a bird's eye view would be useful - i.e. These are basic concepts, keywords that you need to look for, what they mean and how they fit together. After that, I can probably make some decent progress on my own. I am most interested in AOP regarding .NET development, so any material specifically designed for this will be useful.

TIA

+6
source share
2 answers

What is your goal? AOP has many manifestations:

  • Attribute Oriented Programming
  • Proxy objects
  • Context Border Objects
  • HTTP handlers / chaining in ASP.NET
  • PIB in the corporate library
  • Post-compilers such as EOS (I used EOS ( http://www.cs.iastate.edu/~eos/ ) in my thesis.)

AOP has a big impact on infrastructure today, but it only affects change. And yes, there is no common language, no common definitions. I think you should try the attributes / PIB / EOS, etc., after which you can define and study AOP yourself.

Resources

http://www.codeproject.com/KB/architecture/aop2.aspx

http://blogs.msdn.com/tomholl/archive/2007/02/23/announcing-the-policy-injection-application-block.aspx

+1
source share

This blog post can also be a good starter. The message has several implementations using AutoFac and DynamicProxy. This is well read for introduction to proxy classes.

Aspect Oriented Programming (AOP) in .NET Core and C # using AutoFac and DynamicProxy

0
source share

All Articles