BT

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

Topics

Choose your language

InfoQ Homepage News PostSharp Has Just Gotten Much Easier

PostSharp Has Just Gotten Much Easier

This item in japanese

PostSharp 3.0 brings with it deep integration with Visual Studio and NuGet. With a couple of mouse clicks PostSharp can apply aspects to a method in a clean project. All of the required packages for the aspect are automatically downloaded.

In some cases, additional information is needed. For example, adding a logging aspect for the first time will prompt the user for which logging framework they wish to use.

Depending on the framework chosen, some manual configuration may be needed. For example, Log4Net will still need a list of appenders in the app.config file.

A major concern with any Aspect Oriented Programming tool is the uncertainty about what the modified code will actually look like. PostSharp doesn’t offer a preview, but it can launch a third party decompiler such as ILSpy, dotPeek, or Reflector.

This is the first version of PostSharp that works with Windows Store, Windows Phone and Silverlight. Support for these frameworks is offered via Portable Class Libraries. In order to work around the lack of a binary serializer in those frameworks, PostSharp is offering their own PortableFormatter class.

Like many software vendors, PostSharp has decided to abandon the per-version pricing model. Developers on a budget can use the free version PostSharp Express. Those wanting more features will need to purchase a subscription that starts at $449 for Pro and $799 for the Ultimate Edition for one year. Additional years of support costs roughly 140 and 250/year respectively. Each license is per concurrent user, not per user, so licenses can be shared to some degree.

Rate this Article

Adoption
Style

BT