Instrumentation with PostSharp

Weave diagnostic capabilities into your application without modifying the underlying business logic.

Logging

Write out method calls, parameters, and other application state to your location of choice, such as a console, a file, or a network stream. You determine whether logging is controlled by a software switch or is enabled and disabled at build time.


PostSharp Develop with ascpects

Performance tracing

.NET performance monitoring tools are great, but few operate at the level of granularity that most developers require. With PostSharp, you can time the execution of critical methods and application execution paths to pinpoint performance bottlenecks at the method level.


Exception handling

While useful for debugging, exceptions in production can reveal sensitive application information if exposed to end users. Change exception handling and tracing behavior to track down defects in both development and production code.