Aspect-Oriented Programming (AOP) with Spring.Net, Page 6
Figure 1: Example Test Output
I hope this article helped introduce you to Aspect-Oriented Programming with Spring.Net. AOP is a wonderful tool that really enhances object-oriented concepts by allowing greater application modularity through the separation of cross-cutting concerns. In this article, I covered some of the basic concepts of AOP and Spring.Net AOP including advice, pointcuts, and aspects and how to use them for some common scenarios such as logging, error handling, performance monitoring, and security. There is much more out there, though. Be sure to check out more advanced AOP concepts like introductions and also keep in mind the many other uses for AOP like caching and retry rules. Next time you are developing or maintaining an application keep AOP in mind. AOP is a powerful tool to have in any developer's coding arsenal.
To download the example code in this article, click here: Download Code Example.
About the Author:
David Consdorf resides in Chicago, Illinois. He graduated with a Bachelor's Degree in Computer Science from the University of Illinois Urbana-Champaign. For the last four years, he has been developing Java and ASP.Net web applications as a software consultant working in the financial, manufacturing, and government sectors in the Greater Chicagoland area.
Page 6 of 6