PostSharp

Discover the benefits of
design pattern automation

  • simplify architecture using ready-made solutions
  • reduce code duplication and app complexity
  • add new functionality
PostSharp
PostSharp is software for professional .NET developers who want to focus more on business
logic, and less on repetitive code, through the use of design pattern automation.

PostSharp Aspect Framework

Build and inject custom design patterns into your .NET apps

The PostSharp Aspect Framework frees you from having to implement design patterns manually by enabling you to encapsulate them into classes and apply them to your code, automatically. With deeper Visual Studio integration plus first class support for Windows Store apps, Silverlight and Windows Phone, PostSharp adds even more value than ever to software engineering.

learn more

Features: Multicasting, Code Constructs, Method Decorator, Property & Field Interception, Intercept Event Access, Exception Handling, OnMethodBoundary, Enforce Proper Usage, Access Target Object

PostSharp Model Pattern Library

INotifyPropertyChanged and Code Contracts

The automatic property change notifications mechanism in the Model Pattern Library handles all standard business cases and generates exactly the right notifications at exactly the right time, keeping you focused on business logic instead of infrastructural issues.

learn more

Features: INotifyPropertyChanged, Code Contracts


PostSharp Diagnostics Pattern Library

Extensive logging without source code impact

Configure where logging should be performed and the Diagnostics Pattern Library takes over the task of automatically keeping your log entries in sync as you add, remove and refactor your codebase. Includes support for NLog, Log4Net, System.Console and System.Diagnostics.Trace backends.

learn more

Features: Detailed Tracing, Trace Parameter Values

PostSharp Threading Pattern Library

Multithreaded best practices for C# for VB

Implement a consistent and disciplined approach to multithreading by implementing best practice patterns with automated solutions that scale with large object models.

learn more

Features: UI Thread Dispatching, Prevent Concurrent Use, Reader/Writer Sync, Background Thread Execution, Deadlock Detection,
Actor Threading

PostSharp Architecture Framework

Enforcement of design rules and coding policies

Our advanced framework helps you simplify architecture and ensure your team stays focused on business logic by enabling you to enforce coding policies, best practices and more, automatically.

learn more

Features: Restrict Interface, Control Visibility, Restrict Access, Custom Constraints

Download PostSharp

Install PostSharp from Visual Studio Gallery. A single download includes all features of all editions.
After the 45-day trial, you can choose to buy the product or to stay with the free PostSharp Express.