<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>David Woods</title>
	<atom:link href="http://www.haveyougotwoods.ca/feed" rel="self" type="application/rss+xml" />
	<link>http://www.haveyougotwoods.ca</link>
	<description>Security, Tip, Tricks, Beer</description>
	<lastBuildDate>Sat, 12 Feb 2011 21:36:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Dropping my MVP</title>
		<link>http://www.haveyougotwoods.ca/2011/02/02/dropping-my-mvp</link>
		<comments>http://www.haveyougotwoods.ca/2011/02/02/dropping-my-mvp#comments</comments>
		<pubDate>Wed, 02 Feb 2011 16:06:11 +0000</pubDate>
		<dc:creator>david.woods</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Rants]]></category>

		<guid isPermaLink="false">http://haveyougotwoods.com/archive/2011/02/02/Dropping-my-MVP.aspx</guid>
		<description><![CDATA[I have decided to drop out of Microsoft’s Most Valuable Professional Program. I have decided this for many reasons. Mainly I feel the program has no value to me and that MVPs are of no value to MS. Experts MS states how they have these “experts” in the community and that are involved in the [...]]]></description>
			<content:encoded><![CDATA[<p><!--[if gte mso 9]><xml><br />
<o:OfficeDocumentSettings><br />
<o:AllowPNG /><br />
</o:OfficeDocumentSettings><br />
</xml><![endif]--><!--[if gte mso 9]><xml><br />
<w:WordDocument><br />
<w:View>Normal</w:View><br />
<w:Zoom>0</w:Zoom><br />
<w:TrackMoves /><br />
<w:TrackFormatting /><br />
<w:PunctuationKerning /><br />
<w:ValidateAgainstSchemas /><br />
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid><br />
<w:IgnoreMixedContent>false</w:IgnoreMixedContent><br />
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText><br />
<w:DoNotPromoteQF /><br />
<w:LidThemeOther>EN-US</w:LidThemeOther><br />
<w:LidThemeAsian>X-NONE</w:LidThemeAsian><br />
<w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript><br />
<w:Compatibility><br />
<w:BreakWrappedTables /><br />
<w:SnapToGridInCell /><br />
<w:WrapTextWithPunct /><br />
<w:UseAsianBreakRules /><br />
<w:DontGrowAutofit /><br />
<w:SplitPgBreakAndParaMark /><br />
<w:EnableOpenTypeKerning /><br />
<w:DontFlipMirrorIndents /><br />
<w:OverrideTableStyleHps /><br />
</w:Compatibility><br />
<m:mathPr><br />
<m:mathFont m:val="Cambria Math" /><br />
<m:brkBin m:val="before" /><br />
<m:brkBinSub m:val="&#45;-" /><br />
<m:smallFrac m:val="off" /><br />
<m:dispDef /><br />
<m:lMargin m:val="0" /><br />
<m:rMargin m:val="0" /><br />
<m:defJc m:val="centerGroup" /><br />
<m:wrapIndent m:val="1440" /><br />
<m:intLim m:val="subSup" /><br />
<m:naryLim m:val="undOvr" /><br />
</m:mathPr></w:WordDocument><br />
</xml><![endif]--><!--[if gte mso 9]><xml><br />
<w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"<br />
DefSemiHidden="true" DefQFormat="false" DefPriority="99"<br />
LatentStyleCount="267"><br />
<w:LsdException Locked="false" Priority="0" SemiHidden="false"<br />
UnhideWhenUsed="false" QFormat="true" Name="Normal" /><br />
<w:LsdException Locked="false" Priority="9" SemiHidden="false"<br />
UnhideWhenUsed="false" QFormat="true" Name="heading 1" /><br />
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2" /><br />
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3" /><br />
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4" /><br />
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5" /><br />
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6" /><br />
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7" /><br />
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8" /><br />
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9" /><br />
<w:LsdException Locked="false" Priority="39" Name="toc 1" /><br />
<w:LsdException Locked="false" Priority="39" Name="toc 2" /><br />
<w:LsdException Locked="false" Priority="39" Name="toc 3" /><br />
<w:LsdException Locked="false" Priority="39" Name="toc 4" /><br />
<w:LsdException Locked="false" Priority="39" Name="toc 5" /><br />
<w:LsdException Locked="false" Priority="39" Name="toc 6" /><br />
<w:LsdException Locked="false" Priority="39" Name="toc 7" /><br />
<w:LsdException Locked="false" Priority="39" Name="toc 8" /><br />
<w:LsdException Locked="false" Priority="39" Name="toc 9" /><br />
<w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption" /><br />
<w:LsdException Locked="false" Priority="10" SemiHidden="false"<br />
UnhideWhenUsed="false" QFormat="true" Name="Title" /><br />
<w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font" /><br />
<w:LsdException Locked="false" Priority="11" SemiHidden="false"<br />
UnhideWhenUsed="false" QFormat="true" Name="Subtitle" /><br />
<w:LsdException Locked="false" Priority="22" SemiHidden="false"<br />
UnhideWhenUsed="false" QFormat="true" Name="Strong" /><br />
<w:LsdException Locked="false" Priority="20" SemiHidden="false"<br />
UnhideWhenUsed="false" QFormat="true" Name="Emphasis" /><br />
<w:LsdException Locked="false" Priority="59" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Table Grid" /><br />
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text" /><br />
<w:LsdException Locked="false" Priority="1" SemiHidden="false"<br />
UnhideWhenUsed="false" QFormat="true" Name="No Spacing" /><br />
<w:LsdException Locked="false" Priority="60" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light Shading" /><br />
<w:LsdException Locked="false" Priority="61" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light List" /><br />
<w:LsdException Locked="false" Priority="62" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light Grid" /><br />
<w:LsdException Locked="false" Priority="63" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Shading 1" /><br />
<w:LsdException Locked="false" Priority="64" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Shading 2" /><br />
<w:LsdException Locked="false" Priority="65" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium List 1" /><br />
<w:LsdException Locked="false" Priority="66" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium List 2" /><br />
<w:LsdException Locked="false" Priority="67" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 1" /><br />
<w:LsdException Locked="false" Priority="68" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 2" /><br />
<w:LsdException Locked="false" Priority="69" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 3" /><br />
<w:LsdException Locked="false" Priority="70" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Dark List" /><br />
<w:LsdException Locked="false" Priority="71" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful Shading" /><br />
<w:LsdException Locked="false" Priority="72" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful List" /><br />
<w:LsdException Locked="false" Priority="73" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful Grid" /><br />
<w:LsdException Locked="false" Priority="60" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light Shading Accent 1" /><br />
<w:LsdException Locked="false" Priority="61" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light List Accent 1" /><br />
<w:LsdException Locked="false" Priority="62" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light Grid Accent 1" /><br />
<w:LsdException Locked="false" Priority="63" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1" /><br />
<w:LsdException Locked="false" Priority="64" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1" /><br />
<w:LsdException Locked="false" Priority="65" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium List 1 Accent 1" /><br />
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision" /><br />
<w:LsdException Locked="false" Priority="34" SemiHidden="false"<br />
UnhideWhenUsed="false" QFormat="true" Name="List Paragraph" /><br />
<w:LsdException Locked="false" Priority="29" SemiHidden="false"<br />
UnhideWhenUsed="false" QFormat="true" Name="Quote" /><br />
<w:LsdException Locked="false" Priority="30" SemiHidden="false"<br />
UnhideWhenUsed="false" QFormat="true" Name="Intense Quote" /><br />
<w:LsdException Locked="false" Priority="66" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium List 2 Accent 1" /><br />
<w:LsdException Locked="false" Priority="67" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1" /><br />
<w:LsdException Locked="false" Priority="68" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1" /><br />
<w:LsdException Locked="false" Priority="69" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1" /><br />
<w:LsdException Locked="false" Priority="70" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Dark List Accent 1" /><br />
<w:LsdException Locked="false" Priority="71" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful Shading Accent 1" /><br />
<w:LsdException Locked="false" Priority="72" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful List Accent 1" /><br />
<w:LsdException Locked="false" Priority="73" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful Grid Accent 1" /><br />
<w:LsdException Locked="false" Priority="60" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light Shading Accent 2" /><br />
<w:LsdException Locked="false" Priority="61" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light List Accent 2" /><br />
<w:LsdException Locked="false" Priority="62" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light Grid Accent 2" /><br />
<w:LsdException Locked="false" Priority="63" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2" /><br />
<w:LsdException Locked="false" Priority="64" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2" /><br />
<w:LsdException Locked="false" Priority="65" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium List 1 Accent 2" /><br />
<w:LsdException Locked="false" Priority="66" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium List 2 Accent 2" /><br />
<w:LsdException Locked="false" Priority="67" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2" /><br />
<w:LsdException Locked="false" Priority="68" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2" /><br />
<w:LsdException Locked="false" Priority="69" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2" /><br />
<w:LsdException Locked="false" Priority="70" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Dark List Accent 2" /><br />
<w:LsdException Locked="false" Priority="71" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful Shading Accent 2" /><br />
<w:LsdException Locked="false" Priority="72" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful List Accent 2" /><br />
<w:LsdException Locked="false" Priority="73" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful Grid Accent 2" /><br />
<w:LsdException Locked="false" Priority="60" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light Shading Accent 3" /><br />
<w:LsdException Locked="false" Priority="61" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light List Accent 3" /><br />
<w:LsdException Locked="false" Priority="62" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light Grid Accent 3" /><br />
<w:LsdException Locked="false" Priority="63" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3" /><br />
<w:LsdException Locked="false" Priority="64" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3" /><br />
<w:LsdException Locked="false" Priority="65" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium List 1 Accent 3" /><br />
<w:LsdException Locked="false" Priority="66" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium List 2 Accent 3" /><br />
<w:LsdException Locked="false" Priority="67" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3" /><br />
<w:LsdException Locked="false" Priority="68" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3" /><br />
<w:LsdException Locked="false" Priority="69" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3" /><br />
<w:LsdException Locked="false" Priority="70" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Dark List Accent 3" /><br />
<w:LsdException Locked="false" Priority="71" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful Shading Accent 3" /><br />
<w:LsdException Locked="false" Priority="72" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful List Accent 3" /><br />
<w:LsdException Locked="false" Priority="73" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful Grid Accent 3" /><br />
<w:LsdException Locked="false" Priority="60" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light Shading Accent 4" /><br />
<w:LsdException Locked="false" Priority="61" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light List Accent 4" /><br />
<w:LsdException Locked="false" Priority="62" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light Grid Accent 4" /><br />
<w:LsdException Locked="false" Priority="63" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4" /><br />
<w:LsdException Locked="false" Priority="64" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4" /><br />
<w:LsdException Locked="false" Priority="65" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium List 1 Accent 4" /><br />
<w:LsdException Locked="false" Priority="66" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium List 2 Accent 4" /><br />
<w:LsdException Locked="false" Priority="67" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4" /><br />
<w:LsdException Locked="false" Priority="68" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4" /><br />
<w:LsdException Locked="false" Priority="69" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4" /><br />
<w:LsdException Locked="false" Priority="70" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Dark List Accent 4" /><br />
<w:LsdException Locked="false" Priority="71" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful Shading Accent 4" /><br />
<w:LsdException Locked="false" Priority="72" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful List Accent 4" /><br />
<w:LsdException Locked="false" Priority="73" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful Grid Accent 4" /><br />
<w:LsdException Locked="false" Priority="60" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light Shading Accent 5" /><br />
<w:LsdException Locked="false" Priority="61" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light List Accent 5" /><br />
<w:LsdException Locked="false" Priority="62" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light Grid Accent 5" /><br />
<w:LsdException Locked="false" Priority="63" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5" /><br />
<w:LsdException Locked="false" Priority="64" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5" /><br />
<w:LsdException Locked="false" Priority="65" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium List 1 Accent 5" /><br />
<w:LsdException Locked="false" Priority="66" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium List 2 Accent 5" /><br />
<w:LsdException Locked="false" Priority="67" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5" /><br />
<w:LsdException Locked="false" Priority="68" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5" /><br />
<w:LsdException Locked="false" Priority="69" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5" /><br />
<w:LsdException Locked="false" Priority="70" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Dark List Accent 5" /><br />
<w:LsdException Locked="false" Priority="71" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful Shading Accent 5" /><br />
<w:LsdException Locked="false" Priority="72" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful List Accent 5" /><br />
<w:LsdException Locked="false" Priority="73" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful Grid Accent 5" /><br />
<w:LsdException Locked="false" Priority="60" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light Shading Accent 6" /><br />
<w:LsdException Locked="false" Priority="61" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light List Accent 6" /><br />
<w:LsdException Locked="false" Priority="62" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light Grid Accent 6" /><br />
<w:LsdException Locked="false" Priority="63" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6" /><br />
<w:LsdException Locked="false" Priority="64" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6" /><br />
<w:LsdException Locked="false" Priority="65" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium List 1 Accent 6" /><br />
<w:LsdException Locked="false" Priority="66" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium List 2 Accent 6" /><br />
<w:LsdException Locked="false" Priority="67" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6" /><br />
<w:LsdException Locked="false" Priority="68" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6" /><br />
<w:LsdException Locked="false" Priority="69" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6" /><br />
<w:LsdException Locked="false" Priority="70" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Dark List Accent 6" /><br />
<w:LsdException Locked="false" Priority="71" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful Shading Accent 6" /><br />
<w:LsdException Locked="false" Priority="72" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful List Accent 6" /><br />
<w:LsdException Locked="false" Priority="73" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful Grid Accent 6" /><br />
<w:LsdException Locked="false" Priority="19" SemiHidden="false"<br />
UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis" /><br />
<w:LsdException Locked="false" Priority="21" SemiHidden="false"<br />
UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis" /><br />
<w:LsdException Locked="false" Priority="31" SemiHidden="false"<br />
UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference" /><br />
<w:LsdException Locked="false" Priority="32" SemiHidden="false"<br />
UnhideWhenUsed="false" QFormat="true" Name="Intense Reference" /><br />
<w:LsdException Locked="false" Priority="33" SemiHidden="false"<br />
UnhideWhenUsed="false" QFormat="true" Name="Book Title" /><br />
<w:LsdException Locked="false" Priority="37" Name="Bibliography" /><br />
<w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading" /><br />
</w:LatentStyles><br />
</xml><![endif]--><!--[if gte mso 10]></p>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin-top:0in;
mso-para-margin-right:0in;
mso-para-margin-bottom:10.0pt;
mso-para-margin-left:0in;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}
</style>
<p><![endif]--></p>
<p class="MsoNormal">I have decided to drop out of Microsoft’s Most Valuable Professional Program. I have decided this for many reasons. Mainly I feel the program has no value to me and that MVPs are of no value to MS. </p>
<p class="MsoNormal"><strong style="">Experts</strong></p>
<p class="MsoNormal">MS states how they have these “experts” in the community and that are involved in the products. While I have met some really smart MVPs I have also met some that are so out to lunch on things yet MS still considers them experts. To me this completely devalues the MVP program. I am definitely no exception to this. I am a MVP in developer security yet I don’t consider myself to be an expert. Interested yes. Expert no. </p>
<p class="MsoNormal">The way you get in is by contributing to the community. I had done lots of this and it was really nice to get recognized for it. Once you are in you are supposed to be this expert that provides feedback to the products that MS is building. Now this is where the program breaks down.</p>
<p class="MsoNormal"><strong style="">Products</strong></p>
<p class="MsoNormal">Firstly most products you never hear about until it is too late. I hear about more MS technology from the mainstream media than I do from the MVP program. As a MVP who is supposed to be like an insider I thought that they would be looking to us for feedback on these technologies. But they don’t. They will take it after the product is released though but by then there are usually too many issues with the technology to be overcome.</p>
<p class="MsoNormal">While some products are great there are a big few that still irritate me:</p>
<p class="MsoNormal"><span style=""> </span>TFS is garbage if you have used anything else. I should never have to struggle to get things under source control as much as I have with this product. I should never have to struggle for days/weeks to install it. I should never have so much trouble configuring it or applying checkin policies. If any MVP worth their salt was asked about this then MS should know this. </p>
<p class="MsoNormal">MSBuild is another failed technology to me. It does not come close to the power of Nant so if I am going to pay the XML tax I will pay it with Nant. I will say that it is nice that proj files are msbuild files yet whenever I have had to customize my builds with MSBuild I want to hurt myself. At first I thought it was the learning curve but to me the product just does not meet my needs. Again if an MVP that uses a build technology was asked then MS would have known about this.</p>
<p class="MsoNormal">MSTest also missed the mark to me when they said it was not geared towards people who do TDD. Really? No one else does TDD? I am the only MVP that does? I think not.</p>
<p class="MsoNormal">The big one that continues to bug me is Entity Framework. At the ‘08 MVP summit a lot of the MVPs that saw it before it was announced pointed out the serious issues it has. At the ‘09 summit we were excited to see the improvements they had made but instead we were shown the same crap that was the ‘08 entity framework. This spawned off the Entity Framework Vote Of Non Confidence and finally in ’11 we have some of the changes that we said were so needed in ’08. Good job valuing the input of the people that actually have to use the crap you put out. </p>
<p class="MsoNormal"><strong style="">MS “Listens”/”Cares”</strong></p>
<p class="MsoNormal">To me it seems that MS having MVPs is a way for MS to feel that they are in touch with the community at large. This is great for a company to do but it seems like the feedback that is given falls on deaf ears for many products. I am not saying that this is for all products though as some do really care about feedback. For the most part though it feels like any feedback given just falls into a void. When I asked for some contacts for TFS/MSBuild/MSTest I was told to send my feedback to my MVP lead and they would forward it on…. Because that is open. You want MVPs to be involved yet filtered (I felt anyways). I have had more interaction with MS staff by tweeting things that I have through the MVP program.</p>
<p class="MsoNormal">The other big issue I have with MS in general is being treated like we will jump through hoops to help them succeed. There have been a number of “tech x is launching in a few weeks so build something” so we can showcase it emails I have received. Well that is great but how am I going to build a good app on a new technology with little documentation and no access to anyone at MS who can give me some accurate answers to issues? I understand that MS staff are not there to troubleshoot my application but on new/unreleased technology it would be good to have some sort of access if only an internal message board.</p>
<p class="MsoNormal">There are some internal lists at MS for MVPs as well. I found out about the security one after being a security MVP<span style="">  </span>for OVER A YEAR. Now that I am on it…. Not much happens. There is little in the way of solicitation for feedback and there is little feedback provided. I assume this is because the security space is pretty quiet but then I am surprised to see things at the summit that I had no idea were being developed.</p>
<p class="MsoNormal">The most surprising thing to me was when I told my MVP lead that I was not interested in participating in the program. The response was: “No problem.  Thanks for letting me know Dave.  Good luck in the future”. I expected maybe a bit more of a “Why?” response but I am not surprised that MS does not care about what other people think. Maybe, because I have become harder on MS that they are happy to be rid of me. Who knows.</p>
<p class="MsoNormal">Maybe I am being hard on the program. Our MVP lead is great and tells us that whatever we need he will make happen. Great but how about you let us know some of the things that you can do for us? If you want something like WP7 to succeed get more than 5 dev phones and let us know you have them if we want to build applications. If MS is thinking of a new technology solicit the MVPs for people that use or have an interest in the new tech and get their feedback at the START of development instead of at the end.</p>
<p class="MsoNormal"><strong style="">Rewards</strong></p>
<p class="MsoNormal">The MVP award is given to those that contribute to the community. I enjoy doing this and I will continue to do this whenever I can. Unfortunately it costs a lot of time and money to contribute to the community. If I give a talk I have spent 40 to 200 hours preparing (yes 200 hours on a 1 hour talk) plus the costs to travel to another city, food, and accommodation. <span style=""> </span>MS’s reward is a MSDN subscription and half of a hotel room if I attend the summit (there used to be more benefits but they have been rolled back to save costs). It would probably be more affordable for me to purchase an MSDN subscription on my own and stop speaking entirely. I have gained no additional work from the MVP program, no additional speaking gigs, and have not made relatively few connections to others because of the MVP program.</p>
<p class="MsoNormal"><strong style="">Fin</strong></p>
<p class="MsoNormal">The program has become a black mark to me. It does not contain just experts (heck, they let me in). It does not certify that anyone has a clue about anything (and some of the MVP only lists prove this). It has not opened any doors for me. It does not help me stop MS from releasing crap that I have to work with. All it does for me is give me an MSDN subscription and another line on my resume. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.haveyougotwoods.ca/2011/02/02/dropping-my-mvp/feed</wfw:commentRss>
		<slash:comments>60</slash:comments>
		</item>
		<item>
		<title>Security Trends</title>
		<link>http://www.haveyougotwoods.ca/2010/12/29/security-trends</link>
		<comments>http://www.haveyougotwoods.ca/2010/12/29/security-trends#comments</comments>
		<pubDate>Wed, 29 Dec 2010 22:29:46 +0000</pubDate>
		<dc:creator>david.woods</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://haveyougotwoods.com/archive/2011/01/10/Security-Trends.aspx</guid>
		<description><![CDATA[I have been around computers for most of my life and for the past ten years I have been involved in corporate IT on both the network side and the programming side. I was reflecting on some of the changes and trends over the past decade and thought I would share them. We have realized [...]]]></description>
			<content:encoded><![CDATA[<p>I have been around computers for most of my life and for the past ten years I have been involved in corporate IT on both the network side and the programming side. I was reflecting on some of the changes and trends over the past decade and thought I would share them.</p>
<ol>
<li>We have realized that network security is important. Every organization I visit seems to have a firewall, antivirus, and windows updates turned on. Ten years ago it was every computer was connected straight to the internet with an exposed c$ share it seems like. Finally most corporate (and many home users) seem to have taken some basic security measures.
    </li>
<li>Users still click on anything that pops up on the screen until they get the application/website to work. I have tried to educate people on this but it has become apparent to many of us in the industry that users just want things to work and it only when they go wrong that they care. For instance, my parents install every plugin they are prompted to as they feel that if it was bad their antivirus would catch it. I don&#8217;t fault them for it, it is just human nature. We expect the locks on our house to keep people out when it is simple to smash a window (or cut a hole in the wall). We are coming around the corner on this one and seeing that we can&#8217;t educate everyone and things need to just be more secure by default and leak less information.</li>
<li>People care a lot more about their privacy now. People also don&#8217;t realize that most places gathering information don&#8217;t care about you as a person, they care about you as a demographic. Granted it is not a happy thought to know how much info about you is floating around but if it personalizes my searches and shows me advertisements for things I am interested in so what? It is only an issue (to me) if that information is used for nefarious purposes.</li>
<li>Many more technologies are shipping with a more &#8220;secure by default&#8221; mentality. The *nix/bsd attitude has been like this since I can remember and Microsoft has really turned a corner and secured their products. I remember when a new client would tell us they were running an IIS server and we would just laugh, wipe the box, and install FreeBSD/Apache for them. Nowdays I only laugh when people have an Adobe product installed (we all do&#8230; so ha ha). Adobe has realized that this is starting to hurt them and are making a big security push like MS did years ago. 
    </li>
<li>Schools have not taught about security and they still don&#8217;t. I see a bit of growth in this area but I feel this is incredibly lacking. Every time I give a presentation and ask how many people don&#8217;t know about SQL injection someone still raises their hands. It is not acceptable to have developers that don&#8217;t even know about the most basic/common security holes and how to prevent them. It is like hiring an electrician that does not know how to use a circuit breaker: they might get by for years without an incident but it is bound to happen eventually.</li>
<li>Phishing/scams/chain letters has risen and fallen a lot. I find most people I talk to realize that people are trying to scam them (or will ask others to see if it is a scam) and that they know if they don&#8217;t forward this message to ten other people a kitten will die (except for my sister). </li>
<li>Piracy became common place. Back in the day it was technically difficult to find the software/music/movies and then crack it if necessary. Now my grandma can run a P2P client (or the vast array of other tools) to get her favorite songs. It is common place and it is sad. Not because I love big rich Hollywood types that complain about the money being stolen from them as they drive through Starbucks in a gold plated Bently. It is the fact that for such a huge market that they continually fail to make it simple to get the content we want quickly, conveniently, and be able to use it how we see fit. If I ran an ice cream store and everyone wanted paint flavored ice cream served off a piece of copper pipe you would see me at the hardware store every day. I think they are starting to get it and I hope to see some progress there so that everyone is happy (except me&#8230;. until I get a gold plated Starbucks).</li>
<li>The goal of software development was and still is for the most part to deliver working software. Security takes a huge back seat and is almost never a first class citizen. I don&#8217;t see this trend changing much. The nice thing is that many languages are shipping in a more secure configuration which helps developers not leave as many gaping holes but I still feel that education is very important for developers.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.haveyougotwoods.ca/2010/12/29/security-trends/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fluent Build &#8211; Unreleased Features</title>
		<link>http://www.haveyougotwoods.ca/2010/12/24/fluent-build-unreleased-features</link>
		<comments>http://www.haveyougotwoods.ca/2010/12/24/fluent-build-unreleased-features#comments</comments>
		<pubDate>Fri, 24 Dec 2010 04:45:59 +0000</pubDate>
		<dc:creator>david.woods</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://haveyougotwoods.com/archive/2011/01/05/Fluent-Build-Unreleased-Features.aspx</guid>
		<description><![CDATA[There are some features not included with the current beta but are available if you download from source. TeamCityPlugin This is a plugin that I wrote that allows TeamCity to work with FluentBuild. TeamCity plugins are written in Java and I am not a Java developer but it seems to work quite well in my [...]]]></description>
			<content:encoded><![CDATA[<p>There are some features not included with the current beta but are available if you download from source.</p>
<p><span style="font-weight: bold;">TeamCityPlugin</span><br />
This is a plugin that I wrote that allows TeamCity to work with FluentBuild. TeamCity plugins are written in Java and I am not a Java developer but it seems to work quite well in my environment(s) so far but I am still not 100% confident to officially release it. </p>
<p><span style="font-weight: bold;">BuildFileConverter</span><br />
For my testing I was converting peoples NAnt scripts by hand and it started to get pretty tedious. I decided to create a really quick and dirty converter application. The application works fairly well to get the initial conversion from nant to FB. It will create your variables (and attempting to determine if they are BuildFolders or BuildArtifacts), initialize them, and create methods for each build target that you had. It does not parse build targets and convert them to FB syntax yet though.</p>
<p><span style="font-weight: bold;">BuildUI</span><br />
I always found reading output on the command line was a pain so I started working on a UI component to run builds. It is in its very early stages but it is much nicer than using most command line applications I hope.</p>
<p>Where these features will go, I am not sure but if you want to play around with them then feel free.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.haveyougotwoods.ca/2010/12/24/fluent-build-unreleased-features/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fluent Build Beta</title>
		<link>http://www.haveyougotwoods.ca/2010/12/19/fluent-build-beta</link>
		<comments>http://www.haveyougotwoods.ca/2010/12/19/fluent-build-beta#comments</comments>
		<pubDate>Sun, 19 Dec 2010 21:50:32 +0000</pubDate>
		<dc:creator>david.woods</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://haveyougotwoods.com/archive/2010/12/19/Fluent-Build-Beta.aspx</guid>
		<description><![CDATA[swfobject.registerObject("csSWF", "9.0.115", "/images/haveyougotwoods_com/FluentBuildDemo1_0_Beta/expressInstall.swf"); For those of you that follow me on twitter (@gotwoods is my handle) you may have seen that I have been working on a new open source project called FluentBuild which I am happy to announce is in Beta. This project has kept me quite busy lately but the core of the [...]]]></description>
			<content:encoded><![CDATA[<p><script type="text/javascript" src="/images/haveyougotwoods_com/FluentBuildDemo1_0_Beta/swfobject.js"></script>           <script type="text/javascript">
            swfobject.registerObject("csSWF", "9.0.115", "/images/haveyougotwoods_com/FluentBuildDemo1_0_Beta/expressInstall.swf");
</script>     For those of you that follow me on twitter (@gotwoods is my handle) you may have seen that I have been working on a new open source project called FluentBuild which I am happy to announce is in Beta. This project has kept me quite busy lately but the core of the app is now done.</p>
<p>FluentBuild is a .NET fluent language around builds. It makes doing builds way easier than in Nant, MsBuild, and (in my mind) other build languages. With it you can now write a build file in C# (other language support on the way) within visual studio which allows you to get intellisense, refactoring support, and you are even able to debug your build files.</p>
<p>The project site is <a href="javascript:void(0);/*1292794701117*/">http://code.google.com/p/fluent-build/</a></p>
<p>I just finished putting together a demo video. I recorded my screen at high resolution so full screen viewing is recommended and the volume recorded a bit loud so turn down your speakers to start.</p>
<div id="media">               <object width="800" height="600" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="csSWF"><param name="movie" value="/images/haveyougotwoods_com/FluentBuildDemo1_0_Beta/Untitled_controller.swf" /><param name="quality" value="best" /><param name="bgcolor" value="#1a1a1a" /><param name="allowfullscreen" value="true" /><param name="scale" value="showall" /><param name="allowscriptaccess" value="always" /><param name="flashvars" value="autostart=false&amp;thumb=/images/haveyougotwoods_com/FluentBuildDemo1_0_Beta/FirstFrame.png&amp;thumbscale=45&amp;color=0x000000,0x000000" /><!--[if !IE]>&#8211;>                   <object width="800" height="600" type="application/x-shockwave-flash" data="/images/haveyougotwoods_com/FluentBuildDemo1_0_Beta/Untitled_controller.swf"><param name="quality" value="best" /><param name="bgcolor" value="#1a1a1a" /><param name="allowfullscreen" value="true" /><param name="scale" value="showall" /><param name="allowscriptaccess" value="always" /><param name="flashvars" value="autostart=false&amp;thumb=/images/haveyougotwoods_com/FluentBuildDemo1_0_Beta/FirstFrame.png&amp;thumbscale=45&amp;color=0x000000,0x000000" /><!--<![endif]--> <!--[if !IE]>&#8211;>                  </object>                  <!--<![endif]-->              </object>          </div>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://www.haveyougotwoods.ca/2010/12/19/fluent-build-beta/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WCF Security &#8211; Part 1: Message &amp; Transport Security</title>
		<link>http://www.haveyougotwoods.ca/2010/12/16/wcf-security-part-1-message-transport-security</link>
		<comments>http://www.haveyougotwoods.ca/2010/12/16/wcf-security-part-1-message-transport-security#comments</comments>
		<pubDate>Thu, 16 Dec 2010 22:00:02 +0000</pubDate>
		<dc:creator>david.woods</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[WCF]]></category>

		<guid isPermaLink="false">http://haveyougotwoods.com/archive/2010/12/16/319.aspx</guid>
		<description><![CDATA[WCF has a huge security component to it (as rightly it should). The technology is massively configurable to support almost any security scenario one can dream up. Unfortunately this also makes it massively hard to learn and implement successfully and many developers tend to work around the security rather than learn how to implement it [...]]]></description>
			<content:encoded><![CDATA[<p><!--[if gte mso 9]><xml><br />
<o:OfficeDocumentSettings><br />
<o:RelyOnVML /><br />
<o:AllowPNG /><br />
</o:OfficeDocumentSettings><br />
</xml><![endif]--><!--[if gte mso 9]><xml><br />
<w:WordDocument><br />
<w:View>Normal</w:View><br />
<w:Zoom>0</w:Zoom><br />
<w:TrackMoves /><br />
<w:TrackFormatting /><br />
<w:PunctuationKerning /><br />
<w:ValidateAgainstSchemas /><br />
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid><br />
<w:IgnoreMixedContent>false</w:IgnoreMixedContent><br />
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText><br />
<w:DoNotPromoteQF /><br />
<w:LidThemeOther>EN-US</w:LidThemeOther><br />
<w:LidThemeAsian>X-NONE</w:LidThemeAsian><br />
<w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript><br />
<w:Compatibility><br />
<w:BreakWrappedTables /><br />
<w:SnapToGridInCell /><br />
<w:WrapTextWithPunct /><br />
<w:UseAsianBreakRules /><br />
<w:DontGrowAutofit /><br />
<w:SplitPgBreakAndParaMark /><br />
<w:EnableOpenTypeKerning /><br />
<w:DontFlipMirrorIndents /><br />
<w:OverrideTableStyleHps /><br />
</w:Compatibility><br />
<m:mathPr><br />
<m:mathFont m:val="Cambria Math" /><br />
<m:brkBin m:val="before" /><br />
<m:brkBinSub m:val="&#45;-" /><br />
<m:smallFrac m:val="off" /><br />
<m:dispDef /><br />
<m:lMargin m:val="0" /><br />
<m:rMargin m:val="0" /><br />
<m:defJc m:val="centerGroup" /><br />
<m:wrapIndent m:val="1440" /><br />
<m:intLim m:val="subSup" /><br />
<m:naryLim m:val="undOvr" /><br />
</m:mathPr></w:WordDocument><br />
</xml><![endif]--><!--[if gte mso 9]><xml><br />
<w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"<br />
DefSemiHidden="true" DefQFormat="false" DefPriority="99"<br />
LatentStyleCount="267"><br />
<w:LsdException Locked="false" Priority="0" SemiHidden="false"<br />
UnhideWhenUsed="false" QFormat="true" Name="Normal" /><br />
<w:LsdException Locked="false" Priority="9" SemiHidden="false"<br />
UnhideWhenUsed="false" QFormat="true" Name="heading 1" /><br />
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2" /><br />
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3" /><br />
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4" /><br />
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5" /><br />
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6" /><br />
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7" /><br />
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8" /><br />
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9" /><br />
<w:LsdException Locked="false" Priority="39" Name="toc 1" /><br />
<w:LsdException Locked="false" Priority="39" Name="toc 2" /><br />
<w:LsdException Locked="false" Priority="39" Name="toc 3" /><br />
<w:LsdException Locked="false" Priority="39" Name="toc 4" /><br />
<w:LsdException Locked="false" Priority="39" Name="toc 5" /><br />
<w:LsdException Locked="false" Priority="39" Name="toc 6" /><br />
<w:LsdException Locked="false" Priority="39" Name="toc 7" /><br />
<w:LsdException Locked="false" Priority="39" Name="toc 8" /><br />
<w:LsdException Locked="false" Priority="39" Name="toc 9" /><br />
<w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption" /><br />
<w:LsdException Locked="false" Priority="10" SemiHidden="false"<br />
UnhideWhenUsed="false" QFormat="true" Name="Title" /><br />
<w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font" /><br />
<w:LsdException Locked="false" Priority="11" SemiHidden="false"<br />
UnhideWhenUsed="false" QFormat="true" Name="Subtitle" /><br />
<w:LsdException Locked="false" Priority="22" SemiHidden="false"<br />
UnhideWhenUsed="false" QFormat="true" Name="Strong" /><br />
<w:LsdException Locked="false" Priority="20" SemiHidden="false"<br />
UnhideWhenUsed="false" QFormat="true" Name="Emphasis" /><br />
<w:LsdException Locked="false" Priority="59" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Table Grid" /><br />
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text" /><br />
<w:LsdException Locked="false" Priority="1" SemiHidden="false"<br />
UnhideWhenUsed="false" QFormat="true" Name="No Spacing" /><br />
<w:LsdException Locked="false" Priority="60" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light Shading" /><br />
<w:LsdException Locked="false" Priority="61" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light List" /><br />
<w:LsdException Locked="false" Priority="62" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light Grid" /><br />
<w:LsdException Locked="false" Priority="63" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Shading 1" /><br />
<w:LsdException Locked="false" Priority="64" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Shading 2" /><br />
<w:LsdException Locked="false" Priority="65" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium List 1" /><br />
<w:LsdException Locked="false" Priority="66" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium List 2" /><br />
<w:LsdException Locked="false" Priority="67" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 1" /><br />
<w:LsdException Locked="false" Priority="68" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 2" /><br />
<w:LsdException Locked="false" Priority="69" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 3" /><br />
<w:LsdException Locked="false" Priority="70" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Dark List" /><br />
<w:LsdException Locked="false" Priority="71" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful Shading" /><br />
<w:LsdException Locked="false" Priority="72" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful List" /><br />
<w:LsdException Locked="false" Priority="73" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful Grid" /><br />
<w:LsdException Locked="false" Priority="60" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light Shading Accent 1" /><br />
<w:LsdException Locked="false" Priority="61" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light List Accent 1" /><br />
<w:LsdException Locked="false" Priority="62" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light Grid Accent 1" /><br />
<w:LsdException Locked="false" Priority="63" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1" /><br />
<w:LsdException Locked="false" Priority="64" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1" /><br />
<w:LsdException Locked="false" Priority="65" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium List 1 Accent 1" /><br />
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision" /><br />
<w:LsdException Locked="false" Priority="34" SemiHidden="false"<br />
UnhideWhenUsed="false" QFormat="true" Name="List Paragraph" /><br />
<w:LsdException Locked="false" Priority="29" SemiHidden="false"<br />
UnhideWhenUsed="false" QFormat="true" Name="Quote" /><br />
<w:LsdException Locked="false" Priority="30" SemiHidden="false"<br />
UnhideWhenUsed="false" QFormat="true" Name="Intense Quote" /><br />
<w:LsdException Locked="false" Priority="66" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium List 2 Accent 1" /><br />
<w:LsdException Locked="false" Priority="67" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1" /><br />
<w:LsdException Locked="false" Priority="68" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1" /><br />
<w:LsdException Locked="false" Priority="69" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1" /><br />
<w:LsdException Locked="false" Priority="70" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Dark List Accent 1" /><br />
<w:LsdException Locked="false" Priority="71" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful Shading Accent 1" /><br />
<w:LsdException Locked="false" Priority="72" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful List Accent 1" /><br />
<w:LsdException Locked="false" Priority="73" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful Grid Accent 1" /><br />
<w:LsdException Locked="false" Priority="60" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light Shading Accent 2" /><br />
<w:LsdException Locked="false" Priority="61" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light List Accent 2" /><br />
<w:LsdException Locked="false" Priority="62" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light Grid Accent 2" /><br />
<w:LsdException Locked="false" Priority="63" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2" /><br />
<w:LsdException Locked="false" Priority="64" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2" /><br />
<w:LsdException Locked="false" Priority="65" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium List 1 Accent 2" /><br />
<w:LsdException Locked="false" Priority="66" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium List 2 Accent 2" /><br />
<w:LsdException Locked="false" Priority="67" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2" /><br />
<w:LsdException Locked="false" Priority="68" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2" /><br />
<w:LsdException Locked="false" Priority="69" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2" /><br />
<w:LsdException Locked="false" Priority="70" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Dark List Accent 2" /><br />
<w:LsdException Locked="false" Priority="71" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful Shading Accent 2" /><br />
<w:LsdException Locked="false" Priority="72" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful List Accent 2" /><br />
<w:LsdException Locked="false" Priority="73" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful Grid Accent 2" /><br />
<w:LsdException Locked="false" Priority="60" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light Shading Accent 3" /><br />
<w:LsdException Locked="false" Priority="61" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light List Accent 3" /><br />
<w:LsdException Locked="false" Priority="62" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light Grid Accent 3" /><br />
<w:LsdException Locked="false" Priority="63" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3" /><br />
<w:LsdException Locked="false" Priority="64" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3" /><br />
<w:LsdException Locked="false" Priority="65" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium List 1 Accent 3" /><br />
<w:LsdException Locked="false" Priority="66" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium List 2 Accent 3" /><br />
<w:LsdException Locked="false" Priority="67" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3" /><br />
<w:LsdException Locked="false" Priority="68" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3" /><br />
<w:LsdException Locked="false" Priority="69" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3" /><br />
<w:LsdException Locked="false" Priority="70" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Dark List Accent 3" /><br />
<w:LsdException Locked="false" Priority="71" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful Shading Accent 3" /><br />
<w:LsdException Locked="false" Priority="72" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful List Accent 3" /><br />
<w:LsdException Locked="false" Priority="73" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful Grid Accent 3" /><br />
<w:LsdException Locked="false" Priority="60" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light Shading Accent 4" /><br />
<w:LsdException Locked="false" Priority="61" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light List Accent 4" /><br />
<w:LsdException Locked="false" Priority="62" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light Grid Accent 4" /><br />
<w:LsdException Locked="false" Priority="63" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4" /><br />
<w:LsdException Locked="false" Priority="64" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4" /><br />
<w:LsdException Locked="false" Priority="65" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium List 1 Accent 4" /><br />
<w:LsdException Locked="false" Priority="66" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium List 2 Accent 4" /><br />
<w:LsdException Locked="false" Priority="67" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4" /><br />
<w:LsdException Locked="false" Priority="68" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4" /><br />
<w:LsdException Locked="false" Priority="69" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4" /><br />
<w:LsdException Locked="false" Priority="70" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Dark List Accent 4" /><br />
<w:LsdException Locked="false" Priority="71" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful Shading Accent 4" /><br />
<w:LsdException Locked="false" Priority="72" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful List Accent 4" /><br />
<w:LsdException Locked="false" Priority="73" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful Grid Accent 4" /><br />
<w:LsdException Locked="false" Priority="60" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light Shading Accent 5" /><br />
<w:LsdException Locked="false" Priority="61" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light List Accent 5" /><br />
<w:LsdException Locked="false" Priority="62" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light Grid Accent 5" /><br />
<w:LsdException Locked="false" Priority="63" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5" /><br />
<w:LsdException Locked="false" Priority="64" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5" /><br />
<w:LsdException Locked="false" Priority="65" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium List 1 Accent 5" /><br />
<w:LsdException Locked="false" Priority="66" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium List 2 Accent 5" /><br />
<w:LsdException Locked="false" Priority="67" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5" /><br />
<w:LsdException Locked="false" Priority="68" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5" /><br />
<w:LsdException Locked="false" Priority="69" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5" /><br />
<w:LsdException Locked="false" Priority="70" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Dark List Accent 5" /><br />
<w:LsdException Locked="false" Priority="71" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful Shading Accent 5" /><br />
<w:LsdException Locked="false" Priority="72" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful List Accent 5" /><br />
<w:LsdException Locked="false" Priority="73" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful Grid Accent 5" /><br />
<w:LsdException Locked="false" Priority="60" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light Shading Accent 6" /><br />
<w:LsdException Locked="false" Priority="61" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light List Accent 6" /><br />
<w:LsdException Locked="false" Priority="62" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light Grid Accent 6" /><br />
<w:LsdException Locked="false" Priority="63" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6" /><br />
<w:LsdException Locked="false" Priority="64" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6" /><br />
<w:LsdException Locked="false" Priority="65" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium List 1 Accent 6" /><br />
<w:LsdException Locked="false" Priority="66" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium List 2 Accent 6" /><br />
<w:LsdException Locked="false" Priority="67" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6" /><br />
<w:LsdException Locked="false" Priority="68" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6" /><br />
<w:LsdException Locked="false" Priority="69" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6" /><br />
<w:LsdException Locked="false" Priority="70" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Dark List Accent 6" /><br />
<w:LsdException Locked="false" Priority="71" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful Shading Accent 6" /><br />
<w:LsdException Locked="false" Priority="72" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful List Accent 6" /><br />
<w:LsdException Locked="false" Priority="73" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful Grid Accent 6" /><br />
<w:LsdException Locked="false" Priority="19" SemiHidden="false"<br />
UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis" /><br />
<w:LsdException Locked="false" Priority="21" SemiHidden="false"<br />
UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis" /><br />
<w:LsdException Locked="false" Priority="31" SemiHidden="false"<br />
UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference" /><br />
<w:LsdException Locked="false" Priority="32" SemiHidden="false"<br />
UnhideWhenUsed="false" QFormat="true" Name="Intense Reference" /><br />
<w:LsdException Locked="false" Priority="33" SemiHidden="false"<br />
UnhideWhenUsed="false" QFormat="true" Name="Book Title" /><br />
<w:LsdException Locked="false" Priority="37" Name="Bibliography" /><br />
<w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading" /><br />
</w:LatentStyles><br />
</xml><![endif]--><!--[if gte mso 10]></p>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin-top:0in;
mso-para-margin-right:0in;
mso-para-margin-bottom:10.0pt;
mso-para-margin-left:0in;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}
table.MsoTableGrid
{mso-style-name:"Table Grid";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-priority:59;
mso-style-unhide:no;
border:solid windowtext 1.0pt;
mso-border-alt:solid windowtext .5pt;
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-border-insideh:.5pt solid windowtext;
mso-border-insidev:.5pt solid windowtext;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}
</style>
<p><![endif]--></p>
<p class="MsoNormal">WCF has a huge security component to it (as rightly it should). The technology is massively configurable to support almost any security scenario one can dream up. Unfortunately this also makes it massively hard to learn and implement successfully and many developers tend to work around the security rather than learn how to implement it correctly. With a bit of knowledge WCF security is not nearly as intimidating as one may think.</p>
<p class="MsoNormal">There are several security concerns to deal with in any communication technology. The top two most common concerns<span style="">  </span>are: making sure that no one can read, modify, or replay a sensitive message and ensuring that a caller is authenticated<span style="">  </span>to use the system and authorized to access the resources they are allowed to access (and denied access to the ones they are not allowed to access of course). The other concerns are usually around Availability (i.e. making sure the service is resistant to Denial Of Service attacks) and Auditing (being able to log and monitor security events). </p>
<p class="MsoNormal"><strong style="">Message Protection<br />
</strong><br />
Protection of the traffic in transit is easy to use and is typically turned on by default (basicHTTPBinding has no security by default). There are two choices to make with securing traffic: Transport or Message security. Transport security relies on security builtin to the protocol you are using (e.g. HTTPS for HTTPBindings and TLS for TCP bindings). Message security lets WCF sign and encrypt messages and then sends it across the transport. </p>
<p class="MsoNormal"><strong style="">Transport Security:<br />
</strong>+Interoperability: Neither party in a communication need to support WS-Security specifications<br />
+Potentially better performance<br />
-Security is point to point. If a message is routed through an intermediary it will not be guaranteed to be secure (i.e. many load balancers accept SSL traffic, decrypt it, and send it unencrypted to a node in its array)<br />
-Supports a smaller set of credentials and claims used for authentication<br />
-All or nothing: A message is either encrypted or it is not<br />
<strong style=""><br />
Message Security:</strong><br />
+End to end security: message security survives being routed through intermediaries<br />
+Allows partial message signing/encryption so that only messages that need protection can be protected<br />
+Transport independent: Message security can be used with any transport protocol<br />
+supports a large set of credentials and claims<br />
-May reduce performance as each message is secured and can not take advantage of hardware acceleration<br />
-Not as interoperable as both sides must implement the WS-Security specification</p>
<p class="MsoNormal"> </p>
<table cellspacing="0" cellpadding="0" border="1" style="border-collapse: collapse; border: medium none;" class="MsoTableGrid">
<tbody>
<tr style="height: 15.75pt;">
<td valign="top" style="border: 1pt solid rgb(187, 187, 187); background: none repeat scroll 0% 0% rgb(229, 229, 229); padding: 3pt; height: 15.75pt; font-weight: bold;">
<p style="margin-bottom: 0.0001pt; line-height: normal;" class="MsoNormal"><span style="font-size: 10.5pt; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;; color: black;">Binding </span></p>
</td>
<td valign="top" style="border-width: 1pt 1pt 1pt medium; border-style: solid solid solid none; border-color: rgb(187, 187, 187) rgb(187, 187, 187) rgb(187, 187, 187) -moz-use-text-color; background: none repeat scroll 0% 0% rgb(229, 229, 229); padding: 3pt; height: 15.75pt; font-weight: bold;">
<p style="margin-bottom: 0.0001pt; line-height: normal;" class="MsoNormal"><span style="font-size: 10.5pt; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;; color: black;">Transport mode support   </span></p>
</td>
<td valign="top" style="border-width: 1pt 1pt 1pt medium; border-style: solid solid solid none; border-color: rgb(187, 187, 187) rgb(187, 187, 187) rgb(187, 187, 187) -moz-use-text-color; background: none repeat scroll 0% 0% rgb(229, 229, 229); padding: 3pt; height: 15.75pt; font-weight: bold;">
<p style="margin-bottom: 0.0001pt; line-height: normal;" class="MsoNormal"><span style="font-size: 10.5pt; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;; color: black;">Message mode support </span></p>
</td>
</tr>
<tr style="">
<td width="167" valign="top" style="width: 125.2pt; border-width: medium 1pt 1pt; border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; padding: 0in 5.4pt;">
<p style="margin-bottom: 0.0001pt; line-height: normal;" class="MsoNormal">basicHTTPBinding</p>
</td>
<td width="231" valign="top" style="width: 172.95pt; border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; padding: 0in 5.4pt;">
<p style="margin-bottom: 0.0001pt; line-height: normal;" class="MsoNormal">HTTPS</p>
</td>
<td width="241" valign="top" style="width: 180.65pt; border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; padding: 0in 5.4pt;">
<p style="margin-bottom: 0.0001pt; line-height: normal;" class="MsoNormal">HTTP basic authentication<br />
            WS-Security</p>
</td>
</tr>
<tr style="">
<td width="167" valign="top" style="width: 125.2pt; border-width: medium 1pt 1pt; border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; padding: 0in 5.4pt;">
<p style="margin-bottom: 0.0001pt; line-height: normal;" class="MsoNormal">wsHTTPBinding</p>
</td>
<td width="231" valign="top" style="width: 172.95pt; border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; padding: 0in 5.4pt;">
<p style="margin-bottom: 0.0001pt; line-height: normal;" class="MsoNormal">HTTPS</p>
</td>
<td width="241" valign="top" style="width: 180.65pt; border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; padding: 0in 5.4pt;">
<p style="margin-bottom: 0.0001pt; line-height: normal;" class="MsoNormal">WS-Security<br />
            SOAP message with credentials sent over HTTPS transport security</p>
</td>
</tr>
<tr style="">
<td width="167" valign="top" style="width: 125.2pt; border-width: medium 1pt 1pt; border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; padding: 0in 5.4pt;">
<p style="margin-bottom: 0.0001pt; line-height: normal;" class="MsoNormal">wsDualHTTPBinding</p>
</td>
<td width="231" valign="top" style="width: 172.95pt; border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; padding: 0in 5.4pt;">
<p style="margin-bottom: 0.0001pt; line-height: normal;" class="MsoNormal">None</p>
</td>
<td width="241" valign="top" style="width: 180.65pt; border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; padding: 0in 5.4pt;">
<p style="margin-bottom: 0.0001pt; line-height: normal;" class="MsoNormal">WS-Security</p>
</td>
</tr>
<tr style="">
<td width="167" valign="top" style="width: 125.2pt; border-width: medium 1pt 1pt; border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; padding: 0in 5.4pt;">
<p style="margin-bottom: 0.0001pt; line-height: normal;" class="MsoNormal">netTCPBinding</p>
</td>
<td width="231" valign="top" style="width: 172.95pt; border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; padding: 0in 5.4pt;">
<p style="margin-bottom: 0.0001pt; line-height: normal;" class="MsoNormal">TLS over TCP </p>
</td>
<td width="241" valign="top" style="width: 180.65pt; border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; padding: 0in 5.4pt;">
<p style="margin-bottom: 0.0001pt; line-height: normal;" class="MsoNormal">WS-Security</p>
</td>
</tr>
<tr style="">
<td width="167" valign="top" style="width: 125.2pt; border-width: medium 1pt 1pt; border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; padding: 0in 5.4pt;">
<p style="margin-bottom: 0.0001pt; line-height: normal;" class="MsoNormal">netNamedPipeBinding</p>
</td>
<td width="231" valign="top" style="width: 172.95pt; border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; padding: 0in 5.4pt;">
<p style="margin-bottom: 0.0001pt; line-height: normal;" class="MsoNormal">Negotiated (best compatible support is used)</p>
</td>
<td width="241" valign="top" style="width: 180.65pt; border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; padding: 0in 5.4pt;">
<p style="margin-bottom: 0.0001pt; line-height: normal;" class="MsoNormal">None</p>
</td>
</tr>
<tr style="">
<td width="167" valign="top" style="width: 125.2pt; border-width: medium 1pt 1pt; border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; padding: 0in 5.4pt;">
<p style="margin-bottom: 0.0001pt; line-height: normal;" class="MsoNormal">netMSMQBinding</p>
</td>
<td width="231" valign="top" style="width: 172.95pt; border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; padding: 0in 5.4pt;">
<p style="margin-bottom: 0.0001pt; line-height: normal;" class="MsoNormal">RC4 or AES (default is RC4). Messages signed with receiving queues   public certificate.</p>
</td>
<td width="241" valign="top" style="width: 180.65pt; border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; padding: 0in 5.4pt;">
<p style="margin-bottom: 0.0001pt; line-height: normal;" class="MsoNormal">WS-Security</p>
</td>
</tr>
<tr style="">
<td width="167" valign="top" style="width: 125.2pt; border-width: medium 1pt 1pt; border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; padding: 0in 5.4pt;">
<p style="margin-bottom: 0.0001pt; line-height: normal;" class="MsoNormal">wsFederationHttpBinding</p>
</td>
<td width="231" valign="top" style="width: 172.95pt; border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; padding: 0in 5.4pt;">
<p style="margin-bottom: 0.0001pt; line-height: normal;" class="MsoNormal">HTTPS</p>
</td>
<td width="241" valign="top" style="width: 180.65pt; border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; padding: 0in 5.4pt;">
<p style="margin-bottom: 0.0001pt; line-height: normal;" class="MsoNormal">WS-Security</p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"> </p>
<p class="MsoNormal">There are also a few other approaches as well. There is the hybrid TransportWithMessageCredential which the client credentials are provided at the message level and the remainder (the message itself and service authentication) is secured by the transport. The other type is TransportCredentialOnly which is ONLY for basicHTTPBinding that does mutual authentication at the transport level. <span style="">    </span></p>
<table width="100%" cellspacing="0" cellpadding="0" border="1" style="width: 100%; border-collapse: collapse; border: medium none;" class="MsoNormalTable">
<tbody>
<tr style="height: 15.75pt;">
<td valign="top" style="border: 1pt solid rgb(187, 187, 187); background: none repeat scroll 0% 0% rgb(229, 229, 229); padding: 3pt; height: 15.75pt;">
<p style="margin-bottom: 0.0001pt; line-height: normal;" class="MsoNormal"><span style="font-size: 10.5pt; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;; color: black;">Binding </span></p>
</td>
<td valign="top" style="border-width: 1pt 1pt 1pt medium; border-style: solid solid solid none; border-color: rgb(187, 187, 187) rgb(187, 187, 187) rgb(187, 187, 187) -moz-use-text-color; background: none repeat scroll 0% 0% rgb(229, 229, 229); padding: 3pt; height: 15.75pt;">
<p style="margin-bottom: 0.0001pt; line-height: normal;" class="MsoNormal"><span style="font-size: 10.5pt; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;; color: black;">Transport mode support   </span></p>
</td>
<td valign="top" style="border-width: 1pt 1pt 1pt medium; border-style: solid solid solid none; border-color: rgb(187, 187, 187) rgb(187, 187, 187) rgb(187, 187, 187) -moz-use-text-color; background: none repeat scroll 0% 0% rgb(229, 229, 229); padding: 3pt; height: 15.75pt;">
<p style="margin-bottom: 0.0001pt; line-height: normal;" class="MsoNormal"><span style="font-size: 10.5pt; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;; color: black;">Message mode support </span></p>
</td>
<td valign="top" style="border-width: 1pt 1pt 1pt medium; border-style: solid solid solid none; border-color: rgb(187, 187, 187) rgb(187, 187, 187) rgb(187, 187, 187) -moz-use-text-color; background: none repeat scroll 0% 0% rgb(229, 229, 229); padding: 3pt; height: 15.75pt;">
<p style="margin-bottom: 0.0001pt; line-height: normal;" class="MsoNormal"><span style="font-size: 10.5pt; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;; color: black;">TransportWithMessageCredential   support </span></p>
</td>
</tr>
<tr style="">
<td valign="top" style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: -moz-use-text-color rgb(187, 187, 187) rgb(187, 187, 187); background: none repeat scroll 0% 0% white; padding: 3pt;">
<p style="margin-right: 0.75pt; margin-left: 0.75pt; line-height: 140%;" class="MsoNormal"><strong><span style="font-size: 9.5pt; line-height: 140%; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;; color: black;">BasicHttpBinding</span></strong><span style="font-size: 9.5pt; line-height: 140%; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;; color: black;" /></p>
</td>
<td valign="top" style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color rgb(187, 187, 187) rgb(187, 187, 187) -moz-use-text-color; background: none repeat scroll 0% 0% white; padding: 3pt;">
<p style="margin-right: 0.75pt; margin-left: 0.75pt; line-height: 140%;" class="MsoNormal"><span style="font-size: 9.5pt; line-height: 140%; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;; color: black;">Yes</span></p>
</td>
<td valign="top" style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color rgb(187, 187, 187) rgb(187, 187, 187) -moz-use-text-color; background: none repeat scroll 0% 0% white; padding: 3pt;">
<p style="margin-right: 0.75pt; margin-left: 0.75pt; line-height: 140%;" class="MsoNormal"><span style="font-size: 9.5pt; line-height: 140%; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;; color: black;">Yes</span></p>
</td>
<td valign="top" style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color rgb(187, 187, 187) rgb(187, 187, 187) -moz-use-text-color; background: none repeat scroll 0% 0% white; padding: 3pt;">
<p style="margin-right: 0.75pt; margin-left: 0.75pt; line-height: 140%;" class="MsoNormal"><span style="font-size: 9.5pt; line-height: 140%; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;; color: black;">Yes</span></p>
</td>
</tr>
<tr style="">
<td valign="top" style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: -moz-use-text-color rgb(187, 187, 187) rgb(187, 187, 187); background: none repeat scroll 0% 0% white; padding: 3pt;">
<p style="margin-right: 0.75pt; margin-left: 0.75pt; line-height: 140%;" class="MsoNormal"><strong><span style="font-size: 9.5pt; line-height: 140%; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;; color: black;">WSHttpBinding</span></strong><span style="font-size: 9.5pt; line-height: 140%; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;; color: black;" /></p>
</td>
<td valign="top" style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color rgb(187, 187, 187) rgb(187, 187, 187) -moz-use-text-color; background: none repeat scroll 0% 0% white; padding: 3pt;">
<p style="margin-right: 0.75pt; margin-left: 0.75pt; line-height: 140%;" class="MsoNormal"><span style="font-size: 9.5pt; line-height: 140%; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;; color: black;">Yes</span></p>
</td>
<td valign="top" style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color rgb(187, 187, 187) rgb(187, 187, 187) -moz-use-text-color; background: none repeat scroll 0% 0% white; padding: 3pt;">
<p style="margin-right: 0.75pt; margin-left: 0.75pt; line-height: 140%;" class="MsoNormal"><span style="font-size: 9.5pt; line-height: 140%; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;; color: black;">Yes</span></p>
</td>
<td valign="top" style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color rgb(187, 187, 187) rgb(187, 187, 187) -moz-use-text-color; background: none repeat scroll 0% 0% white; padding: 3pt;">
<p style="margin-right: 0.75pt; margin-left: 0.75pt; line-height: 140%;" class="MsoNormal"><span style="font-size: 9.5pt; line-height: 140%; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;; color: black;">Yes</span></p>
</td>
</tr>
<tr style="">
<td valign="top" style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: -moz-use-text-color rgb(187, 187, 187) rgb(187, 187, 187); background: none repeat scroll 0% 0% white; padding: 3pt;">
<p style="margin-right: 0.75pt; margin-left: 0.75pt; line-height: 140%;" class="MsoNormal"><strong><span style="font-size: 9.5pt; line-height: 140%; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;; color: black;">WSDualHttpBinding</span></strong><span style="font-size: 9.5pt; line-height: 140%; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;; color: black;" /></p>
</td>
<td valign="top" style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color rgb(187, 187, 187) rgb(187, 187, 187) -moz-use-text-color; background: none repeat scroll 0% 0% white; padding: 3pt;">
<p style="margin-right: 0.75pt; margin-left: 0.75pt; line-height: 140%;" class="MsoNormal"><span style="font-size: 9.5pt; line-height: 140%; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;; color: black;">No</span></p>
</td>
<td valign="top" style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color rgb(187, 187, 187) rgb(187, 187, 187) -moz-use-text-color; background: none repeat scroll 0% 0% white; padding: 3pt;">
<p style="margin-right: 0.75pt; margin-left: 0.75pt; line-height: 140%;" class="MsoNormal"><span style="font-size: 9.5pt; line-height: 140%; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;; color: black;">Yes</span></p>
</td>
<td valign="top" style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color rgb(187, 187, 187) rgb(187, 187, 187) -moz-use-text-color; background: none repeat scroll 0% 0% white; padding: 3pt;">
<p style="margin-right: 0.75pt; margin-left: 0.75pt; line-height: 140%;" class="MsoNormal"><span style="font-size: 9.5pt; line-height: 140%; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;; color: black;">No</span></p>
</td>
</tr>
<tr style="">
<td valign="top" style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: -moz-use-text-color rgb(187, 187, 187) rgb(187, 187, 187); background: none repeat scroll 0% 0% white; padding: 3pt;">
<p style="margin-right: 0.75pt; margin-left: 0.75pt; line-height: 140%;" class="MsoNormal"><strong><span style="font-size: 9.5pt; line-height: 140%; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;; color: black;">NetTcpBinding</span></strong><span style="font-size: 9.5pt; line-height: 140%; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;; color: black;" /></p>
</td>
<td valign="top" style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color rgb(187, 187, 187) rgb(187, 187, 187) -moz-use-text-color; background: none repeat scroll 0% 0% white; padding: 3pt;">
<p style="margin-right: 0.75pt; margin-left: 0.75pt; line-height: 140%;" class="MsoNormal"><span style="font-size: 9.5pt; line-height: 140%; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;; color: black;">Yes</span></p>
</td>
<td valign="top" style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color rgb(187, 187, 187) rgb(187, 187, 187) -moz-use-text-color; background: none repeat scroll 0% 0% white; padding: 3pt;">
<p style="margin-right: 0.75pt; margin-left: 0.75pt; line-height: 140%;" class="MsoNormal"><span style="font-size: 9.5pt; line-height: 140%; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;; color: black;">Yes</span></p>
</td>
<td valign="top" style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color rgb(187, 187, 187) rgb(187, 187, 187) -moz-use-text-color; background: none repeat scroll 0% 0% white; padding: 3pt;">
<p style="margin-right: 0.75pt; margin-left: 0.75pt; line-height: 140%;" class="MsoNormal"><span style="font-size: 9.5pt; line-height: 140%; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;; color: black;">Yes</span></p>
</td>
</tr>
<tr style="">
<td valign="top" style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: -moz-use-text-color rgb(187, 187, 187) rgb(187, 187, 187); background: none repeat scroll 0% 0% white; padding: 3pt;">
<p style="margin-right: 0.75pt; margin-left: 0.75pt; line-height: 140%;" class="MsoNormal"><strong><span style="font-size: 9.5pt; line-height: 140%; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;; color: black;">NetNamedPipeBinding</span></strong><span style="font-size: 9.5pt; line-height: 140%; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;; color: black;" /></p>
</td>
<td valign="top" style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color rgb(187, 187, 187) rgb(187, 187, 187) -moz-use-text-color; background: none repeat scroll 0% 0% white; padding: 3pt;">
<p style="margin-right: 0.75pt; margin-left: 0.75pt; line-height: 140%;" class="MsoNormal"><span style="font-size: 9.5pt; line-height: 140%; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;; color: black;">Yes</span></p>
</td>
<td valign="top" style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color rgb(187, 187, 187) rgb(187, 187, 187) -moz-use-text-color; background: none repeat scroll 0% 0% white; padding: 3pt;">
<p style="margin-right: 0.75pt; margin-left: 0.75pt; line-height: 140%;" class="MsoNormal"><span style="font-size: 9.5pt; line-height: 140%; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;; color: black;">No</span></p>
</td>
<td valign="top" style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color rgb(187, 187, 187) rgb(187, 187, 187) -moz-use-text-color; background: none repeat scroll 0% 0% white; padding: 3pt;">
<p style="margin-right: 0.75pt; margin-left: 0.75pt; line-height: 140%;" class="MsoNormal"><span style="font-size: 9.5pt; line-height: 140%; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;; color: black;">No</span></p>
</td>
</tr>
<tr style="">
<td valign="top" style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: -moz-use-text-color rgb(187, 187, 187) rgb(187, 187, 187); background: none repeat scroll 0% 0% white; padding: 3pt;">
<p style="margin-right: 0.75pt; margin-left: 0.75pt; line-height: 140%;" class="MsoNormal"><strong><span style="font-size: 9.5pt; line-height: 140%; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;; color: black;">NetMsmqBinding</span></strong><span style="font-size: 9.5pt; line-height: 140%; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;; color: black;" /></p>
</td>
<td valign="top" style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color rgb(187, 187, 187) rgb(187, 187, 187) -moz-use-text-color; background: none repeat scroll 0% 0% white; padding: 3pt;">
<p style="margin-right: 0.75pt; margin-left: 0.75pt; line-height: 140%;" class="MsoNormal"><span style="font-size: 9.5pt; line-height: 140%; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;; color: black;">Yes</span></p>
</td>
<td valign="top" style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color rgb(187, 187, 187) rgb(187, 187, 187) -moz-use-text-color; background: none repeat scroll 0% 0% white; padding: 3pt;">
<p style="margin-right: 0.75pt; margin-left: 0.75pt; line-height: 140%;" class="MsoNormal"><span style="font-size: 9.5pt; line-height: 140%; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;; color: black;">Yes</span></p>
</td>
<td valign="top" style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color rgb(187, 187, 187) rgb(187, 187, 187) -moz-use-text-color; background: none repeat scroll 0% 0% white; padding: 3pt;">
<p style="margin-right: 0.75pt; margin-left: 0.75pt; line-height: 140%;" class="MsoNormal"><span style="font-size: 9.5pt; line-height: 140%; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;; color: black;">No</span></p>
</td>
</tr>
<tr style="">
<td valign="top" style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: -moz-use-text-color rgb(187, 187, 187) rgb(187, 187, 187); background: none repeat scroll 0% 0% white; padding: 3pt;">
<p style="margin-right: 0.75pt; margin-left: 0.75pt; line-height: 140%;" class="MsoNormal"><strong><span style="font-size: 9.5pt; line-height: 140%; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;; color: black;">MsmqIntegrationBinding</span></strong><span style="font-size: 9.5pt; line-height: 140%; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;; color: black;" /></p>
</td>
<td valign="top" style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color rgb(187, 187, 187) rgb(187, 187, 187) -moz-use-text-color; background: none repeat scroll 0% 0% white; padding: 3pt;">
<p style="margin-right: 0.75pt; margin-left: 0.75pt; line-height: 140%;" class="MsoNormal"><span style="font-size: 9.5pt; line-height: 140%; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;; color: black;">Yes</span></p>
</td>
<td valign="top" style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color rgb(187, 187, 187) rgb(187, 187, 187) -moz-use-text-color; background: none repeat scroll 0% 0% white; padding: 3pt;">
<p style="margin-right: 0.75pt; margin-left: 0.75pt; line-height: 140%;" class="MsoNormal"><span style="font-size: 9.5pt; line-height: 140%; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;; color: black;">No</span></p>
</td>
<td valign="top" style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color rgb(187, 187, 187) rgb(187, 187, 187) -moz-use-text-color; background: none repeat scroll 0% 0% white; padding: 3pt;">
<p style="margin-right: 0.75pt; margin-left: 0.75pt; line-height: 140%;" class="MsoNormal"><span style="font-size: 9.5pt; line-height: 140%; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;; color: black;">No</span></p>
</td>
</tr>
<tr style="">
<td valign="top" style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: -moz-use-text-color rgb(187, 187, 187) rgb(187, 187, 187); background: none repeat scroll 0% 0% white; padding: 3pt;">
<p style="margin-right: 0.75pt; margin-left: 0.75pt; line-height: 140%;" class="MsoNormal"><strong><span style="font-size: 9.5pt; line-height: 140%; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;; color: black;">wsFederationHttpBinding</span></strong><span style="font-size: 9.5pt; line-height: 140%; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;; color: black;" /></p>
</td>
<td valign="top" style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color rgb(187, 187, 187) rgb(187, 187, 187) -moz-use-text-color; background: none repeat scroll 0% 0% white; padding: 3pt;">
<p style="margin-right: 0.75pt; margin-left: 0.75pt; line-height: 140%;" class="MsoNormal"><span style="font-size: 9.5pt; line-height: 140%; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;; color: black;">No</span></p>
</td>
<td valign="top" style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color rgb(187, 187, 187) rgb(187, 187, 187) -moz-use-text-color; background: none repeat scroll 0% 0% white; padding: 3pt;">
<p style="margin-right: 0.75pt; margin-left: 0.75pt; line-height: 140%;" class="MsoNormal"><span style="font-size: 9.5pt; line-height: 140%; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;; color: black;">Yes</span></p>
</td>
<td valign="top" style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color rgb(187, 187, 187) rgb(187, 187, 187) -moz-use-text-color; background: none repeat scroll 0% 0% white; padding: 3pt;">
<p style="margin-right: 0.75pt; margin-left: 0.75pt; line-height: 140%;" class="MsoNormal"><span style="font-size: 9.5pt; line-height: 140%; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;; color: black;">Yes</span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal">From <a href="http://msdn.microsoft.com/en-us/library/ms731172.aspx">http://msdn.microsoft.com/en-us/library/ms731172.aspx</a></p>
<p class="MsoNormal">
</p>
<p class="MsoNormal">Up Next: Authentication</p>
<p class="MsoNormal"><a href="http://msdn.microsoft.com/en-us/library/ms731172.aspx"><br />
</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.haveyougotwoods.ca/2010/12/16/wcf-security-part-1-message-transport-security/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ASP.NET &#8220;POET&#8221; Vulnerability</title>
		<link>http://www.haveyougotwoods.ca/2010/09/20/asp-net-poet-vulnerability</link>
		<comments>http://www.haveyougotwoods.ca/2010/09/20/asp-net-poet-vulnerability#comments</comments>
		<pubDate>Mon, 20 Sep 2010 18:51:48 +0000</pubDate>
		<dc:creator>david.woods</dc:creator>
				<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://haveyougotwoods.com/archive/2010/09/20/318.aspx</guid>
		<description><![CDATA[There has been lots of good posts so far about the ASP.NET vulnerability that was unveiled late Friday. In summary the attack exposes cryptographic keys used in ASP.net which can lead to all sorts of nastiness. I recommend you read and apply the advice from Scott Guthrie and then come back and read more. Microsoft [...]]]></description>
			<content:encoded><![CDATA[<p>There has been lots of good posts so far about the ASP.NET vulnerability that was unveiled late Friday. In summary the attack exposes cryptographic keys used in ASP.net which can lead to all sorts of nastiness.</p>
<p>I recommend you read and apply the advice from <a href="javascript:void(0);/*1285002965617*/">Scott Guthrie</a> and then come back and read more.</p>
<p>Microsoft is releasing very little information on this issue until they have a fix ready. As such, some of the information here is based on my best guess of how it is actually working. Although these are assumptions the advice on how to avoid these attacks are not.</p>
<p><span style="font-weight: bold;">Components</span><br />
What I have inferred from the given workaround is that there are two  components to this vulnerability. The first is an information disclosure vulnerability that certain responses to  requests give different error codes. The second is a side channel attack that occurs that reveals how long it took to yield a certain error code. </p>
<p><span style="font-weight: bold;">Information Disclosure Vulnerabilities</span><br />
An information disclosure vulnerability is just what the name implies. Information is being disclosed that gives an attacker information. The classic example of this is with a login system that states &#8220;Invalid Username&#8221; when you use a username that does not exist and &#8220;Invalid Password&#8221; when you use a username that DOES exist but the wrong password. The system should just give you a generic error message and not reveal the reason for the login failure.</p>
<p><span style="font-weight: bold;">Side Channel Attacks</span><br />
The attack is an example of a side channel attack. A side channel attack is when an attacker uses clues from a system to determine information instead of brute forcing the attack. The most common form of this is a timing attack in which an attacker looks at how long something takes to determine what is happening. Some other side channels that have been used have been looking at power consumption of systems, the sound the systems make, and the electromagnetic radiation given off by systems. Granted, timing attacks are the simplest to execute remotely (but network speed variability can introduce inaccurate timings.)</p>
<p>A real world example of a timing attack would be my magic toaster. It has different settings for toast, bagels, waffles, and black pucks I can also tweak the darkness of the item with a dial. If I knew what time something was put into the toaster and what time it popped up I could probably determine the setting that was used on the toaster. With more refinement of my attack I could probably tell what the darkness toasting dial was set to as well. This attack is not precise though. Toast on 10 and Bagel on 1 might take the same amount of time (or close to it). Plus there may be differences in the materials inserted that affect timing (i.e. thin break or thick break). </p>
<p>As you can see, side channel attacks do not (usually) net you what you are looking for with ease 100% of the time. The real thing they do is narrow down the possibilities of what could be happening. If I said guess a number between 1 and 1,000,000,000 it would take a while to get it. If I said guess a number between 1, and 1,000,000,000 but the number is 7, 34, or 2million&#8230;. well that makes it a lot easier. </p>
<p><span style="font-weight: bold;">The Workaround</span><br />
As <a href="javascript:void(0);/*1285004774164*/">descibed </a>in Scott&#8217;s post the workaround is two address these two issues. By having custom errors on (which you should have anyways) for all error codes to redirect to a page should address the information disclosure vulnerability. The page that Scott shows also puts in a random delay of the response to mitigate the timing side channel component.</p>
<p><span style="font-weight: bold;">The Consequences</span><br />
As this attack is used to determine encryption keys then I would state that encrypted data is at risk to being decryted. This would be things like viewstate, cookies, forms tickets, membership data, and more. As this attack is out there and should be fairly easy to automate I would consider my keys as most likely compromised. It appears the attack can run fairly quickly too (the example I saw got the key in 5 minutes).</p>
<p>To this end it may be a good time to update keys (after you have applied the workaround) used in your systems. </p>
<p><span style="font-weight: bold;">Mitigating Information Disclosure In Your Code</span><br />
Combating information disclosure of exceptions is fairly simple. In a client server environment I take any error the server throws and I log it (with as much information) and then return a generic error. In this case it may be that a 404 (page not found) error is returned in one case and 500 (internal server error) in another. Normally this is pretty standard behavior but it really does not help the user. In the end they wanted something and it did not happen so a generic error is sufficient. This can be achieved with the setting of a standard error page that hides the HTTP error code from the user. </p>
<p><span style="font-weight: bold;">Mitigating </span><span style="font-weight: bold;">Timing Side Channel Attacks In Your Code</span><br />
The timing side channel attack is tricky to spot as it is not a typical attack vector but it is fairly easy to fix. If you have code that can reveal information based on the time taken it may be practically to add a random wait time to responses. Going back to the login scenario it may take 2-5ms to determine if the user is in the database and then an additional 2-3ms to hash the password and compare it if the user exists. By seeing the process takes 2-5 ms before getting a login failure we see that the user probably did not exist. If it takes 7-10ms the user probably exists but the password was wrong. By adding a Thread.Sleep(cryptographically_random*) if the user is not found we can simulate the amount of time taken to hash and compare the password. </p>
<p>But Wait! There&#8217;s a catch. If we wait longer than the time it would take to hash the password we have just created the same problem. I.e. if we sleep for 0-20ms then an attacker may know that if it takes between 7-10ms that we have the right user and if it takes between 5-20ms is that the user was not found (but a sleep was added to lengthen the process). So adding wait time created the same issue we were trying to prevent! The most encompassing solution would be to wait on success or failure in this case. So no matter what the time it takes to execute something is variable. This may negatively affect performance though as you have threads sleeping all over. </p>
<p>RANDOM IDEA AS I WRITE THIS POST: As every computer is different stating that success is a-b milliseconds and failure is x-y milliseconds as hardcoded fact in code does not work as the software may be installed in many different places (or upgraded to faster systems in the future). It may be an idea to build in a profiler around a sensitive method call that monitors the time it takes and then assures that subsequent calls fall within that range. </p>
<p>*It is important not to just use Random as the sequence of Random can be  preditced. Using a crypto level random number generator generates a  more random random <img src='http://www.haveyougotwoods.ca/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><span style="font-weight: bold;">Mitigating </span><span style="font-weight: bold;">Timing Side Channel Attacks On Your Network Layer</span><br />
The other component to this is that it takes multiple requests to the server to test different bits of data. The demo I saw did close to 40,000 requests. This may be able to be stopped or slowed down by rate limiting requests to a server to a reasonable/human level. It also leaves a pretty big log footprint on your servers.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.haveyougotwoods.ca/2010/09/20/asp-net-poet-vulnerability/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Integration &#8211; Is It Worth It?</title>
		<link>http://www.haveyougotwoods.ca/2010/08/28/integration-is-it-worth-it</link>
		<comments>http://www.haveyougotwoods.ca/2010/08/28/integration-is-it-worth-it#comments</comments>
		<pubDate>Sat, 28 Aug 2010 14:56:46 +0000</pubDate>
		<dc:creator>david.woods</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Rants]]></category>

		<guid isPermaLink="false">http://haveyougotwoods.com/archive/2010/08/28/317.aspx</guid>
		<description><![CDATA[One thing I get asked to do a lot is integrate systems with each other or incorporate other systems into one we are currently building. In a lot of scenarios I have been starting to give some pushback on this. Sure integration is cool and all but should it be done? Expense The first (and [...]]]></description>
			<content:encoded><![CDATA[<p>One thing I get asked to do a lot is integrate systems with each other or incorporate other systems into one we are currently building. In a lot of scenarios I have been starting to give some pushback on this. Sure integration is cool and all but should it be done?</p>
<p><span style="font-weight: bold;">Expense</span><br />
The first (and ongoing) issue is the expense of integrating systems. First you have to understand the systems (or at least the APIs being exposed) of each system which can take a lot of time. Secondly we have to write code to integrate the services and adapt concepts from one system to another. This work also needs to be tested and debugged. </p>
<p><span style="font-weight: bold;">Perpetuating The Legacy</span><br />
The bigger issue I have seen in organizations is that tying a legacy system into your system makes it harder to change or replace the legacy system. If a legacy system has 3-4 systems that depend on it then any changes have to be tested and approved by the consuming systems (expense again). </p>
<p>If we want to replace the legacy system with something better then we have two options. We can either rewrite the system and keep the old API exposed or we can throw it away and force our consumers to change. Rewriting a system and keeping the API may work IF the original API was perfect (or close to perfect). In practice I find that the API is ok but if a person were to rewrite it they could alleviate a lot of the issues and shortcomings discovered over the years. If we do a brand new interface then all our consumers need to change their code which can be&#8230;. expensive.</p>
<p>From being in this situation before I have compromised. I created a new system with a better API that was more expressive and simpler to use. I then created a separate project that exposed the old API and translated that to the new API. This does add some performance overhead in translation and lots of things to test (expensive).  It does allow new consumers to use a better API and allowed consumers of the old system to decide if it was worth migrating to the new API. </p>
<p><span style="font-weight: bold;">Integration For Integrations Sake</span><br />
Many people automatically assume that if the information is in another system that we should integrate the two systems. This does help centralize rules, reduce duplication, and centralize information. This is all true but not always necessary. I would find it acceptable to have some minor duplication if it eliminated a coupling on another system. This is a very careful call to make though as this duplication can lead to duplication of maintainance. Even worse it can lead to their now being two sources of data so when a third system comes along it now consumes both sources for data to try and determine which one is accurate.</p>
<p>One classic example I have is from a client of mine. They have a system that dispatches their vehicles and another system that uses GPS to track their vehicles. They asked for these systems to be integrated as they are always switching between the two. In this case the value of integrating the systems was very low. Instead I recommend that all their operators get two monitors and have both applications open. This is not the 100% perfect solution (unless you are an accountant) but it gets the job done for the right price.</p>
<p><span style="font-weight: bold;">Alternatives</span><br />
There are ways to integrate but not integrate. One of the simpler ones is to have a button/link/menu item/whatever that fires up a system you would normally integrate with and pass along necessary data. I.e. a button that runs &#8220;otherProgram.exe /RunSalesReport 10-10-2009 10-10-2010&#8243; or http://server/SalesReport.aspx?start=10-10-2009&amp;end=10-10-2010. Granted there is a bit of coupling there and some things to maintain but not as much as if we had to call a service, translate the results, and show it on a UI.</p>
<p>Another method is to use manual entry. An example of this would be to use one system to find a product and then type that products manufacture code into your system you are building. Sure it is not as fast and the costs of this slowdown will add up over time but is the cost of integration still higher than the cost it takes for a user to copy/paste a code from one program to another? Not an easy question to answer but one that should be evaluated.</p>
<p>The last method is one typically avoided: double entry. This is where the same (or similar) data is entered into two separate systems. An example of this might be for a sales operation. It may be acceptable for the sales system to have a list of all products, descriptions, and prices of products that they sell. The warehouse system might have its one list of products, dimensions, and inventory levels. As long as when a sale comes in that the order can be filled AND that the sales system does not need to know inventory levels when they make a sale (i.e. if there is none in the warehouse it will just get backordered). This is a very tight line to walk as if an item were entered into one system incorrectly the customer may order 20 Widgets but instead get 20 Gadgets due to the product codes not lining up.</p>
<p><span style="font-weight: bold;">Final Thoughts</span><br />
I have learned that integration is more expensive than I first thought it would be. I thought that reducing code I had to write would make life easier. It does in some ways but in other ways it adds overhead to development and maintenance. If we just stop and think if it is really necessary to tie two systems together then we might just have a little less coupling and a little more freedom to upgrade some legacy systems. Not integrating is not the only solution&#8230;. but neither is integrating. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.haveyougotwoods.ca/2010/08/28/integration-is-it-worth-it/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Learn From My Mistakes?</title>
		<link>http://www.haveyougotwoods.ca/2010/08/21/learn-from-my-mistakes</link>
		<comments>http://www.haveyougotwoods.ca/2010/08/21/learn-from-my-mistakes#comments</comments>
		<pubDate>Sat, 21 Aug 2010 01:06:05 +0000</pubDate>
		<dc:creator>david.woods</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://haveyougotwoods.com/archive/2010/08/20/316.aspx</guid>
		<description><![CDATA[One of my frustrations with Silverlight has been that the async model is rammed down your throat. I understand the reasoning that it is good to have the UI thread responsive while long running calls are happening. But to me that is something that I code and I control. The thing that gets me is [...]]]></description>
			<content:encoded><![CDATA[<p>One of my frustrations with Silverlight has been that the async model is rammed down your throat. I understand the reasoning that it is good to have the UI thread responsive while long running calls are happening. But to me that is something that I code and I control. </p>
<p>The thing that gets me is that there are times where several network operations may have to happen in sequence. Here is a simple contrived example:</p>
<p>var service = new VehicleRentalService();<br />
if (service.AreVehiclesAvailableToRent())<br />
  {<br />
  txtNumberOfCars.Text = service.GetNumberOfCarsForRent();<br />
  if (service.IsTheFlakyOnlineRentalServiceRunning())<br />
      {<br />
       btnBookOnline.Enabled = true;<br />
      }<br />
  }</p>
<p>Now for the above example I would run all this on 1 background thread (leaving the UI nice and responsive) and make sure that I properly delegate the control changes to the UI thread (as controls are not thread safe).</p>
<p>Silverlight forces us to async the calls which leads to a lot of functions that chain together. I find this makes the code a lot harder to read and a lot harder to understand. Here is a hand written rewrite of the above example:</p>
<p>public function Start()<br />
{</p>
<div style="margin-left: 40px;">var service = new VehicleRentalService();<br />
service.AreVehiclesAvailableToRentCompleted+=VehiclesAvailableToRentResponseRecieved;<br />
service.GetNumberOfCarsForRentCompleted+=NumberOfCarsForRentResponseRecieved;<br />
service.IsTheFlakyOnlineRentalServiceRunningCompleted+=IsTheFlakyOnlineRentalServiceRunningResponseRecieved;</p>
<p>service.AreVehiclesAvailableToRent();
</div>
<p>}</p>
<p>public function VehiclesAvailableToRentResponseRecieved(object sender, VehiclesAvailableToRentCompletedEventArgs e)<br />
{<br />
   if (e.Result)<br />
      {<br />
      service.GetNumberOfCarsForRent();<br />
      service.IsTheFlakyOnlineRentalServiceRunning();<br />
     }<br />
}</p>
<p>public function NumberOfCarsForRentResponseRecieved(object sender, NumberOfCarsForRentCompletedEventArgs e)<br />
{<br />
    Dispatcher.BeginInvoke(delegate { txtNumberOfCars.Text = e.Result });<br />
}</p>
<p>public function IsTheFlakyOnlineRentalServiceRunningResponseRecieved(object sender, IsTheFlakyOnlineRentalServiceRunningResponseRecievedCompletedEventArgs e)<br />
{<br />
    Dispatcher.BeginInvoke(delegate { btnBookOnline.Enabled = e.Result });<br />
}</p>
<p>(Some may argue that there should be a GetSystemStatus method on the service that returns all this info to which I would probably agree. For the sake of this post though I am going to run with it).</p>
<p>So the Silverlight code is longer, harder to read, and harder to maintain. It does have the benefit of getting the number of cars for rent and checking if the online booking system is running at the same time which is a nice plus. </p>
<p>For an example a log more complicated than this one I was using a WebRequest to converse with a server in a very back and forth fashion and found that the code quickly became very hard to read so I set about to change things. My idea was to create a class that uses async calls in the background but appear to be synchronous by blocking the caller. i.e. </p>
<p>string customerData = Request.GetResponse(&#8220;http://www.dummy.com/getcustomer.aspx&#8221;, &#8220;CustomerId=1&#8243;);<br />
string customerAddress = Request.GetResponse(&#8220;http://www.dummy.com/getaddress.aspx&#8221;, ParseOutAddressId(customerData));</p>
<p>PLEASE DO NOT USE THIS CODE AS IT DOES NOT WORK (hence the post title):</p>
<p>    public class SyncRequestResponse<br />
    {<br />
        ManualResetEvent _requestCompleted;<br />
        private WebRequest _request;<br />
        private string _postData;<br />
        private Uri _requestUrl;<br />
        private static string _result;</p>
<p>        public string GetResponse(Uri requestUrl, string postData)<br />
        {<br />
            _requestCompleted=new ManualResetEvent(false);<br />
            _requestCompleted.Reset();<br />
            _postData = postData;<br />
            _requestUrl = requestUrl;<br />
            StartRequest();<br />
            _requestCompleted.WaitOne(1000); //block current thread until the response is received or the timeout is reached<br />
            return _result; //the result should be filled now<br />
        }</p>
<p>        private void StartRequest()<br />
        {<br />
            _request = WebRequest.Create(_requestUrl);<br />
            _request.ContentType = &#8220;application/x-www-form-urlencoded&#8221;;<br />
            _request.Method = &#8220;POST&#8221;;<br />
            _request.BeginGetRequestStream(GetRequestStreamCompleted, null);<br />
        }</p>
<p>        private void GetRequestStreamCompleted(IAsyncResult result)<br />
        {<br />
                //request stream has returned so fill it<br />
                var content = Encoding.UTF8.GetBytes(_postData);<br />
                var stream = _request.EndGetRequestStream(result );<br />
                stream.Write(content, 0, content.Length);<br />
                stream.Close();<br />
                _request.BeginGetResponse(GetResponseFromRequest, null);<br />
        }</p>
<p>        private void GetResponseFromRequest(IAsyncResult ar)<br />
        {<br />
            var response = _request.EndGetResponse(ar);<br />
            var sr = new StreamReader(response.GetResponseStream());<br />
            _result = sr.ReadToEnd();<br />
            _requestCompleted.Set();<br />
        }<br />
    }</p>
<p>
What I quickly found was that the second my WaitOne() line ran was that the background methods would also hang. After a lot of mucking about and some research I found out one very important thing. The WebRequest and WebResponse methods call interacts with the browsers plugin API which runs on&#8230;. the UI thread. So by blocking the UI thread it also blocks any calls to the plugin API which blocks my WebRequest methods.</p>
<p>So to solve this I could probably place my sync wrapper onto a background thread to implement the back and forth conversations and then raise an event when it is done but after mucking around it just makes things too complex to read, follow, and maintain. It may still have its uses one day&#8230; but it was not as clean as I would like</p>
<p>Solution?<br />
My main issue is when you have async methods that change so for WebRequest calls I decided to inline the callback methods it used. Again it is ugly but I find it simpler to follow a linear action:</p>
<p>public string GetCustomerDataAndBindItToTextBox(Uri requestUrl, string postData)<br />
            {<br />
                var request = WebRequest.Create(requestUrl);<br />
                request.ContentType = &#8220;application/x-www-form-urlencoded&#8221;;<br />
                request.Method = &#8220;POST&#8221;;<br />
                request.BeginGetRequestStream(delegate(IAsyncResult result)<br />
                                                   {<br />
                                                       byte[] content = Encoding.UTF8.GetBytes(postData);<br />
                                                       Stream stream = request.EndGetRequestStream(result);<br />
                                                       stream.Write(content, 0, content.Length);<br />
                                                       stream.Close();<br />
                                                       request.BeginGetResponse(delegate (IAsyncResult result2)<br />
                                                                                     {<br />
                                                                                         WebResponse response = request.EndGetResponse(result2);<br />
                                                                                         var sr = new StreamReader(response.GetResponseStream());<br />
                                                                                         this.txtCustomer.Text = sr.ReadToEnd();<br />
                                                                                     }, null);<br />
                                                   }, null);</p>
<p>
            }</p>
]]></content:encoded>
			<wfw:commentRss>http://www.haveyougotwoods.ca/2010/08/21/learn-from-my-mistakes/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>MVVM and Designer Data</title>
		<link>http://www.haveyougotwoods.ca/2010/08/19/mvvm-and-designer-data</link>
		<comments>http://www.haveyougotwoods.ca/2010/08/19/mvvm-and-designer-data#comments</comments>
		<pubDate>Thu, 19 Aug 2010 16:15:12 +0000</pubDate>
		<dc:creator>david.woods</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://haveyougotwoods.com/archive/2010/08/19/315.aspx</guid>
		<description><![CDATA[Over the last week I have been playing around with Silverlight and the Model View View Model (MVVM) pattern that I have heard such great things about. So far it is a really nice way to separate the UI logic from the UI and make it easily testable. One of the things I loved in [...]]]></description>
			<content:encoded><![CDATA[<p>Over the last week I have been playing around with Silverlight and the Model View View Model (MVVM) pattern that I have heard such great things about. So far it is a really nice way to separate the UI logic from the UI and make it easily testable. </p>
<p>One of the things I loved in Silverlight was the support for design time data. Design time data allowed you to specify dummy data that would appear in VS/Blend so that you could work with the UI with sample data. This saves so much time as now you don&#8217;t have to open the app, (possibly login), navigate to the area you are working on, and then see if you have it the way you want.</p>
<p>The challenge was now to combine MVVM and this dummy design time data. It is a lot simpler than I thought. I simply created a dummy View Model that inherited from my runtime VM and loaded it with sample data.</p>
<p><span style="font-weight: bold;">Runtime ViewModel:</span><br />
public class SummaryViewModel : BaseViewModel<br />
    {<br />
        public int MoviesOwned { get; set; }<br />
        public int MoviesCurrentlyRentedOut { get; set; }<br />
        public ObservableCollection&lt;Category&gt; Categories { get; set; }</p>
<p>        private readonly MovieServiceClient _service; <br />
        public SummaryViewModel()<br />
        {<br />
            _service = new MovieServiceClient();<br />
            _service.GetAllCategoriesCompleted += GetAllCategoriesCompleted;<br />
            if (!System.ComponentModel.DesignerProperties.IsInDesignTool)             <br />
                _service.GetAllCategoriesAsync();<br />
        }</p>
<p>        private void GetAllCategoriesCompleted(object sender, GetAllCategoriesCompletedEventArgs e)<br />
        {<br />
            Categories = e.Result;<br />
            InvokePropertyChanged(&#8220;Categories&#8221;);<br />
        }<br />
    }</p>
<p><span style="font-weight: bold;">Design Time View Model:</span><br />
  public class DesignTimeSummaryViewModelViewModel : SummaryViewModel <br />
    {<br />
        public DesignTimeSummaryViewModelViewModel()<br />
        {<br />
            Categories = new ObservableCollection&lt;Category&gt;();<br />
            Categories.Add(new Category() { Name = &#8220;Design Time Test&#8221; }); ;<br />
            Categories.Add(new Category() { Name = &#8220;Design Time Test 2&#8243; }); ;<br />
            Categories.Add(new Category() { Name = &#8220;Design Time Test 3&#8243; }); ;<br />
            MoviesOwned = 10;<br />
            MoviesCurrentlyRentedOut = 5;<br />
        }<br />
    }</p>
<p><span style="font-weight: bold;">Summary.xaml view (designer info in orange, runtime in blue):</span><br />
&lt;UserControl x:Class=&#8221;MovieRental.UI.MainPage&#8221;<br />
    xmlns=&#8221;http://schemas.microsoft.com/winfx/2006/xaml/presentation&#8221;<br />
    xmlns:x=&#8221;http://schemas.microsoft.com/winfx/2006/xaml&#8221;<br />
    xmlns:d=&#8221;http://schemas.microsoft.com/expression/blend/2008&#8243;<br />
    xmlns:mc=&#8221;http://schemas.openxmlformats.org/markup-compatibility/2006&#8243;<br />
    xmlns:local=&#8221;clr-namespace:MovieRental.UI.ViewModels&#8221;<br />
    mc:Ignorable=&#8221;d&#8221;<br />
    d:DesignHeight=&#8221;300&#8243; d:DesignWidth=&#8221;400&#8243;<br />
<span style="color: rgb(255, 153, 0);">    d:DataContext=&#8221;{d:DesignInstance Type=local:DesignTimeSummaryViewModelViewModel,IsDesignTimeCreatable=True}&#8221;</span><br style="color: rgb(255, 153, 0);" /><br />
    &gt;<br />
<span style="color: rgb(51, 102, 255);">    &lt;UserControl.Resources&gt;</span><br style="color: rgb(51, 102, 255);" /><br />
<span style="color: rgb(51, 102, 255);">        &lt;local:SummaryViewModel x:Key=&#8221;vm&#8221; /&gt;</span><br style="color: rgb(51, 102, 255);" /><br />
<span style="color: rgb(51, 102, 255);">    &lt;/UserControl.Resources&gt;</span><br style="color: rgb(51, 102, 255);" /><br />
<span style="color: rgb(51, 102, 255);">    &lt;UserControl.DataContext&gt;</span><br style="color: rgb(51, 102, 255);" /><br />
<span style="color: rgb(51, 102, 255);">        &lt;Binding Source=&#8221;{StaticResource vm}&#8221; /&gt;</span><br style="color: rgb(51, 102, 255);" /><br />
<span style="color: rgb(51, 102, 255);">    &lt;/UserControl.DataContext&gt;</span><br style="color: rgb(51, 102, 255);" /><br />
    &lt;Grid x:Name=&#8221;LayoutRoot&#8221; Background=&#8221;White&#8221;&gt;<br />
        &lt;StackPanel&gt;<br />
            &lt;StackPanel Orientation=&#8221;Horizontal&#8221;&gt;<br />
                &lt;TextBlock Text=&#8221;Movies Owned&#8221; /&gt;<br />
                &lt;TextBlock Text=&#8221;{Binding MoviesOwned}&#8221; Padding=&#8221;7,0,0,0&#8243;/&gt;<br />
        &lt;/StackPanel&gt;<br />
        &lt;StackPanel Orientation=&#8221;Horizontal&#8221;&gt;<br />
                &lt;TextBlock Text=&#8221;Movies Rented&#8221;/&gt;<br />
                &lt;TextBlock Text=&#8221;{Binding MoviesCurrentlyRentedOut}&#8221; Padding=&#8221;7,0,0,0&#8243; /&gt;<br />
        &lt;/StackPanel&gt;<br />
            &lt;ListBox ItemsSource=&#8221;{Binding Categories}&#8221; DisplayMemberPath=&#8221;Name&#8221;&gt;<br />
            &lt;/ListBox&gt;<br />
        &lt;/StackPanel&gt;<br />
    &lt;/Grid&gt;<br />
&lt;/UserControl&gt;</p>
<p>So far this is working pretty good. The thing that surprised me is that the designer still runs the runtime ViewModels constructor so I had to put a check in around my WCF call to make sure it did not run in the designer via the      System.ComponentModel.DesignerProperties.IsInDesignTool line of code.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.haveyougotwoods.ca/2010/08/19/mvvm-and-designer-data/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>A Word Macro To Simplify Resume Generation</title>
		<link>http://www.haveyougotwoods.ca/2010/08/08/a-word-macro-to-simplify-resume-generation</link>
		<comments>http://www.haveyougotwoods.ca/2010/08/08/a-word-macro-to-simplify-resume-generation#comments</comments>
		<pubDate>Sun, 08 Aug 2010 13:51:50 +0000</pubDate>
		<dc:creator>david.woods</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://haveyougotwoods.com/archive/2010/08/08/314.aspx</guid>
		<description><![CDATA[I have taken the summer off to look after our kids, get caught up on my todo list (yes it is 2 months long), and do some learning. Now that I am mostly caught up I decided to update my resume but find it hard to remember how many years of experience I have in [...]]]></description>
			<content:encoded><![CDATA[<p>I have taken the summer off to look after our kids, get caught up on my todo list (yes it is 2 months long), and do some learning. Now that I am mostly caught up I decided to update my resume but find it hard to remember how many years of experience I have in technologies on my skills matrix. I don&#8217;t like sending out a resume that shows what year I started with a technology as that does not accurately represent the number of years of experience. I figured that I could compamise on this and have a master document that has what year I started with a technology and have a vba macro that converts it into years of experience. Here is what I did</p>
<ol>
<li>Created a new word document with a table in it with 3 columns (column #3 contains the year started) e.g.<br />
<table width="400" cellspacing="1" cellpadding="1" border="1" align="" summary="">
<tbody>
<tr>
<td>Category</td>
<td>Skill</td>
<td>Experience</td>
</tr>
<tr>
<td>Languages</td>
<td>C#</td>
<td>2003</td>
</tr>
<tr>
<td> </td>
<td>VB.NET</td>
<td>2003</td>
</tr>
<tr>
<td> </td>
<td>VBA</td>
<td>2010</td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>Database</td>
<td>MSSQL</td>
<td>2000</td>
</tr>
<tr>
<td> </td>
<td>MYSQL</td>
<td>1999</td>
</tr>
<tr>
<td> </td>
<td>Oracle</td>
<td>1 year</td>
</tr>
</tbody>
</table>
</li>
<li> Open up the macro editor (Alt+F11) and added a new module to the project</li>
<li>Put in this code:
<pre>Sub UpdateYears()</pre>
<pre>    Application.ScreenUpdating = False</pre>
<pre>    currentYear = Year(Date)</pre>
<pre>    For Each tbl In ActiveDocument.Tables</pre>
<pre>        For Each rw In tbl.Rows</pre>
<pre>            Dim experience As Integer</pre>
<pre>            If IsNumeric(StripJunk(rw.Cells(3))) Then</pre>
<pre>                experience = currentYear - StripJunk(rw.Cells(3))</pre>
<pre>                If (experience &lt;= 1) Then</pre>
<pre>                    rw.Cells(3) = experience &amp; " year"</pre>
<pre>                Else</pre>
<pre>                    rw.Cells(3) = experience &amp; " years"</pre>
<pre>                End If</pre>
<pre>            End If</pre>
<pre>        Next</pre>
<pre>    Next</pre>
<pre>End Sub</pre>
<pre>Private Function StripJunk(ByVal s As String)</pre>
<pre>  StripJunk = Trim(Replace(s, vbCr &amp; Chr(7), ""))</pre>
<pre>End Function</pre>
</li>
<li>Saved my word document as &#8220;Word macro-enabled document *.docm&#8221;</li>
<li>Ran the macro (in office 2010-&gt;click &#8220;view&#8221; on the ribbon. Then click the macro drop down. Then click &#8220;View Macros&#8221;. Run the UpdateYears macro</li>
<li>Save a copy of the document as a regular word doc without the macros and send it off.</li>
</ol>
<p>Hopefully this saves you a few hours of VBA/Macro headaches!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.haveyougotwoods.ca/2010/08/08/a-word-macro-to-simplify-resume-generation/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

