Friday, February 22, 2008

How "WCF Guy" packs

So, Brian Prince is leaving our company for Microsoft, and he's not the only one packing his stuff! Just so happens this is happening at a time when the whole company is moving to swanky new digs on the other side of the freeway.

Trust me, it's nicer than it sounds.

By way of documenting this, Brian has started a little Meme; how does <insert characteristic of you choice>guy pack.

I got tagged as the WCF guy (naturally) so I started thinking about how a WCF guy would pack. I quickly realized that I would probably want to do as much of it in configuration as possible.

Enjoy!

<?xml version="1.0" encoding="utf-8"?>
<
configuration>
<
system.PackingModel>
<
activities>
<
activity name="packing" behaviorConfiguration="packingBehavior">
<
container address="sittingOnADolly"
binding="box"
bindingConfiguration="providedMovingBoxes"
contract="IHoldsYourCrap"/>
</
activity>
</
activities>
<
bindings>
<
box>
<
binding name="providedMovingBoxes">
<
material plastic="true"/>
<
port mode="flipOpenTop"/>
<
transport mode="onADolly"/>
<
security mode="hopeNobodySeesAnythingTheyWantAndTakesIt"/>
</
binding>
</
box>
</
bindings>
<
behaviors>
<
packingBehaviors>
<
behavior name="packingBehavior">
<
breakableProtection bubbleWrapEnabled="true"/>
<
containerReturn returnContainer="true"
fineIfNotReturned="$45.00orSomething..."/>
<
bubbleWrapReturn returnBubbleWrap="true"
fineIfNotReturned="20Bucks?!"/>
</
behavior>
</
packingBehaviors>
</
behaviors>
</
system.PackingModel>
</
configuration>

I apologize for the weird layout. I'm in the process of making some "major" changes to accommodate stuff like this in the future.

No comments: