May 8, 2011
PostSharp is an aspect-oriented programming (AOP) framework that allows you to encapsulate repeating code patterns as .NET attributes. These attributes are referred to as aspects. Using the power of attributes you can apply them to multiple parts of your code.
This post demonstrates the value of these aspects by encapsulating a couple of common cross-cutting concerns, such as:
- Tracing Method Execution
- Exception Handling
Let’s get started…