Improved support for ASP.NET in PostSharp 1.5 RC1

by Gael Fraiteur on 11 May 2009

I forgot to mention it in the last announcement: support for ASP.NET web sites has been polished and is now fairly easy. If you installed PostSharp on your machine using the installer, enabling it on your ASP.WEB web site project is done in two steps:

  • Add references to PostSharp.Public.dll, PostSharp.Laos.dll and PostSharp.AspNet.dll
  • Add the following stuff to your web.config:
<configuration>
<system.web>
<compilation
assemblyPostProcessorType="PostSharp.AspNet.AssemblyPostProcessor,
PostSharp.AspNet"/>
</system.web>
</configuration>

More details in the user guide.

Happy PostSharping!

-gael