<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>My Development KB</title>
	<atom:link href="http://mydevkb.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://mydevkb.wordpress.com</link>
	<description>Odds and ends related to software development</description>
	<lastBuildDate>Wed, 11 Aug 2010 22:21:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='mydevkb.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>My Development KB</title>
		<link>http://mydevkb.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://mydevkb.wordpress.com/osd.xml" title="My Development KB" />
	<atom:link rel='hub' href='http://mydevkb.wordpress.com/?pushpress=hub'/>
		<item>
		<title>WPF &#8211; TextBox lagging performance</title>
		<link>http://mydevkb.wordpress.com/2010/08/11/wpf-textbox-lagging-performance/</link>
		<comments>http://mydevkb.wordpress.com/2010/08/11/wpf-textbox-lagging-performance/#comments</comments>
		<pubDate>Wed, 11 Aug 2010 22:21:30 +0000</pubDate>
		<dc:creator>Ben G</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[BitmapEffect]]></category>
		<category><![CDATA[delay]]></category>
		<category><![CDATA[lag]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[textbox]]></category>

		<guid isPermaLink="false">http://mydevkb.wordpress.com/?p=53</guid>
		<description><![CDATA[I had a WPF TextBox that was showing a painful lag when typing. Tracked it down to the fact that a parent in the visual tree had a Bevel BitmapEffect applied. It wasn&#8217;t obvious to me that a BitmapEffect like that would affect the visual performance of any descendant controls, but it does. The fix [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mydevkb.wordpress.com&amp;blog=6389153&amp;post=53&amp;subd=mydevkb&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I had a WPF TextBox that was showing a painful lag when typing. Tracked it down to the fact that a parent in the visual tree had a Bevel BitmapEffect applied. It wasn&#8217;t obvious to me that a BitmapEffect like that would affect the visual performance of any descendant controls, but it does. The fix for me was simple.</p>
<p>Instead of structuring my tree like this, with the children nested under the Border with the Bitmap effect:</p>
<p><code><span style="color:#a31515;"> </span><span style="color:#0000ff;">&lt;</span><span style="color:#a31515;">Border</span><span style="color:#0000ff;">&gt;<br />
<span style="color:#a31515;"> </span><span style="color:#0000ff;">&lt;</span><span style="color:#a31515;">Border.BitmapEffect</span><span style="color:#0000ff;">&gt;<br />
<span style="color:#a31515;"> </span><span style="color:#0000ff;">&lt;</span><span style="color:#a31515;">BevelBitmapEffect</span><span style="color:#0000ff;"> /&gt;<br />
<span style="color:#a31515;"> </span><span style="color:#0000ff;">&lt;/</span><span style="color:#a31515;">Border.BitmapEffect</span><span style="color:#0000ff;">&gt;<br />
<span style="color:#a31515;"> </span><span style="color:#0000ff;">&lt;</span><span style="color:#a31515;">Grid</span><span style="color:#0000ff;">&gt;<br />
<span style="color:#a31515;"> </span><span style="color:#008000;">&lt;!--Children--&gt;<br />
<span style="color:#a31515;"> </span><span style="color:#0000ff;">&lt;/</span><span style="color:#a31515;">Grid</span><span style="color:#0000ff;">&gt;<br />
<span style="color:#a31515;"> </span><span style="color:#0000ff;">&lt;/</span><span style="color:#a31515;">Border</span><span style="color:#0000ff;">&gt;<br />
</span></span></span></span></span></span></span></span></code></p>
<p>I simply changed it to this, moving the BitmapEffected element out of the ancestry of the rest of the tree:</p>
<p><code><span style="color:#a31515;"> </span><span style="color:#0000ff;">&lt;</span><span style="color:#a31515;">Grid</span><span style="color:#0000ff;">&gt;<br />
<span style="color:#a31515;"> </span><span style="color:#0000ff;">&lt;</span><span style="color:#a31515;">Border</span><span style="color:#0000ff;">&gt;<br />
<span style="color:#a31515;"> </span><span style="color:#0000ff;">&lt;</span><span style="color:#a31515;">Border.BitmapEffect</span><span style="color:#0000ff;">&gt;<br />
<span style="color:#a31515;"> </span><span style="color:#0000ff;">&lt;</span><span style="color:#a31515;">BevelBitmapEffect</span><span style="color:#0000ff;"> /&gt;<br />
<span style="color:#a31515;"> </span><span style="color:#0000ff;">&lt;/</span><span style="color:#a31515;">Border.BitmapEffect</span><span style="color:#0000ff;">&gt;</span></span></span></span></span></code></p>
<p><code> </code></p>
<p><code> <span style="color:#a31515;"> </span><span style="color:#0000ff;">&lt;/</span><span style="color:#a31515;">Border</span><span style="color:#0000ff;">&gt;<br />
<span style="color:#a31515;"> </span><span style="color:#0000ff;">&lt;</span><span style="color:#a31515;">Grid</span><span style="color:#0000ff;">&gt;<br />
<span style="color:#a31515;"> </span><span style="color:#008000;">&lt;!--Children--&gt;<br />
<span style="color:#a31515;"> </span><span style="color:#0000ff;">&lt;/</span><span style="color:#a31515;">Grid</span><span style="color:#0000ff;">&gt;<br />
<span style="color:#a31515;"> </span><span style="color:#0000ff;">&lt;/</span><span style="color:#a31515;">Grid</span><span style="color:#0000ff;">&gt;<br />
</span></span></span></span></span></code></p>
<p>Now the grid that contains the children is a sibling of the BitmapEffected Border, not a descendant.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mydevkb.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mydevkb.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mydevkb.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mydevkb.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mydevkb.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mydevkb.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mydevkb.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mydevkb.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mydevkb.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mydevkb.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mydevkb.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mydevkb.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mydevkb.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mydevkb.wordpress.com/53/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mydevkb.wordpress.com&amp;blog=6389153&amp;post=53&amp;subd=mydevkb&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mydevkb.wordpress.com/2010/08/11/wpf-textbox-lagging-performance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b3cbe20bd46cc0d2cb9f7d539aad2927?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Ben G</media:title>
		</media:content>
	</item>
		<item>
		<title>System.BadImageFormatException when mixing x86 and AnyCPU projects</title>
		<link>http://mydevkb.wordpress.com/2010/01/07/system-badimageformatexception-when-mixing-x86-and-anycpu-projects/</link>
		<comments>http://mydevkb.wordpress.com/2010/01/07/system-badimageformatexception-when-mixing-x86-and-anycpu-projects/#comments</comments>
		<pubDate>Thu, 07 Jan 2010 00:01:33 +0000</pubDate>
		<dc:creator>Ben G</dc:creator>
				<category><![CDATA[.NET]]></category>

		<guid isPermaLink="false">http://mydevkb.wordpress.com/?p=51</guid>
		<description><![CDATA[System.BadImageFormatException: Could not load file or assembly &#8216;MyAssembly, Version=3.0.3658.19308, Culture=neutral, PublicKeyToken=null&#8217; or one of its dependencies. An attempt was made to load a program with an incorrect format. Cause: occurs when you are referencing a DLL or project with its target platform set to x86 from a project set to AnyCPU or x64.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mydevkb.wordpress.com&amp;blog=6389153&amp;post=51&amp;subd=mydevkb&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>System.BadImageFormatException: Could not load file or assembly &#8216;MyAssembly, Version=3.0.3658.19308, Culture=neutral, PublicKeyToken=null&#8217; or one of its dependencies. An attempt was made to load a program with an incorrect format.</p>
<p>Cause: occurs when you are referencing a DLL or project with its target platform set to x86 from a project set to AnyCPU or x64.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mydevkb.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mydevkb.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mydevkb.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mydevkb.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mydevkb.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mydevkb.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mydevkb.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mydevkb.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mydevkb.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mydevkb.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mydevkb.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mydevkb.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mydevkb.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mydevkb.wordpress.com/51/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mydevkb.wordpress.com&amp;blog=6389153&amp;post=51&amp;subd=mydevkb&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mydevkb.wordpress.com/2010/01/07/system-badimageformatexception-when-mixing-x86-and-anycpu-projects/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b3cbe20bd46cc0d2cb9f7d539aad2927?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Ben G</media:title>
		</media:content>
	</item>
		<item>
		<title>12+ hours &#8220;Installing update n of n&#8221; on Windows Vista 64-bit</title>
		<link>http://mydevkb.wordpress.com/2010/01/06/12-hours-installing-update-n-of-n-on-windows-vista-64-bit/</link>
		<comments>http://mydevkb.wordpress.com/2010/01/06/12-hours-installing-update-n-of-n-on-windows-vista-64-bit/#comments</comments>
		<pubDate>Wed, 06 Jan 2010 16:38:03 +0000</pubDate>
		<dc:creator>Ben G</dc:creator>
				<category><![CDATA[Vista]]></category>
		<category><![CDATA[frozen]]></category>
		<category><![CDATA[hung]]></category>
		<category><![CDATA[installing update]]></category>
		<category><![CDATA[stuck]]></category>
		<category><![CDATA[updates]]></category>

		<guid isPermaLink="false">http://mydevkb.wordpress.com/?p=49</guid>
		<description><![CDATA[Yesterday I needed to reboot my system. I saw that it had updates waiting to install, so I chose the &#8220;Install updates and shut down&#8221; option. It reached the &#8220;Installing update 1 of 9&#8230; Do not power off or restart your computer&#8221; stage, and then just sat there. Stuck for hours. There was pretty frequent [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mydevkb.wordpress.com&amp;blog=6389153&amp;post=49&amp;subd=mydevkb&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Yesterday I needed to reboot my system. I saw that it had updates waiting to install, so I chose the &#8220;Install updates and shut down&#8221; option. It reached the &#8220;Installing update 1 of 9&#8230; Do not power off or restart your computer&#8221; stage, and then just sat there. Stuck for hours. There was pretty frequent hard-drive activity.</p>
<p>I was afraid to power down the system, as I&#8217;ve read of it corrupting the OS and requiring a complete reinstall, so just left it. After about 12 hours, it apparently finished the updates and shut down all the way. It then booted fine with no errors.</p>
<p>So, it appears that sometimes those updates <em>can</em> take an obscenely long time. When in doubt, better to give it a while than to force a reboot.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mydevkb.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mydevkb.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mydevkb.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mydevkb.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mydevkb.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mydevkb.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mydevkb.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mydevkb.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mydevkb.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mydevkb.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mydevkb.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mydevkb.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mydevkb.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mydevkb.wordpress.com/49/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mydevkb.wordpress.com&amp;blog=6389153&amp;post=49&amp;subd=mydevkb&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mydevkb.wordpress.com/2010/01/06/12-hours-installing-update-n-of-n-on-windows-vista-64-bit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b3cbe20bd46cc0d2cb9f7d539aad2927?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Ben G</media:title>
		</media:content>
	</item>
		<item>
		<title>Silverlight: System.ArgumentException with DataGridTemplateColumns and UserControls with x:Name</title>
		<link>http://mydevkb.wordpress.com/2009/11/04/silverlight-system-argumentexception-with-datagridtemplatecolumns-and-usercontrols-with-xname/</link>
		<comments>http://mydevkb.wordpress.com/2009/11/04/silverlight-system-argumentexception-with-datagridtemplatecolumns-and-usercontrols-with-xname/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 22:51:49 +0000</pubDate>
		<dc:creator>Ben G</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[SilverLight]]></category>

		<guid isPermaLink="false">http://mydevkb.wordpress.com/?p=46</guid>
		<description><![CDATA[I had a UserControl that specified an x:Name value like this: &#60;UserControl x:Class="CatManagement.UI.TestControl" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Width="400" Height="300" x:Name="Me"&#62; I assigned an x:Name because I was wanting to bind certain UI elements to custom properties defined on my user control. However, this caused a problem when I used this user control in a DataGridTemplateColumn like this: [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mydevkb.wordpress.com&amp;blog=6389153&amp;post=46&amp;subd=mydevkb&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I had a UserControl that specified an x:Name value like this:</p>
<p><code><span style="color:#0000ff;">&lt;</span><span style="color:#a31515;">UserControl</span><span style="color:#ff0000;"> x</span><span style="color:#0000ff;">:</span><span style="color:#ff0000;">Class</span><span style="color:#0000ff;">="CatManagement.UI.TestControl"<br />
<span style="color:#ff0000;"> xmlns</span><span style="color:#0000ff;">="http://schemas.microsoft.com/winfx/2006/xaml/presentation"</span><br />
<span style="color:#ff0000;"> xmlns</span><span style="color:#0000ff;">:</span><span style="color:#ff0000;">x</span><span style="color:#0000ff;">="http://schemas.microsoft.com/winfx/2006/xaml"</span><br />
<span style="color:#ff0000;"> Width</span><span style="color:#0000ff;">="400"</span><span style="color:#ff0000;"> Height</span><span style="color:#0000ff;">="300"</span><span style="color:#ff0000;"> x</span><span style="color:#0000ff;">:</span><span style="color:#ff0000;">Name</span><span style="color:#0000ff;">="Me"&gt;</span></span></code></p>
<p>I assigned an x:Name because I was wanting to bind certain UI elements to custom properties defined on my user control. However, this caused a problem when I used this user control in a DataGridTemplateColumn like this:</p>
<p><code><span style="color:#a31515;"> </span><span style="color:#0000ff;">&lt;</span><span style="color:#a31515;">data</span><span style="color:#0000ff;">:</span><span style="color:#a31515;">DataGridTemplateColumn.CellTemplate</span><span style="color:#0000ff;">&gt;<br />
<span style="color:#a31515;"> </span><span style="color:#0000ff;">&lt;</span><span style="color:#a31515;">DataTemplate</span><span style="color:#0000ff;">&gt;<br />
<span style="color:#a31515;"> </span><span style="color:#0000ff;">&lt;</span><span style="color:#a31515;">local</span><span style="color:#0000ff;">:</span><span style="color:#a31515;">AssignUserControl</span><span style="color:#ff0000;"> DataContext</span><span style="color:#0000ff;">="{</span><span style="color:#a31515;">Binding</span><span style="color:#0000ff;">}"</span><span style="color:#ff0000;"> </span><span style="color:#0000ff;">/&gt;<br />
<span style="color:#a31515;"> </span><span style="color:#0000ff;">&lt;/</span><span style="color:#a31515;">DataTemplate</span><span style="color:#0000ff;">&gt;<br />
<span style="color:#a31515;"> </span><span style="color:#0000ff;">&lt;/</span><span style="color:#a31515;">data</span><span style="color:#0000ff;">:</span><span style="color:#a31515;">DataGridTemplateColumn.CellTemplate</span><span style="color:#0000ff;">&gt;</span></span></span></span></span></code></p>
<p>The problem was that the following exception was thrown whenever a second DataGrid row was inserted:</p>
<p>&nbsp;</p>
<div id="_mcePaste" style="padding-left:30px;">System.ArgumentException was unhandled by user code</div>
<div id="_mcePaste" style="padding-left:30px;">Message=&#8221;Value does not fall within the expected range.&#8221;</div>
<div id="_mcePaste" style="padding-left:30px;">StackTrace:</div>
<div id="_mcePaste" style="padding-left:30px;">at MS.Internal.XcpImports.CheckHResult(UInt32 hr)</div>
<div id="_mcePaste" style="padding-left:30px;">at MS.Internal.XcpImports.UIElement_Measure(UIElement element, Size availableSize)</div>
<div id="_mcePaste" style="padding-left:30px;">at System.Windows.UIElement.Measure(Size availableSize)</div>
<div id="_mcePaste" style="padding-left:30px;">at System.Windows.Controls.DataGrid.InsertDisplayedElement(Int32 slot, UIElement element, Boolean wasNewlyAdded, Boolean updateSlotInformation) &#8230;.</div>
<div id="_mcePaste" style="padding-left:30px;">[snip]</div>
<div></div>
<div>The problem was the x:Name specified on my usercontrol. Apparently, that resulted in multiple items in the same visual tree sharing the same x:Name value. Removing that attribute solved the problem.</div>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mydevkb.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mydevkb.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mydevkb.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mydevkb.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mydevkb.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mydevkb.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mydevkb.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mydevkb.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mydevkb.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mydevkb.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mydevkb.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mydevkb.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mydevkb.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mydevkb.wordpress.com/46/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mydevkb.wordpress.com&amp;blog=6389153&amp;post=46&amp;subd=mydevkb&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mydevkb.wordpress.com/2009/11/04/silverlight-system-argumentexception-with-datagridtemplatecolumns-and-usercontrols-with-xname/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b3cbe20bd46cc0d2cb9f7d539aad2927?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Ben G</media:title>
		</media:content>
	</item>
		<item>
		<title>Controlling .NET System.Net Tracing via the Registry</title>
		<link>http://mydevkb.wordpress.com/2009/06/29/controlling-net-system-net-tracing-via-the-registry/</link>
		<comments>http://mydevkb.wordpress.com/2009/06/29/controlling-net-system-net-tracing-via-the-registry/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 21:38:46 +0000</pubDate>
		<dc:creator>Ben G</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[custom SourceSwitch]]></category>
		<category><![CDATA[custom Switch]]></category>
		<category><![CDATA[registry]]></category>
		<category><![CDATA[System.Net]]></category>
		<category><![CDATA[TraceSource]]></category>
		<category><![CDATA[tracing]]></category>
		<category><![CDATA[tracing programatically]]></category>

		<guid isPermaLink="false">http://mydevkb.wordpress.com/?p=43</guid>
		<description><![CDATA[We have a Click Once-deployed project that I wanted to set up for instrumentation and tracing. Because the project deploys to a rather obscure folder defined by Click Once, it makes it a very difficult thing to have our support personnel troubleshoot issues in the field by applying a modified app.config file that enables tracing. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mydevkb.wordpress.com&amp;blog=6389153&amp;post=43&amp;subd=mydevkb&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>We have a Click Once-deployed project that I wanted to set up for instrumentation and tracing. Because the project deploys to a rather obscure folder defined by Click Once, it makes it a very difficult thing to have our support personnel troubleshoot issues in the field by applying a modified app.config file that enables tracing.</p>
<p>I set up our internal trace sources programmatically to read the switch value from the registry, which worked fine. However, when it came to configuring the System.Net trace sources, I ran into problems. After a lot of searching it appears impossible to gain access to those system trace sources without using some shady reflection techniques which I&#8217;m not comfortable with in a production environment. Without access to those TraceSource objects, it is impossible to programmitically add my own switches and listeners.</p>
<p>My eventual solution was to configure the System.Net trace sources in the app.config file, but use a custom switch that reads its value from the registry. It took me a bit to figure out how to do this, so I&#8217;m reposting it here:</p>
<p>My custom switch looks like this:</p>
<p style="padding-left:30px;"><code><span><br />
<span style="color:#808080;"><span style="color:#008000;"><span style="color:#808080;"><span style="color:#808080;"><span style="color:#0000FF;">Public</span> <span style="color:#0000FF;">Class</span> RegistrySwitch<span><br />
    <span style="color:#0000FF;">Inherits</span> SourceSwitch<span><br />
<span><br />
    <span style="color:#0000FF;">Public</span> <span style="color:#0000FF;">Sub</span> <span style="color:#0000FF;">New</span>(<span style="color:#0000FF;">ByVal</span> name <span style="color:#0000FF;">As</span> <span style="color:#0000FF;">String</span>)<span><br />
        <span style="color:#0000FF;">MyBase</span>.New(name)<span><br />
        <span style="color:#0000FF;">Me</span>.Value = GetSwitchValue()<span><br />
    <span style="color:#0000FF;">End</span> <span style="color:#0000FF;">Sub<span><br />
<span><br />
</span>    <span style="color:#0000FF;">Public</span> <span style="color:#0000FF;">Sub</span> <span style="color:#0000FF;">New</span>(<span style="color:#0000FF;">ByVal</span> name <span style="color:#0000FF;">As</span> <span style="color:#0000FF;">String</span>, <span style="color:#0000FF;">ByVal</span> value <span style="color:#0000FF;">As</span> <span style="color:#0000FF;">String</span>)<span><br />
        <span style="color:#0000FF;">MyBase</span>.New(name)<span><br />
        <span style="color:#0000FF;">Me</span>.Value = GetSwitchValue()<span><br />
    <span style="color:#0000FF;">End</span> <span style="color:#0000FF;">Sub<span><br />
<span><br />
</span>    <span style="color:#0000FF;">Private</span> <span style="color:#0000FF;">Shared</span> <span style="color:#0000FF;">Function</span> GetSwitchValue()<span><br />
        <span style="color:#0000FF;">Dim</span> switchValue <span style="color:#0000FF;">As</span> <span style="color:#0000FF;">String</span> = GetRegistryValue(<span style="color:#A31515;">"TracingLevel"</span>, <span style="color:#A31515;">"Off"</span>)<span><br />
<span><br />
        <span style="color:#0000FF;">Select</span> <span style="color:#0000FF;">Case</span> switchValue<span><br />
            <span style="color:#0000FF;">Case</span> <span style="color:#A31515;">"True"</span>, <span style="color:#A31515;">"1"</span>, <span style="color:#A31515;">"-1"</span>, <span style="color:#A31515;">"On"<span><br />
</span>                switchValue = <span style="color:#A31515;">"All"<span><br />
</span>            <span style="color:#0000FF;">Case</span> <span style="color:#A31515;">"0"</span>, <span style="color:#A31515;">"False"<span><br />
</span>                switchValue = <span style="color:#A31515;">"Off"<span><br />
</span>        <span style="color:#0000FF;">End</span> <span style="color:#0000FF;">Select<span><br />
<span><br />
</span>        <span style="color:#0000FF;">Return</span> switchValue<span><br />
    <span style="color:#0000FF;">End</span> <span style="color:#0000FF;">Function<span><br />
<span><br />
End</span> <span style="color:#0000FF;">Class</span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></code></p>
<p>The GetRegistryValue function (code not shown) simply reads the specified value from our product&#8217;s key in the registry.</p>
<p>Then my app.config file looks like this:<br />
<code><span style="color:#0000FF;">  &lt;</span><span style="color:#A31515;">system.diagnostics</span><span style="color:#0000FF;">&gt;<span><br />
    &lt;</span><span style="color:#A31515;">trace</span><span style="color:#0000FF;"> </span><span style="color:#FF0000;">autoflush</span><span style="color:#0000FF;">=</span>"<span style="color:#0000FF;">true</span>"<span style="color:#0000FF;"> /&gt;<span><br />
    &lt;</span><span style="color:#A31515;">sources</span><span style="color:#0000FF;">&gt;<span><br />
      &lt;</span><span style="color:#A31515;">source</span><span style="color:#0000FF;"> </span><span style="color:#FF0000;">name</span><span style="color:#0000FF;">=</span>"<span style="color:#0000FF;">System.Net</span>"<span style="color:#0000FF;"> </span><span style="color:#FF0000;">tracemode</span><span style="color:#0000FF;">=</span>"<span style="color:#0000FF;">includehex</span>"<span style="color:#0000FF;"> </span><span style="color:#FF0000;">maxdatasize</span><span style="color:#0000FF;">=</span>"<span style="color:#0000FF;">1024</span>"<span style="color:#0000FF;"> </span><span style="color:#FF0000;">switchName</span><span style="color:#0000FF;">=</span>"<span style="color:#0000FF;">NetworkSwitch</span>"<span style="color:#0000FF;"> </span><span style="color:#FF0000;">switchType</span><span style="color:#0000FF;">=</span>"<span style="color:#0000FF;">MyProject.RegistrySwitch, MyProject</span>"<span style="color:#0000FF;">&gt;<span><br />
        &lt;</span><span style="color:#A31515;">listeners</span><span style="color:#0000FF;">&gt;<span><br />
          &lt;</span><span style="color:#A31515;">add</span><span style="color:#0000FF;"> </span><span style="color:#FF0000;">name</span><span style="color:#0000FF;">=</span>"<span style="color:#0000FF;">System.Net</span>"<span style="color:#0000FF;">/&gt;<span><br />
        &lt;/</span><span style="color:#A31515;">listeners</span><span style="color:#0000FF;">&gt;<span><br />
      &lt;/</span><span style="color:#A31515;">source</span><span style="color:#0000FF;">&gt;<span><br />
      &lt;</span><span style="color:#A31515;">source</span><span style="color:#0000FF;"> </span><span style="color:#FF0000;">name</span><span style="color:#0000FF;">=</span>"<span style="color:#0000FF;">System.Net.Sockets</span>"<span style="color:#0000FF;"> </span><span style="color:#FF0000;">switchName</span><span style="color:#0000FF;">=</span>"<span style="color:#0000FF;">NetworkSwitch</span>"<span style="color:#0000FF;">  </span><span style="color:#FF0000;">switchType</span><span style="color:#0000FF;">=</span>"<span style="color:#0000FF;">MyProject.RegistrySwitch, MyProject</span>"<span style="color:#0000FF;">&gt;<span><br />
        &lt;</span><span style="color:#A31515;">listeners</span><span style="color:#0000FF;">&gt;<span><br />
          &lt;</span><span style="color:#A31515;">add</span><span style="color:#0000FF;"> </span><span style="color:#FF0000;">name</span><span style="color:#0000FF;">=</span>"<span style="color:#0000FF;">System.Net</span>"<span style="color:#0000FF;">/&gt;<span><br />
        &lt;/</span><span style="color:#A31515;">listeners</span><span style="color:#0000FF;">&gt;<span><br />
      &lt;/</span><span style="color:#A31515;">source</span><span style="color:#0000FF;">&gt;<span><br />
      &lt;</span><span style="color:#A31515;">source</span><span style="color:#0000FF;"> </span><span style="color:#FF0000;">name</span><span style="color:#0000FF;">=</span>"<span style="color:#0000FF;">System.Net.Cache</span>"<span style="color:#0000FF;"> </span><span style="color:#FF0000;">switchName</span><span style="color:#0000FF;">=</span>"<span style="color:#0000FF;">NetworkSwitch</span>"<span style="color:#0000FF;">  </span><span style="color:#FF0000;">switchType</span><span style="color:#0000FF;">=</span>"<span style="color:#0000FF;">MyProject.RegistrySwitch, MyProject</span>"<span style="color:#0000FF;">&gt;<span><br />
        &lt;</span><span style="color:#A31515;">listeners</span><span style="color:#0000FF;">&gt;<span><br />
          &lt;</span><span style="color:#A31515;">add</span><span style="color:#0000FF;"> </span><span style="color:#FF0000;">name</span><span style="color:#0000FF;">=</span>"<span style="color:#0000FF;">System.Net</span>"<span style="color:#0000FF;">/&gt;<span><br />
        &lt;/</span><span style="color:#A31515;">listeners</span><span style="color:#0000FF;">&gt;<span><br />
      &lt;/</span><span style="color:#A31515;">source</span><span style="color:#0000FF;">&gt;<span><br />
    &lt;/</span><span style="color:#A31515;">sources</span><span style="color:#0000FF;">&gt;<span><br />
    &lt;</span><span style="color:#A31515;">switches</span><span style="color:#0000FF;">&gt;<span><br />
      &lt;</span><span style="color:#A31515;">add</span><span style="color:#0000FF;"> </span><span style="color:#FF0000;">name</span><span style="color:#0000FF;">=</span>"<span style="color:#0000FF;">NetworkSwitch</span>"<span style="color:#0000FF;">  </span><span style="color:#FF0000;">value</span><span style="color:#0000FF;">=</span>"<span style="color:#0000FF;">Off</span>"<span style="color:#0000FF;">/&gt;<span><br />
</span><span style="color:#0000FF;"><span>    &lt;/</span><span style="color:#A31515;">switches</span><span style="color:#0000FF;">&gt;<span><br />
    &lt;</span><span style="color:#A31515;">sharedListeners</span><span style="color:#0000FF;">&gt;<span><br />
      &lt;</span><span style="color:#A31515;">add</span><span style="color:#0000FF;"> </span><span style="color:#FF0000;">name</span><span style="color:#0000FF;">=</span>"<span style="color:#0000FF;">System.Net</span>"<span style="color:#0000FF;"> </span><span style="color:#FF0000;">type</span><span style="color:#0000FF;">=</span>"<span style="color:#0000FF;">MyProject.MyTextWriterTraceListener, MyProject</span>"<span style="color:#0000FF;"> </span><span style="color:#FF0000;">initializeData</span><span style="color:#0000FF;">=</span>"<span style="color:#0000FF;">network.log</span>"<span style="color:#0000FF;"> /&gt;<span><br />
    &lt;/</span><span style="color:#A31515;">sharedListeners</span><span style="color:#0000FF;">&gt;<span><br />
  &lt;/</span><span style="color:#A31515;">system.diagnostics</span><span style="color:#0000FF;">&gt;</span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></code></p>
<p>Notice that I had to define the CLR type of my switch not in the &lt;Switches&gt; node where the switch is named, but in the switchType parameter on each &lt;Source&gt; that references the switch.  Also note that even though the Value of the switch is set to Off in this configuration file, that value is overwritten when my RegistrySwitch subclass initializes with the value from the registry.</p>
<p>Also note that in this example, my listener is a custom type. It is a TextWriterTraceListener that places the log file in a valid user data path.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mydevkb.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mydevkb.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mydevkb.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mydevkb.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mydevkb.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mydevkb.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mydevkb.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mydevkb.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mydevkb.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mydevkb.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mydevkb.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mydevkb.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mydevkb.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mydevkb.wordpress.com/43/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mydevkb.wordpress.com&amp;blog=6389153&amp;post=43&amp;subd=mydevkb&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mydevkb.wordpress.com/2009/06/29/controlling-net-system-net-tracing-via-the-registry/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b3cbe20bd46cc0d2cb9f7d539aad2927?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Ben G</media:title>
		</media:content>
	</item>
		<item>
		<title>Unable to launch ClickOnce .application from SilverLight 2</title>
		<link>http://mydevkb.wordpress.com/2009/06/23/unable-to-launch-clickonce-application-from-silverlight-2/</link>
		<comments>http://mydevkb.wordpress.com/2009/06/23/unable-to-launch-clickonce-application-from-silverlight-2/#comments</comments>
		<pubDate>Tue, 23 Jun 2009 22:46:31 +0000</pubDate>
		<dc:creator>Ben G</dc:creator>
				<category><![CDATA[SilverLight]]></category>
		<category><![CDATA[.application]]></category>
		<category><![CDATA[Click-once]]></category>
		<category><![CDATA[clickonce]]></category>
		<category><![CDATA[Navigate]]></category>

		<guid isPermaLink="false">http://mydevkb.wordpress.com/?p=38</guid>
		<description><![CDATA[Ran into a problem. The following SilverLight code works to launch a URL, but fails when launchign a .application ClickOnce URL: HtmlPage.Window.Navigate(uri) It is caused by security settings preventing the launching of unsafe content from code as opposed to a user-initiated action. I guess that is why the HyperlinkButton control works just fine with a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mydevkb.wordpress.com&amp;blog=6389153&amp;post=38&amp;subd=mydevkb&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Ran into a problem. The following SilverLight code works to launch a URL, but fails when launchign a .application ClickOnce URL:</p>
<p>HtmlPage.Window.Navigate(uri)</p>
<p>It is caused by security settings preventing the launching of unsafe content from code as opposed to a user-initiated action. I guess that is why the HyperlinkButton control works just fine with a .application URL in its NavigateUri property.</p>
<p>To get around this, I subclassed the HyperlinkButton class as shown below:</p>
<p> <code><span style="color:#0000FF;">Public</span> <span style="color:#0000FF;">Class</span> MyHyperlinkButton<span><br />
    <span style="color:#0000FF;">Inherits</span> HyperlinkButton<span><br />
<span><br />
    <span style="color:#0000FF;">Public</span> <span style="color:#0000FF;">Sub</span> NavigateTo(<span style="color:#0000FF;">ByVal</span> url <span style="color:#0000FF;">As</span> <span style="color:#0000FF;">String</span>)<span><br />
        <span style="color:#0000FF;">Me</span>.NavigateUri = <span style="color:#0000FF;">New</span> Uri(url)<span><br />
        <span style="color:#0000FF;">Me</span>.OnClick()<span><br />
    <span style="color:#0000FF;">End</span> <span style="color:#0000FF;">Sub<span><br />
End</span> <span style="color:#0000FF;">Class</span></span></span></span></span></span></span></span></code></p>
<p>The NavigateTo method has access to the protected OnClick method of the HyperlinkButton that initiates the navigation. This navigate takes place through a security path different from HtmlPage.Window.Navigate().</p>
<p>I created an invisble instance of MyHyperlinkButton on my Silverlight page.  Then from anywhere in my Silverlight code-behind, I can call the NavigateTo(url) method on the invisble hyperlink control to successfully launch the ClickOnce application.</p>
<p>Whether I&#8217;m exploiting an unknown security hole here or not, I do not know. It is possible that Microsoft may deem this a security risk and close this work around. In the mean time, for SL2, it works.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mydevkb.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mydevkb.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mydevkb.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mydevkb.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mydevkb.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mydevkb.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mydevkb.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mydevkb.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mydevkb.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mydevkb.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mydevkb.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mydevkb.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mydevkb.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mydevkb.wordpress.com/38/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mydevkb.wordpress.com&amp;blog=6389153&amp;post=38&amp;subd=mydevkb&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mydevkb.wordpress.com/2009/06/23/unable-to-launch-clickonce-application-from-silverlight-2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b3cbe20bd46cc0d2cb9f7d539aad2927?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Ben G</media:title>
		</media:content>
	</item>
		<item>
		<title>IIS7 + WCF service: 405 method not allowed</title>
		<link>http://mydevkb.wordpress.com/2009/06/11/iis7-wcf-service-405-method-not-allowed/</link>
		<comments>http://mydevkb.wordpress.com/2009/06/11/iis7-wcf-service-405-method-not-allowed/#comments</comments>
		<pubDate>Thu, 11 Jun 2009 21:46:10 +0000</pubDate>
		<dc:creator>Ben G</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[405]]></category>
		<category><![CDATA[IIS7]]></category>
		<category><![CDATA[method not allowed]]></category>
		<category><![CDATA[WCF]]></category>
		<category><![CDATA[WCF service]]></category>

		<guid isPermaLink="false">http://mydevkb.wordpress.com/?p=35</guid>
		<description><![CDATA[Recently moved a site from IIS 6 to IIS7 and all of a sudden all WCF services stopped working. A quick sniff showed they were returning 405 &#8220;method not allowed&#8221; or &#8220;invalid verb&#8221;. A search on google turned up the following page which solved the problem. Turns out the WCF SVC handlers weren&#8217;t mapped. http://dotnetdreamer.com/2009/03/21/azure-services-method-not-allowed-405/<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mydevkb.wordpress.com&amp;blog=6389153&amp;post=35&amp;subd=mydevkb&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Recently moved a site from IIS 6 to IIS7 and all of a sudden all WCF services stopped working. A quick sniff showed they were returning 405 &#8220;method not allowed&#8221; or &#8220;invalid verb&#8221;. A search on google turned up the following page which solved the problem. Turns out the WCF SVC handlers weren&#8217;t mapped.</p>
<p><a href="http://dotnetdreamer.com/2009/03/21/azure-services-method-not-allowed-405/">http://dotnetdreamer.com/2009/03/21/azure-services-method-not-allowed-405/</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mydevkb.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mydevkb.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mydevkb.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mydevkb.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mydevkb.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mydevkb.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mydevkb.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mydevkb.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mydevkb.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mydevkb.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mydevkb.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mydevkb.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mydevkb.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mydevkb.wordpress.com/35/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mydevkb.wordpress.com&amp;blog=6389153&amp;post=35&amp;subd=mydevkb&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mydevkb.wordpress.com/2009/06/11/iis7-wcf-service-405-method-not-allowed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b3cbe20bd46cc0d2cb9f7d539aad2927?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Ben G</media:title>
		</media:content>
	</item>
		<item>
		<title>Still a chance to get Xceed&#8217;s WPF datagrid free</title>
		<link>http://mydevkb.wordpress.com/2009/05/26/still-a-chance-to-get-xceeds-wpf-datagrid-free/</link>
		<comments>http://mydevkb.wordpress.com/2009/05/26/still-a-chance-to-get-xceeds-wpf-datagrid-free/#comments</comments>
		<pubDate>Tue, 26 May 2009 16:56:36 +0000</pubDate>
		<dc:creator>Ben G</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mydevkb.wordpress.com/?p=32</guid>
		<description><![CDATA[Xceed is moving their free Express datagrid for WPF to a commercial Standard version. However, there are a few days (19) left to register for the Express version and get a free license to the Standard version, or a $300 voucher to be applied to other versions. If you might have need of Xceed&#8217;s controls in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mydevkb.wordpress.com&amp;blog=6389153&amp;post=32&amp;subd=mydevkb&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Xceed is moving their free Express datagrid for WPF to a commercial Standard version. However, there are a few days (19) left to register for the Express version and get a free license to the Standard version, or a $300 voucher to be applied to other versions. If you might have need of Xceed&#8217;s controls in the future, it&#8217;s worth doing now: <a href="http://xceed.com/freegrid" target="_blank">http://xceed.com/freegrid</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mydevkb.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mydevkb.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mydevkb.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mydevkb.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mydevkb.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mydevkb.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mydevkb.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mydevkb.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mydevkb.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mydevkb.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mydevkb.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mydevkb.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mydevkb.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mydevkb.wordpress.com/32/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mydevkb.wordpress.com&amp;blog=6389153&amp;post=32&amp;subd=mydevkb&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mydevkb.wordpress.com/2009/05/26/still-a-chance-to-get-xceeds-wpf-datagrid-free/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b3cbe20bd46cc0d2cb9f7d539aad2927?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Ben G</media:title>
		</media:content>
	</item>
		<item>
		<title>SilverLight Error: &#8220;could not download the silverlight application&#8221;</title>
		<link>http://mydevkb.wordpress.com/2009/04/28/silverlight-error-could-not-download-the-silverlight-application/</link>
		<comments>http://mydevkb.wordpress.com/2009/04/28/silverlight-error-could-not-download-the-silverlight-application/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 23:29:08 +0000</pubDate>
		<dc:creator>Ben G</dc:creator>
				<category><![CDATA[SilverLight]]></category>
		<category><![CDATA[2104]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[InitializeError]]></category>

		<guid isPermaLink="false">http://mydevkb.wordpress.com/?p=29</guid>
		<description><![CDATA[This error occured when first trying to access my silverlight application on the web server: &#8220;InitializeError error 2104: could not download the silverlight application, check web server settings&#8221;   A brief search online showed the solution: In IIS On the Web Server 1) Go to Site Properties -&#62; HTTP Headers 2) Click MIME Types 3) [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mydevkb.wordpress.com&amp;blog=6389153&amp;post=29&amp;subd=mydevkb&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This error occured when first trying to access my silverlight application on the web server:</p>
<p>&#8220;InitializeError error 2104: could not download the silverlight application, check web server settings&#8221;</p>
<p> </p>
<p>A brief search online showed the solution:</p>
<p><strong>In IIS On the Web Server</strong></p>
<p>1) Go to Site Properties -&gt; HTTP Headers</p>
<p>2) Click <strong>MIME Types</strong></p>
<p>3) Click <strong>New</strong></p>
<p>4) Fill the follow fields:<br />
    Extension: <strong>.xap<br />
</strong>    MIME type: <strong>application/x-silverlight-app</strong></p>
<p>That solved the problem for me.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mydevkb.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mydevkb.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mydevkb.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mydevkb.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mydevkb.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mydevkb.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mydevkb.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mydevkb.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mydevkb.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mydevkb.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mydevkb.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mydevkb.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mydevkb.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mydevkb.wordpress.com/29/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mydevkb.wordpress.com&amp;blog=6389153&amp;post=29&amp;subd=mydevkb&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mydevkb.wordpress.com/2009/04/28/silverlight-error-could-not-download-the-silverlight-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b3cbe20bd46cc0d2cb9f7d539aad2927?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Ben G</media:title>
		</media:content>
	</item>
		<item>
		<title>MethodCaller V2: Multiple Method Calls</title>
		<link>http://mydevkb.wordpress.com/2009/02/16/methodcaller-v2-multiple-method-calls/</link>
		<comments>http://mydevkb.wordpress.com/2009/02/16/methodcaller-v2-multiple-method-calls/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 18:03:16 +0000</pubDate>
		<dc:creator>Ben G</dc:creator>
				<category><![CDATA[M-V-VM]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[method]]></category>
		<category><![CDATA[MVVM]]></category>
		<category><![CDATA[ViewModel event]]></category>
		<category><![CDATA[VM event]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://mydevkb.wordpress.com/?p=20</guid>
		<description><![CDATA[In my last post, I introduced a solution that I put together for invoking UI code in response to ViewModel changes or events. Please read that post for a full explanation. After using the code a bit, I found the need to easily specify multiple methods to be invoked in response to a single ViewModel change. I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mydevkb.wordpress.com&amp;blog=6389153&amp;post=20&amp;subd=mydevkb&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In <a href="http://mydevkb.wordpress.com/2009/02/14/methodcaller-invoking-methods-betwen-the-view-and-the-viewmodel/">my last post</a>, I introduced a solution that I put together for invoking UI code in response to ViewModel changes or events. Please read that post for a full explanation. After using the code a bit, I found the need to easily specify multiple methods to be invoked in response to a single ViewModel change. I extended the framework adding a couple new attached collection properties that allow me to specify multiple method calls, as well as a little clean-up to simplify the framework.</p>
<p>Here is a summary of my changes:</p>
<h2>Losing the MethodCaller.OnEventMethodCall property</h2>
<p>I realized that since the <strong>OnEventMethodCall</strong> object derives from <strong>MethodCall</strong>, there&#8217;s no reason to have a separate attached property for specifying an OnEventMethodCall. So I dropped the MethodCaller.<strong>OnEventMethodCall</strong> attached property. The MethodCaller.<strong>MethodCall</strong> property should be used instead:</p>
<p><code><span style="color:#A31515;">        </span><span style="color:#0000FF;">&lt;</span><span style="color:#A31515;">mc</span><span style="color:#0000FF;">:</span><span style="color:#A31515;">MethodCaller.MethodCall</span><span style="color:#0000FF;">&gt;<span><br />
</span><span style="color:#A31515;">            </span><span style="color:#0000FF;">&lt;</span><span style="color:#A31515;">mc</span><span style="color:#0000FF;">:</span><span style="color:#A31515;">OnEventMethodCall</span><span style="color:#FF0000;"> EventName</span><span style="color:#0000FF;">="Click"</span><span style="color:#FF0000;"> MethodName</span><span style="color:#0000FF;">="SelectPerson"</span><span style="color:#0000FF;">&gt;<span><br />
</span><span style="color:#A31515;">                </span><span style="color:#0000FF;">&lt;</span><span style="color:#A31515;">mc</span><span style="color:#0000FF;">:</span><span style="color:#A31515;">MethodCall.Arguments</span><span style="color:#0000FF;">&gt;<span><br />
</span><span style="color:#A31515;">                    </span><span style="color:#0000FF;">&lt;</span><span style="color:#A31515;">mc</span><span style="color:#0000FF;">:</span><span style="color:#A31515;">MethodArgument</span><span style="color:#FF0000;"> Value</span><span style="color:#0000FF;">="{</span><span style="color:#A31515;">Binding</span><span style="color:#0000FF;">}" /&gt;<span><br />
</span><span style="color:#A31515;">                </span><span style="color:#0000FF;">&lt;/</span><span style="color:#A31515;">mc</span><span style="color:#0000FF;">:</span><span style="color:#A31515;">MethodCall.Arguments</span><span style="color:#0000FF;">&gt;<span><br />
</span><span style="color:#A31515;">            </span><span style="color:#0000FF;">&lt;/</span><span style="color:#A31515;">mc</span><span style="color:#0000FF;">:</span><span style="color:#A31515;">OnEventMethodCall</span><span style="color:#0000FF;">&gt;<span><br />
</span><span style="color:#A31515;">        </span><span style="color:#0000FF;">&lt;/</span><span style="color:#A31515;">mc</span><span style="color:#0000FF;">:</span><span style="color:#A31515;">MethodCaller.MethodCall</span><span style="color:#0000FF;">&gt;</span></span></span></span></span></span></span></code></p>
<p>This makes it cleaner, and also I can create further MethodCall subclasses down the road if needed and use the same attached property to set them up.</p>
<h2>Multiple MethodCalls in a trigger</h2>
<p>I added a new attached property called MethodCaller.<strong>SetMethodCalls</strong> that takes in a <strong>MethodCallCollection</strong> object. This allows me to specify any number of MethodCall objects to be invoked when the trigger fires:</p>
<p> <code><span style="color:#A31515;">        </span><span style="color:#0000FF;">&lt;</span><span style="color:#A31515;">Setter</span><span style="color:#FF0000;"> TargetName</span><span style="color:#0000FF;">="uxRow"</span><span style="color:#FF0000;"> Property</span><span style="color:#0000FF;">="mc:MethodCaller.SetMethodCalls"&gt;<span><br />
</span><span style="color:#A31515;">            </span><span style="color:#0000FF;">&lt;</span><span style="color:#A31515;">Setter.Value</span><span style="color:#0000FF;">&gt;<span><br />
</span><span style="color:#A31515;">                </span><span style="color:#0000FF;">&lt;</span><span style="color:#A31515;">mc</span><span style="color:#0000FF;">:</span><span style="color:#A31515;">MethodCallCollection</span><span style="color:#0000FF;">&gt;<span><br />
</span><span style="color:#A31515;">                    </span><span style="color:#0000FF;">&lt;</span><span style="color:#A31515;">mc</span><span style="color:#0000FF;">:</span><span style="color:#A31515;">MethodCall</span><span style="color:#FF0000;"> MethodName</span><span style="color:#0000FF;">="Focus"</span><span style="color:#FF0000;"> Target</span><span style="color:#0000FF;">="{</span><span style="color:#A31515;">Binding</span><span style="color:#FF0000;"> ElementName</span><span style="color:#0000FF;">=uxText}"</span> <span style="color:#0000FF;"> /&gt;<span><br />
</span><span style="color:#A31515;">                    </span><span style="color:#0000FF;">&lt;</span><span style="color:#A31515;">mc</span><span style="color:#0000FF;">:</span><span style="color:#A31515;">MethodCall</span><span style="color:#FF0000;"> MethodName</span><span style="color:#0000FF;">="BringIntoView" /&gt;</span><span style="color:#A31515;">                                <span><br />
                </span><span style="color:#0000FF;">&lt;/</span><span style="color:#A31515;">mc</span><span style="color:#0000FF;">:</span><span style="color:#A31515;">MethodCallCollection</span><span style="color:#0000FF;">&gt;<span><br />
</span><span style="color:#A31515;">            </span><span style="color:#0000FF;">&lt;/</span><span style="color:#A31515;">Setter.Value</span><span style="color:#0000FF;">&gt;<span><br />
</span><span style="color:#A31515;">        </span><span style="color:#0000FF;">&lt;/</span><span style="color:#A31515;">Setter</span><span style="color:#0000FF;">&gt;</span></span></span></span></span></span></span></span></code></p>
<p>Additionally, this MethodCaller.<strong>SetMethodCalls</strong> attached property would be used to specify <strong>MethodCall</strong>&#8216;s (or <strong>OnEventMethodCall</strong>&#8216;s) via a &lt;Style&gt;. Basically, anywhere you use a &lt;Setter&gt; to set the property. You&#8217;ll notice in the snippet above, that we&#8217;re passing in a new &lt;<strong>MethodCallCollection</strong>&gt; object. The <strong>SetMethodCalls</strong> property has no default value, so when setting it you must pass in a new MethodCallCollection.</p>
<h2>Wiring multiple events on the same object</h2>
<p>The last change is almost identical to the one I just mentioned. I added another attached property called MethodCaller.<strong>MethodCalls</strong> that exposes a <strong>MethodCallCollection</strong> object. The difference between this property and the <strong>SetMethodCalls</strong> property described above is that this collection is already initialized and instantiated, so you can just add to it without creating a new <strong>MethodCallCollection</strong> object:</p>
<p><code><span style="color:#A31515;">        </span><span style="color:#0000FF;">&lt;</span><span style="color:#A31515;">mc</span><span style="color:#0000FF;">:</span><span style="color:#A31515;">MethodCaller.MethodCalls</span><span style="color:#0000FF;">&gt;<span><br />
</span><span style="color:#A31515;">            </span><span style="color:#0000FF;">&lt;</span><span style="color:#A31515;">mc</span><span style="color:#0000FF;">:</span><span style="color:#A31515;">OnEventMethodCall</span><span style="color:#FF0000;"> EventName</span><span style="color:#0000FF;">="Click"</span><span style="color:#FF0000;"> MethodName</span><span style="color:#0000FF;">="SelectPerson"</span><span style="color:#0000FF;">&gt;<span><br />
</span><span style="color:#A31515;">                </span><span style="color:#0000FF;">&lt;</span><span style="color:#A31515;">mc</span><span style="color:#0000FF;">:</span><span style="color:#A31515;">MethodCall.Arguments</span><span style="color:#0000FF;">&gt;<span><br />
</span><span style="color:#A31515;">                    </span><span style="color:#0000FF;">&lt;</span><span style="color:#A31515;">mc</span><span style="color:#0000FF;">:</span><span style="color:#A31515;">MethodArgument</span><span style="color:#FF0000;"> Value</span><span style="color:#0000FF;">="{</span><span style="color:#A31515;">Binding</span><span style="color:#0000FF;">}" /&gt;<span><br />
</span><span style="color:#A31515;">                </span><span style="color:#0000FF;">&lt;/</span><span style="color:#A31515;">mc</span><span style="color:#0000FF;">:</span><span style="color:#A31515;">MethodCall.Arguments</span><span style="color:#0000FF;">&gt;<span><br />
</span><span style="color:#A31515;">            </span><span style="color:#0000FF;">&lt;/</span><span style="color:#A31515;">mc</span><span style="color:#0000FF;">:</span><span style="color:#A31515;">OnEventMethodCall</span><span style="color:#0000FF;">&gt;<span><br />
</span><span style="color:#A31515;">            </span><span style="color:#0000FF;">&lt;</span><span style="color:#A31515;">mc</span><span style="color:#0000FF;">:</span><span style="color:#A31515;">OnEventMethodCall</span><span style="color:#FF0000;"> EventName</span><span style="color:#0000FF;">="MouseLeftButtonUp"</span><span style="color:#FF0000;"> MethodName</span><span style="color:#0000FF;">="Focus" /&gt;<span><br />
</span><span style="color:#A31515;">        </span><span style="color:#0000FF;">&lt;/</span><span style="color:#A31515;">mc</span><span style="color:#0000FF;">:</span><span style="color:#A31515;">MethodCaller.MethodCalls</span><span style="color:#0000FF;">&gt;</span></span></span></span></span></span></span></span></code></p>
<p>(<strong>Note</strong>: creating a read-only attached property of type collection can be tricky because you need to initialize the collection, but unless you do some special setup, the Getter is not called upon first access like you might expect. And setting a default value via the Attached Property&#8217;s Default Value mechanism doesn&#8217;t work either, because the value you specified is a <em>shared</em> value and not unique to the instance of the dependency property. See <a href="http://wekempf.spaces.live.com/blog/cns!D18C3EC06EA971CF!468.entry">Bill Kempf&#8217;s post</a> and <a href="http://blogs.gotdotnet.com/johngossman/archive/2008/07/28/how-to-initialize-an-attached-dependencyproperty-of-type-collection.aspx">John Gossman&#8217;s post</a> for more information and explanation of the why&#8217;s and how&#8217;s.)</p>
<h2>Summary</h2>
<p>In working with the MethodCaller framework, I found these changes to be useful, so I wanted to post them. The latest code can be downloaded <a href="http://sites.google.com/site/bjgrosse/Home/MethodCallerV2.zip?attredirects=0">here</a>. I may make another post in the future walking through some of the actual code behind this solution in case anyone is interested.</p>
<p>Thanks for reading!</p>
<p>&#8212;Benjamin</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mydevkb.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mydevkb.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mydevkb.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mydevkb.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mydevkb.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mydevkb.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mydevkb.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mydevkb.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mydevkb.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mydevkb.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mydevkb.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mydevkb.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mydevkb.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mydevkb.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mydevkb.wordpress.com&amp;blog=6389153&amp;post=20&amp;subd=mydevkb&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mydevkb.wordpress.com/2009/02/16/methodcaller-v2-multiple-method-calls/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b3cbe20bd46cc0d2cb9f7d539aad2927?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Ben G</media:title>
		</media:content>
	</item>
	</channel>
</rss>
