Disclaimer

The views expressed on this weblog are mine alone and do not necessarily reflect the views of my employer, Avanade.

Search
Recomends...
  • Code Complete, Second Edition
    Code Complete, Second Edition
    by Steve McConnell
Login
« Using the Delegate Control to Add Meta Tags to SharePoint Pages | Main | Announcing Snip-It Pro »
Monday
Jan072008

Published in the February Issue of MSDN Magazine

I have been hard at work getting ready for the public beta of my first micro ISV product Snip-It Pro, a great snippet manager that helps you organize and make the best use of all your code snippets (It should be ready by the end of the month so sign up to be notified here). But I wanted to take a break from it to tell you all some great news. I just received my advanced copies of the February edition of MSDN Magazine which include an article titled "PIAB and WCF - Integrating the Policy Injection Application Block with WCF Services." I co-authored this article with an Avanade colleague of mine, Hugh Ang. You can read his blog here.

I actually came up with the idea for the article over the summer after spending some time looking at the Policy Injection Application Block (PIAB). I had previously helped co-author an article for the Microsoft Architecture Journal about how aspect oriented programming compliments soa.  I liked the policy and attribute based approach to aspects using the PIAB, but thought it wouldn't play well with Service frameworks like WCF since you needed to instantiate PIAB objects using a factory.

I was originally thinking about some sort of code generation approach to integrating the two, but after talking with Hugh about it, he was pretty sure we could integrate the with WCF behaviors. He whipped up some code and had a working prototype using a Contract Behavior attribute. I took it a bit further and figured out how to drive it through configuration using a custom end point behavior.

Anyway we collaborated on the article together and it has just been published. I am very happy as getting an article in msdn was a goal that I can happily say I met.

Next goal is to launch a successful micro ISV. Wish me luck!

PrintView Printer Friendly Version

EmailEmail Article to Friend

Reader Comments (3)

Congrats David on getting published - be sure to put a link on your about page, and good luck on starting your microISV
January 8, 2008 | Unregistered CommenterBob Walsh
This is a great article - thank you!

I was wondering if you figured out the problem that Tom Hollander was describing in his blog. I think we are experiencing a similar thing in production only (?!) and am hoping to get some ideas as to where to look for solutions. Our services are hosted in Windows Services and communicate with the front end via named pipes. I don't want to paste event logs here but if you get curious you can take a look at the samples I put out on codeplex - http://www.codeplex.com/entlib/Thread/View.aspx?ThreadId=28879.

Any comments and suggestions will be highly appreciated.

Val
June 3, 2008 | Unregistered CommenterVal Melamed
Tom sent me some sample code to repro, which I haven't found the time to step through extensively, but the issue he faced occurred when he was chaining services. Service A calls Service B calls Service C.

Is that what you are doing?

Also what policies are you using, and does turning them off fix your issues?
June 25, 2008 | Registered CommenterDavid San Filippo

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
All HTML will be escaped. Hyperlinks will be created for URLs automatically.