Week of PostSharp, Day 3 – You are already using AOP

by Gael Fraiteur on 21 Aug 2013

The 'Week of PostSharp' is a joint promotion with Manning Publications where we highlight a new book each day that is special to us and hand-picked by the PostSharp team – with a small introduction about how it connects to what we are doing. We also collaborated with Manning to select a second book for each day of the week, and will be offering our choices at a 50% discount on their site! You can even read excerpts from some of the books online for free by clicking on the links below.

We hope you enjoy the deals! We’ll be adding new posts with the daily discount code throughout the week, so stay tuned.

I guess there’s a strange secret affair between Microsoft and Aspect-Oriented Programming. Never, ever has Microsoft used the word Aspect-Oriented Programming in its products. Yet, many products implement some of these concepts:

  • ASP.NET MVC (filters)
  • ASP.NET (modules)
  • WCF (custom behaviors)
  • Unity (interceptors)
  • Policy Injection Application Block (policy)
  • Base Class Library (transparent proxy, ContextBoundObject)

Thinking twice, it’s fair enough that Microsoft never called that aspect-oriented programming. After all, with the exception of ASP.NET MVC, these are quite purpose-specific implementations of one or two design patterns: pipes-and-filters, or proxies. But with ASP.NET MVC, they got pretty close.

Get convinced yourself with the books of the day which you can now purchase with a 50% discount - but hurry, the offering is valid only until August 22th, 12 midnight EST:


ASP.NET MVC 4 in Action is a hands-on guide that shows you how to apply ASP.NET MVC effectively. After a high-speed ramp up, this thoroughly revised new edition explores each key topic with a self-contained example so you can jump right to the parts you need. Based on thousands of hours of real-world experience, the authors show you valuable high-end techniques you won't find anywhere else. Written for developers, the book arms you with the next-level skills and practical guidance to create compelling web applications. You need some knowledge of ASP.NET and C#, but no prior ASP.NET MVC experience is assumed.

Download Free Chapter (PDF)   |   Purchase with 50% discount using the following discount code: pswkd3


ASP.NET in Practice distills over 100 practical ASP.NET techniques from the experience of a team of MVPs, and puts them right at your fingertips. The techniques are tested and selected for their usefulness, and they are all presented in a simple problem-solution-discussion format. You'll discover methods for key new subjects like data integration with Entity Framework and ASP.NET MVC. Along the way, you'll also find ways to make your applications fast and secure.

Download Free Chapter (PDF)   |   Purchase with 50% discount using the following discount code: pswkd3