Frees you from having to implement design patterns manually by enabling you to encapsulate them into classes and apply them to your code automatically.

Core Aspect Framework

Catch exceptions before they get passed to the client code with OnExceptionAspect. Read more.
Exception Handling
Intercept method executions and execute your own logic. Read more.
Method Interception
Add instructions before and after method execution. Read more.
Method Decorator
Automate code execution when a field or a property is get or set. Read more.
Property & Field Interception
Ensure that your aspect is being used where expected. Read more.
Build-Time Validation
Apply aspects to large codebases declaratively using custom attributes. Read more.
Attribute Multicasting
Frees you from having to implement design patterns manually by enabling you to encapsulate them into classes and apply them to your code automatically.

Advanced Aspect Framework

Add aspects to async methods and automatic iterators. Intercept OnYield and OnResume semantics.
Support for Async and Iterator Methods
Add aspects to a class/interface or abstract/virtual/interface method, and have the aspect automatically applied to implementations
Aspect Inheritance
Override Add, Remove and Raise methods in events with the EventInterceptionAspect. Read more.
Event Interception
Develop aspects composed of several primitive transformations and use advanced concepts such as pointcuts and advices. Read more.
Composite Aspects
Add aspects to large codebases programmatically using LINQ and System.Reflection. Read more.
Dynamic Aspect Providers
Have PostSharp analyze your aspects and just generate instructions that are necessary to support the features the aspects actually use.
Aspect Optimizer
Configure where logging should be performed and it automatically keeps your log entries in sync as you add, remove and refactor your codebase.

Diagnostics Pattern Library

$99 buy now
Add logging to your codebase and keep it in sync, automatically, with support for NLog, Log4Net, and Enterprise Library. Read more.
Detailed Tracing

50 methods per project

Ends having to manually implement property change notifications and keeps you focused on business logic.

Model Pattern Library

$149 buy now
Implement the right property change notifications at the right time, automatically. Read more.

10 classes per project

10 classes per project

Add precondition checking to your codebase using custom attributes. Read more.
Code Contracts
A library of best practice design patterns that enable you to build multithreaded .NET applications with less code and higher reliability.

Threading Pattern Library

$149 buy now
Simplify dispatching execution back and forth between background and foreground threads. Read more.
Thread Dispatching
Prohibit multiple threads from concurrently accessing an object. Throws an exception instead of allowing data corruption. Read more.
Exclusive Threading Model
Safely share objects between several threads and declare lock level semantically, using custom attributes. Read more.
Reader/Writer Synchronized Threading Model
Use Erlang-like actor-based multithreading in C# 5.0. Read more.
Actor Threading Model
Simplify the diagnosis of deadlocks in your project and never allow your application to freeze without an error message. Read more.
Deadlock Detection
Simplifies architecture and ensures your team stays focused on business logic by enabling you to enforce coding policies, best practices and more, automatically.

Architecture Framework

Get what System.Reflection does not give to you: programmatically browse used-using, parent-child, or member-type relationships at high speed using PostSharp's internal indexes. Read more.
Extended Reflection API
Decompile methods to Abstract Syntax Trees and perform finer analysis. Read more.
Syntax Tree Decompiler
Have a finer control over visibility of types and members. Read more.
Built-In Architecture Constraints
Enforce your own design rules. Read more.
Custom Architecture Constraints


Build applications targeting .NET Framework 2.0, 3.5, 4.0, or 4.5.
.NET Framework
Build applications targeting Silverlight 4.0 or 5.0.
Build applications targeting Windows Phone 7.5 or 8.0.
Windows Phone
Build applications targeting Windows Store 8 or 8.1.
Windows Store
Build portable class libraries 4.0, 4.5 or 4.6.
Portable Class Libraries

Visual Studio Integration

Immediately see which aspects are applied to the code you're editing thanks to code adornments and enhanced tooltips.
Code Editor Enhancements
See all aspects present in your solution and which declarations have been affected.
Aspect Browser
Simply double-click on an error message to get to the relevant line of source code.
File and Line Number of Error Messages


Use PostSharp for development of production/commercial software.
See licensing FAQ.
Commercial Use
Distribute PostSharp.dll and runtime libraries that need to run on end-user devices. See licensing FAQ.
Royalty-Free Redistribution of Runtimes
No time bomb. If you can use a specific version of PostSharp one day,
you can use it every day. See licensing FAQ.
Perpetual License


Get bug fixes and major releases during the duration of the subscription.
1 Year of Free Updates
Have your issues addressed with priority, use phone and desktop sharing (limited number of premium support cases available).
Premium Support
Prices for United States are quoted in USD. Change the currency.

Purchase Support


Reseller Partners

For orders from the United Kingdom and Ireland, feel free to contact our primary reseller partner in the area:

Grey Matter Ltd.
Grey Matter 2 Prigg Meadow
Ashburton, Devon, TQ13 7DF
United Kingdom
Tel:+44 (0)1364 654100

Contact our sales team if you're looking for a list of preferred resellers in your country.


Secure Order Processing by Avangate

Avangate is our e-commerce platform of choice for the secure order processing services they provide, ease of use and the number of payment methods they accept – from all major credit/debit cards to PayPal, bank transfers, check, FAX, purchase orders and more.

Money Back Guarantee

45-Day Money Back Guarantee

PostSharp is backed by a 45-day money back guarantee. If you are not fully satisfied with PostSharp’s ability to help you produce more versatile applications with fewer lines of code, we will give you your money back within 45-days of purchase. No questions asked.