Part 2. The Fundamentals of AOP
These four chapters cover common types of aspects provided by third-party frameworks. Chapter 3 focuses on method interception and how to use Castle DynamicProxy as well as PostSharp to intercept methods.
In chapter 4, method interception and method bounding are compared. You’ll learn how to write an ASP.NET HttpModule to help detect whether a user is on a mobile device, in order to direct them to your mobile app.
Location interception, covered in chapter 5, is a less common feature of AOP frameworks, but you’ll learn all about it using PostSharp. Another tool that will be explored in this chapter is NotifyPropertyWeaver, which uses a more specialized approach.
All code needs to be tested, even when using AOP. ...
Get AOP in .NET now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.