Paperback: 296 pages
Publisher: Manning Publications; 1 edition (June 28, 2013)
Product Dimensions: 7.4 x 0.6 x 9.2 inches
Shipping Weight: 1.1 pounds (View shipping rates and policies)
Average Customer Review: 4.8 out of 5 stars See all reviews (8 customer reviews)
Best Sellers Rank: #653,170 in Books (See Top 100 in Books) #47 in Books > Computers & Technology > Programming > Languages & Tools > Assembly Language Programming #214 in Books > Computers & Technology > Programming > Microsoft Programming > .NET #293 in Books > Computers & Technology > Programming > Languages & Tools > C#
This book fills a big gap concerning Aspect Oriented Programming in the .NET world. That's only one reason I give this book five stars.It primarily covers the use of PostSharp and Castle DynamicProxy in a wide variety of AOP use cases. The good news is that you can employ the free version of PostSharp (and Castle is open source) to work through almost everything in the book.I've read and worked through the entire book. Here is a synopsis of what's covered and my thoughts:* Chapter 1 provides a good overview of AOP for readers not familiar with it.* Chapter 2 is stunning: it builds up a class with many cross-cutting/non-functional concerns, and ends up refactoring everything with PostSharp. This is a truly motivational chapter, and along with chapters 7 and 9, it is one of the best.* Chapters 3, 4, and 5 discuss different types of AOP, primarily with PostSharp, but also covers AOP with HttpModules and a secondary compile-time AOP tool for INotifyProperty changed. I struggled with a couple of items in Chapters 4 and 5 (some things appeared to have changed by the time the book was published), but I've posted "fixes" on Manning's author forum for the book. It would have been nice to see StandardInterceptor with DynamicProxy demonstrated in chapter 4 on Boundary Aspects.* Chapter 6 deals nicely with testing both PostSharp and DynamicProxy, employing NUnit and Moq.* Chapter 7 gives a deeper understanding of what compile-time AOP and runtime AOP are doing under the hood. Very enlightening, and you get a lot of respect the people who've created these AOP tools.