AOP in .NET
AOP in .NET introduces aspect-oriented programming to .NET developers and provides practical guidance on how to get the most benefit from this technique in your everyday coding. The book’s many examples concentrate on modularizing non-functional requirements that often sprawl throughout object-oriented projects. Even if you’ve never tried AOP before, you’ll appreciate the straightforward introduction using familiar C#-based examples. AOP tools for .NET have now reached the level of practical maturity Java developers have relied on for many years, and you’ll explore the leading options, PostSharp, and Castle DynamicProxy.
Core concerns that cut across all parts of your application, such as logging or authorization, are difficult to maintain independently. In aspect-oriented programming (AOP) you isolate these cross-cutting concerns into their own classes, disentangling them from business logic. Mature AOP tools like PostSharp and Castle DynamicProxy now offer .NET developers the level of support Java coders have relied on for years.
AOP in .NET introduces aspect-oriented programming and provides guidance on how to get the most practical benefit from this technique. The book’s many examples concentrate on modularizing non-functional requirements that often sprawl throughout object-oriented projects. You’ll appreciate its straightforward introduction using familiar C#-based examples.
This book requires no prior experience with AOP. Readers should know C# or another OO language.
What’s Inside
- Clear and simple introduction to AOP
- Maximum benefit with minimal theory
- PostSharp and Castle DynamicProxy
Table of Contents
Part 1: Getting started with AOP
Chapter 1. Introducing AOP
Chapter 2. Acme Car Rental
Part 2: The Fundamentalsof AOP
Chapter 3. Call this instead: intercepting methods
Chapter 4. Before and after: boundary aspects
Chapter 5. Get this instead: intercepting locations
Chapter 6. Unit testing aspects
Part 3: Advanced AOP concepts
Chapter 7. AOP implementation types
Chapter 8. Using AOP as an architectural tool
Chapter 9. Aspect composition: example and execution
Appendix A. Ecosystem of .NET AOP tools
Appendix B. NuGet basics
Book Details
- Paperback: 296 pages
- Publisher: Manning Publications (June 2013)
- Language: English
- ISBN-10: 1617291145
- ISBN-13: 978-1617291142