PostSharp is an aspect-oriented programming framework for .NET that allows separation of cross-cutting concerns through static weaving. It injects aspects into code during the build process by rewriting intermediate language code. This results in cleaner source code that is easier to understand, refactor, and onboard developers to while reducing code size and coupling. Common aspects handled with PostSharp include logging, exception handling, validation, caching, multithreading, transactions, and auditing.