Michael Hall will be giving an introduction to PostSharp at the Chicago Code Camp on May 30th.

Thank you, Mike, and good luck!


I am pleased to announce the third and last preview of PostSharp 1.5, available for download today.

Its most exiting feature: it is twice faster than PostSharp 1.0! PostSharp 1.5 CTP 3 includes all bug fixes of PostSharp 1.0 SP1. Except performance, this release does not bring any new feature, but went through some refactoring to solve design problems of CTP 2, and documents new features.

For those who still use 1.0, here is a summary of new features of 1.5:

Reading assemblies without loading them in the CLR
In version 1.0, PostSharp required assemblies to be loaded in the CLR (i.e. in the application domain) to be able to read them. This limitation belongs to the past. When PostSharp processes a Silverlight or a Compact Framework assembly, it is never loaded by the CLR.

Lazy loading of assemblies 
When PostSharp has to load a dependency assembly, it now reads only the metadata objects it really needs, resulting in a huge performance improvement and much lower memory consumption.

Performance optimizations
The code has been carefully profiled and optimized for maximal performance.

Support for Novell Mono
PostSharp is now truly cross-platform. Binaries compiled on the Microsoft platform can be executed under Novell Mono. Both Windows and Linux are tested and supported. A NAnt task makes it easier to use PostSharp in these environments.

Support for Silverlight 2.0 and the Compact Framework
You can add aspects to your projects targeting Silverlight 2.0 or the Compact Framework 2.0. 

Pluggable Aspect Serializer & Partial Trust
Previously, all aspects were serializer using the standard .NET binary formatter. It is now possible to choose another serializer or implement your own, and enhance assemblies that be executed with partial trust. 

The next release will be a release candidate; expect it in 1-2 months according to the pace of bug reports.

Happy PostSharping!


Thank you so much to all of you who have answered the survey. You have been 144 to give very valuable feedback. This is just  unexpected and very encouraging.

The results of the survey are very positive!

  • PostSharp is used by professionals in companies of all sizes, all over the world. Even very big ones!
  • PostSharp is used in production software by at least 30% of users. I think it is more, since survey invitations were skewed in favor of recent users (because users were not required to register before the beginning of January).
  • 98% of users consider that using PostSharp results in fewer lines of code and code of higher quality.
  • 90% of users consider that PostSharp is stable

Maybe the worse score is community visibility: only 61% of respondents considered that the project is well visible... to which I want to answer: go on, blog about it, talk about it in your UG, invite me if you can! The web site gets 86% of satisfaction with some negative remarks, mainly due to the problems we got with the recent launch of the new Joomla+phpbb system.

Another point requiring improvements is documentation: 77% consider that PostSharp is well documented, but 84% wishes better documentation. The most important feature for next versions is better run-time performance and library of ready-to-use aspects.

And finally, 70% of respondents declare themselves likely to buy a commercial version. Encouraging - although there can be of course a distance between intentions and acts!

But better read yourself:

Download PostSharp Community Survey 2009 Report (PDF)

Happy PostSharping!