<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Mark Harris</title>
	
	<link>http://www.markharris.net.au/blog</link>
	<description>Prognostication Free</description>
	<lastBuildDate>Tue, 27 Sep 2011 02:32:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/net/FXnX" /><feedburner:info uri="net/fxnx" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><creativeCommons:license>http://creativecommons.org/licenses/by-sa/2.0/</creativeCommons:license><feedburner:emailServiceId>net/FXnX</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Enterprise Development with NServiceBus–Melbourne</title>
		<link>http://feedproxy.google.com/~r/net/FXnX/~3/OQoXh5Y3j98/</link>
		<comments>http://www.markharris.net.au/blog/2011/09/27/enterprise-development-with-nservicebusmelbourne/#comments</comments>
		<pubDate>Tue, 27 Sep 2011 01:13:00 +0000</pubDate>
		<dc:creator>Mark Harris</dc:creator>
				<category><![CDATA[NServiceBus]]></category>
		<category><![CDATA[Training]]></category>

		<guid isPermaLink="false">http://www.markharris.net.au/blog/2011/09/27/enterprise-development-with-nservicebusmelbourne/</guid>
		<description><![CDATA[<p><a href="http://www.lextrico.com/">Lextrico</a> will be hosting Udi Dahan’s 3 Day <a href="http://www.lextrico.com/index.php/nservicebus/">Enterprise Development with NServiceBus course in Melbourne</a>&#160; between the 7th Nov 2011 and 9th of Nov 2011. The course will be delivered by myself <a href="http://www.thejimmyp.com/">Jim Pelletier</a> and <a href="http://www.simonsegal.net/">Simon Segal</a>. <p>Registrations for the course is now <a href="http://www.eventbrite.com/event/2198439592">open</a>.&#160;&#160;</p>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.lextrico.com/"><img style="margin: 2px 0px 5px; display: inline; float: right" align="right" src="http://www.lextrico.com/wp-content/themes/cocomonio/css/style_blue/logo.png" width="215" height="69">Lextrico</a> will be hosting Udi Dahan’s 3 Day <a href="http://www.lextrico.com/index.php/nservicebus/">Enterprise Development with NServiceBus course in Melbourne</a>&nbsp; between the 7th Nov 2011 and 9th of Nov 2011. The course will be delivered by myself <a href="http://www.thejimmyp.com/">Jim Pelletier</a> and <a href="http://www.simonsegal.net/">Simon Segal</a>.
<p>Registrations for the course is now <a href="http://www.eventbrite.com/event/2198439592">open</a>.&nbsp;&nbsp;</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/net/FXnX?a=OQoXh5Y3j98:YNmd03aDd-8:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/net/FXnX?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=OQoXh5Y3j98:YNmd03aDd-8:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/net/FXnX?i=OQoXh5Y3j98:YNmd03aDd-8:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=OQoXh5Y3j98:YNmd03aDd-8:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/net/FXnX?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=OQoXh5Y3j98:YNmd03aDd-8:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/net/FXnX?i=OQoXh5Y3j98:YNmd03aDd-8:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=OQoXh5Y3j98:YNmd03aDd-8:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/net/FXnX?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=OQoXh5Y3j98:YNmd03aDd-8:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/net/FXnX?i=OQoXh5Y3j98:YNmd03aDd-8:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=OQoXh5Y3j98:YNmd03aDd-8:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/net/FXnX?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=OQoXh5Y3j98:YNmd03aDd-8:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/net/FXnX?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=OQoXh5Y3j98:YNmd03aDd-8:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/net/FXnX?i=OQoXh5Y3j98:YNmd03aDd-8:gIN9vFwOqvQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/net/FXnX/~4/OQoXh5Y3j98" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.markharris.net.au/blog/2011/09/27/enterprise-development-with-nservicebusmelbourne/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.markharris.net.au/blog/2011/09/27/enterprise-development-with-nservicebusmelbourne/</feedburner:origLink></item>
		<item>
		<title>Navigating the DTC Maze</title>
		<link>http://feedproxy.google.com/~r/net/FXnX/~3/LO2frqW33WE/</link>
		<comments>http://www.markharris.net.au/blog/2011/06/22/navigating-the-dtc-maze/#comments</comments>
		<pubDate>Tue, 21 Jun 2011 15:08:44 +0000</pubDate>
		<dc:creator>Mark Harris</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[NServiceBus]]></category>
		<category><![CDATA[MSDTC]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows Vista]]></category>
		<category><![CDATA[Windows XP]]></category>

		<guid isPermaLink="false">http://www.markharris.net.au/blog/2011/06/22/navigating-the-dtc-maze/</guid>
		<description><![CDATA[<p>During the process of setting up DTC you usually find yourself working with DTCPING. While invaluable in the configuration process, using it can be a time consuming process. When you run through the tool it progressively provides you with a problems that need fixing. </p> <p>One such error is that only happens when working with [...]]]></description>
			<content:encoded><![CDATA[<p>During the process of setting up DTC you usually find yourself working with DTCPING. While invaluable in the configuration process, using it can be a time consuming process. When you run through the tool it progressively provides you with a problems that need fixing. </p>
<p>One such error is that only happens when working with Windows Client Operating Systems is</p>
<div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: &quot;Courier New&quot;, courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &quot;Courier New&quot;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet">Invoking RPC method on YOUR-MACHINE-NAME Problem:fail <span style="color: #0000ff">to</span> invoke remote RPC method Error(0x5) at dtcping.cpp @303 --&gt;<span style="color: #008000">;RPC pinging exception </span>--&gt;5(Access is denied.)</pre>
<p></div>
<p>RPC is turned off for Remote Clients by default in Windows XP SP2, Windows Vista and Windows 7 as a security measure. </p>
<p>The fix for this is to add a key into the registry. </p>
<p>More details on the change to <a href="http://technet.microsoft.com/en-us/library/cc781010(WS.10).aspx">RPC and the need for RestrictRemoteClients Registry settings</a>. </p>
<p>Below is a bit of PowerShell code that will add/fix the setting in the registry as per the documentation. </p>
<div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: &quot;Courier New&quot;, courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper">
<div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &quot;Courier New&quot;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &quot;Courier New&quot;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">$rpcPath = <span style="color: #006080">'HKLM:Software\Policies\Microsoft\Windows NT\RPC'</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &quot;Courier New&quot;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">$remoteKey = <span style="color: #006080">'RestrictRemoteClients'</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &quot;Courier New&quot;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">$rpc = Test-Path $rpcPath</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &quot;Courier New&quot;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">md $rpcPath -ErrorAction SilentlyContinue</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &quot;Courier New&quot;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">Remove-ItemProperty $rpcPath $remoteKey -ErrorAction SilentlyContinue</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &quot;Courier New&quot;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">New-ItemProperty $rpcPath -name $remoteKey -value <span style="color: #006080">&quot;0&quot;</span> -propertyType dword</pre>
<p><!--CRLF--></div>
</div>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/net/FXnX?a=LO2frqW33WE:iOvMT2BXKjY:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/net/FXnX?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=LO2frqW33WE:iOvMT2BXKjY:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/net/FXnX?i=LO2frqW33WE:iOvMT2BXKjY:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=LO2frqW33WE:iOvMT2BXKjY:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/net/FXnX?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=LO2frqW33WE:iOvMT2BXKjY:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/net/FXnX?i=LO2frqW33WE:iOvMT2BXKjY:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=LO2frqW33WE:iOvMT2BXKjY:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/net/FXnX?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=LO2frqW33WE:iOvMT2BXKjY:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/net/FXnX?i=LO2frqW33WE:iOvMT2BXKjY:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=LO2frqW33WE:iOvMT2BXKjY:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/net/FXnX?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=LO2frqW33WE:iOvMT2BXKjY:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/net/FXnX?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=LO2frqW33WE:iOvMT2BXKjY:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/net/FXnX?i=LO2frqW33WE:iOvMT2BXKjY:gIN9vFwOqvQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/net/FXnX/~4/LO2frqW33WE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.markharris.net.au/blog/2011/06/22/navigating-the-dtc-maze/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.markharris.net.au/blog/2011/06/22/navigating-the-dtc-maze/</feedburner:origLink></item>
		<item>
		<title>MongoDB Training Down Under</title>
		<link>http://feedproxy.google.com/~r/net/FXnX/~3/pgfGibvOkO8/</link>
		<comments>http://www.markharris.net.au/blog/2010/05/19/mongodb-training-down-under/#comments</comments>
		<pubDate>Wed, 19 May 2010 12:58:25 +0000</pubDate>
		<dc:creator>Mark Harris</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[mongodb]]></category>
		<category><![CDATA[Training]]></category>

		<guid isPermaLink="false">http://www.markharris.net.au/blog/2010/05/19/mongodb-training-down-under/</guid>
		<description><![CDATA[<p><a href="http://www.markharris.net.au/blog/wp-content/uploads/2010/05/10gen.png"></a><a href="http://www.10gen.com/" rel="tag" target="_blank">10Gen</a> are currently running a <a href="http://www.surveymonkey.com/s/SYGGJ3W" target="_blank">survey</a> to gauge the interest in doing <a href="http://www.mongodb.org/" rel="tag" target="_blank">MongoDB</a> training in Australia. Get in now and help shape the type of training you want. </p> <p>Personally i choose everyone of the sessions that they could offer. Below is just a small taste [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.markharris.net.au/blog/wp-content/uploads/2010/05/10gen.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; margin-left: 0px; border-top: 0px; margin-right: 0px; border-right: 0px" title="10gen" border="0" alt="10gen" align="right" src="http://www.markharris.net.au/blog/wp-content/uploads/2010/05/10gen_thumb.png" width="244" height="116" /></a><a href="http://www.10gen.com/" rel="tag" target="_blank">10Gen</a> are currently running a <a href="http://www.surveymonkey.com/s/SYGGJ3W" target="_blank">survey</a> to gauge the interest in doing <a href="http://www.mongodb.org/" rel="tag" target="_blank">MongoDB</a> training in Australia. Get in now and help shape the type of training you want. </p>
<p>Personally i choose everyone of the sessions that they could offer. Below is just a small taste of some of the topics on offer</p>
<ul>
<li>Introduction to MongoDB</li>
<li>From MySQL to MongoDB</li>
<li>Real world use case presentations<a href="http://www.markharris.net.au/blog/wp-content/uploads/2010/05/mongoDB.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; margin-left: 0px; border-top: 0px; margin-right: 0px; border-right: 0px" title="mongoDB" border="0" alt="mongoDB" align="right" src="http://www.markharris.net.au/blog/wp-content/uploads/2010/05/mongoDB_thumb.png" width="221" height="94" /></a></li>
<li>Development sprint</li>
</ul>
<p>Hopefully we can get the lot. Jump in, <a href="http://www.surveymonkey.com/s/SYGGJ3W" rel="tag" target="_blank">Register and get started</a>. </p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/net/FXnX?a=pgfGibvOkO8:1O56fuISN28:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/net/FXnX?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=pgfGibvOkO8:1O56fuISN28:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/net/FXnX?i=pgfGibvOkO8:1O56fuISN28:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=pgfGibvOkO8:1O56fuISN28:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/net/FXnX?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=pgfGibvOkO8:1O56fuISN28:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/net/FXnX?i=pgfGibvOkO8:1O56fuISN28:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=pgfGibvOkO8:1O56fuISN28:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/net/FXnX?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=pgfGibvOkO8:1O56fuISN28:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/net/FXnX?i=pgfGibvOkO8:1O56fuISN28:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=pgfGibvOkO8:1O56fuISN28:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/net/FXnX?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=pgfGibvOkO8:1O56fuISN28:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/net/FXnX?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=pgfGibvOkO8:1O56fuISN28:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/net/FXnX?i=pgfGibvOkO8:1O56fuISN28:gIN9vFwOqvQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/net/FXnX/~4/pgfGibvOkO8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.markharris.net.au/blog/2010/05/19/mongodb-training-down-under/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.markharris.net.au/blog/2010/05/19/mongodb-training-down-under/</feedburner:origLink></item>
		<item>
		<title>Doing .NET Days Day 2</title>
		<link>http://feedproxy.google.com/~r/net/FXnX/~3/gueUl_JX5yY/</link>
		<comments>http://www.markharris.net.au/blog/2010/02/13/doing-net-days-day-2/#comments</comments>
		<pubDate>Sat, 13 Feb 2010 04:19:57 +0000</pubDate>
		<dc:creator>Mark Harris</dc:creator>
				<category><![CDATA[doing .NET Days]]></category>
		<category><![CDATA[entity framework]]></category>
		<category><![CDATA[NServiceBus]]></category>
		<category><![CDATA[Training]]></category>

		<guid isPermaLink="false">http://www.markharris.net.au/blog/2010/02/13/doing-net-days-day-2/</guid>
		<description><![CDATA[<p><a href="http://www.markharris.net.au/blog/wp-content/uploads/2010/02/download.png"></a><a href="http://www.markharris.net.au/blog/doing-net-days/">Doing .NET Days</a> Day 2 has been confirmed and locked in for the 6th of March and Registrations are open. Simon has the <a href="http://www.simonsegal.net/blog/2010/02/13/doing-net-days-announcement/">details on the need for moving the date</a>.&#160; A seat can be reserved by via email on the <a href="http://www.markharris.net.au/blog/doing-net-days/">Doing .net Days page</a>. Remember seats are fairly limited so [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.markharris.net.au/blog/wp-content/uploads/2010/02/download.png"><img style="border-right-width: 0px; margin: 0px 5px 0px 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="download" border="0" alt="download" align="left" src="http://www.markharris.net.au/blog/wp-content/uploads/2010/02/download_thumb.png" width="119" height="94" /></a><a href="http://www.markharris.net.au/blog/doing-net-days/">Doing .NET Days</a> Day 2 has been confirmed and locked in for the 6th of March and <strong>Registrations are open</strong>. Simon has the <a href="http://www.simonsegal.net/blog/2010/02/13/doing-net-days-announcement/">details on the need for moving the date</a>.&#160; A seat can be reserved by via email on the <a href="http://www.markharris.net.au/blog/doing-net-days/">Doing .net Days page</a>. Remember seats are fairly limited so if you wish to attend don’t put it off if you can help it. </p>
<p>The topics covered this time around are ‘Helping the Entity Framework play its &lt;ROLE&gt;’, looking at ways of using behavioural roles defined by interfaces in your system to be explicit and achieve high performance results, finer grained separation of concerns and greater configurability between your Domain Model and infrastructure. The second topic will be a practical look at getting started with NServiceBus, including demonstrations taking in messaging patterns such as Publish / Subscribe and full duplex.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/net/FXnX?a=gueUl_JX5yY:Nl_hTUs9jzQ:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/net/FXnX?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=gueUl_JX5yY:Nl_hTUs9jzQ:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/net/FXnX?i=gueUl_JX5yY:Nl_hTUs9jzQ:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=gueUl_JX5yY:Nl_hTUs9jzQ:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/net/FXnX?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=gueUl_JX5yY:Nl_hTUs9jzQ:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/net/FXnX?i=gueUl_JX5yY:Nl_hTUs9jzQ:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=gueUl_JX5yY:Nl_hTUs9jzQ:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/net/FXnX?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=gueUl_JX5yY:Nl_hTUs9jzQ:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/net/FXnX?i=gueUl_JX5yY:Nl_hTUs9jzQ:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=gueUl_JX5yY:Nl_hTUs9jzQ:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/net/FXnX?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=gueUl_JX5yY:Nl_hTUs9jzQ:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/net/FXnX?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=gueUl_JX5yY:Nl_hTUs9jzQ:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/net/FXnX?i=gueUl_JX5yY:Nl_hTUs9jzQ:gIN9vFwOqvQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/net/FXnX/~4/gueUl_JX5yY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.markharris.net.au/blog/2010/02/13/doing-net-days-day-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.markharris.net.au/blog/2010/02/13/doing-net-days-day-2/</feedburner:origLink></item>
		<item>
		<title>Developing a sense of Scalability</title>
		<link>http://feedproxy.google.com/~r/net/FXnX/~3/O9fWpL53VJ4/</link>
		<comments>http://www.markharris.net.au/blog/2010/02/06/developing-a-sense-of-scalability/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 15:41:04 +0000</pubDate>
		<dc:creator>Mark Harris</dc:creator>
				<category><![CDATA[Architecture]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[Scalability]]></category>

		<guid isPermaLink="false">http://www.markharris.net.au/blog/?p=218</guid>
		<description><![CDATA[<p>Scott Hanselman’s recent post about <a href="http://www.hanselman.com/blog/BackToBasicsKeepItSimpleAndDevelopYourSenseOfSmellFromLinqToCSV.aspx">exporting data from a database to a csv file</a> where he talks about how some code could be improved. He does a very nice job of showing how and were the code could remove the smells that were present in the original design. However there are a few things [...]]]></description>
			<content:encoded><![CDATA[<p>Scott Hanselman’s recent post about <a href="http://www.hanselman.com/blog/BackToBasicsKeepItSimpleAndDevelopYourSenseOfSmellFromLinqToCSV.aspx">exporting data from a database to a csv file</a> where he talks about how some code could be improved. He does a very nice job of showing how and were the code could remove the smells that were present in the original design. However there are a few things that I see that if changed could improve both the performance and scalability of the system.</p>
<p>While this is something that depending on the complexity and scalability needs of your site one may consider over kill, it is something that takes minimal effort in design to create a system that is innately more scalable. What happens when the data you are querying starts to push out is 5-10Mb of Data to a CSV file?</p>
<h2>Option 1</h2>
<p>So rather than generate the list of Foo into a CSV at each request why not pre generate the list at pre configured intervals depending on the volatility of the data and save the resultant CSV to a san that can be served up via IIS. In this scenario there is no need for the ASP.NET worker process to get involved and the IIS process can do what it was meant to do serve content.</p>
<p><a href="http://www.markharris.net.au/blog/wp-content/uploads/2010/02/Pregeneratedfilesystem.png"><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="Pregenerated file system" border="0" alt="Pregenerated file system" src="http://www.markharris.net.au/blog/wp-content/uploads/2010/02/Pregeneratedfilesystem_thumb.png" width="484" height="225" /></a> </p>
<h3>Advantages</h3>
<ul>
<li>No need to hit the DB to get the data</li>
<li>You don&#8217;t have to involve the asp.net worker process and let IIS do what its designed to do</li>
</ul>
<h3>Disadvantages</h3>
<ul>
<li>Your data may be stale up to a preconfigured amount of time (but since its going to a report of sorts it is more than likely stale)</li>
</ul>
<h2>Option 2 </h2>
<p>So your business requirement absolutely dictates that it is required to be generated and sent as the user requests it. There is no choice, you have but to send it through the response stream. BUT there is another way. Say when this request for the data to be exported VIA an AJAX call to your server the response from the server is a URL to where the file will be output. Now the server it self can then send a message to the export to csv service and request the file be output to the san. The client can then poll the server waiting for a 200 response code, when it does get one it can then redirect the browser to the given URL.</p>
<p><a href="http://www.markharris.net.au/blog/wp-content/uploads/2010/02/pollingfilesystem.png"><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="polling file system" border="0" alt="polling file system" src="http://www.markharris.net.au/blog/wp-content/uploads/2010/02/pollingfilesystem_thumb.png" width="466" height="320" /></a> </p>
<h3>Advantages</h3>
<ul>
<li>Gives you more or less up to the minute accurate data</li>
<li>Reduces the amount of work the asp.net worker process has to perform</li>
</ul>
<h3>Disadvantages</h3>
<ul>
<li>Introduces polling into the design of the client</li>
</ul>
<p>When designing systems that do not take Scalability into account from the ground up, you generally are missing something. Considering Scalability does not mean that you choose either of these two options all the time. At times it might make sense to think about using the approach suggested in Scott’s article, the key being to always <strike>think about</strike> know your data and make informed decisions.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/net/FXnX?a=O9fWpL53VJ4:bsybJtrsCIg:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/net/FXnX?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=O9fWpL53VJ4:bsybJtrsCIg:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/net/FXnX?i=O9fWpL53VJ4:bsybJtrsCIg:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=O9fWpL53VJ4:bsybJtrsCIg:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/net/FXnX?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=O9fWpL53VJ4:bsybJtrsCIg:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/net/FXnX?i=O9fWpL53VJ4:bsybJtrsCIg:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=O9fWpL53VJ4:bsybJtrsCIg:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/net/FXnX?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=O9fWpL53VJ4:bsybJtrsCIg:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/net/FXnX?i=O9fWpL53VJ4:bsybJtrsCIg:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=O9fWpL53VJ4:bsybJtrsCIg:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/net/FXnX?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=O9fWpL53VJ4:bsybJtrsCIg:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/net/FXnX?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=O9fWpL53VJ4:bsybJtrsCIg:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/net/FXnX?i=O9fWpL53VJ4:bsybJtrsCIg:gIN9vFwOqvQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/net/FXnX/~4/O9fWpL53VJ4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.markharris.net.au/blog/2010/02/06/developing-a-sense-of-scalability/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.markharris.net.au/blog/2010/02/06/developing-a-sense-of-scalability/</feedburner:origLink></item>
		<item>
		<title>Doing Advanced Distributed Systems Design – A Gift from Santa</title>
		<link>http://feedproxy.google.com/~r/net/FXnX/~3/eskauqEaMBA/</link>
		<comments>http://www.markharris.net.au/blog/2010/02/04/doing-advanced-distributed-systems-design-a-gift-from-santa/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 13:46:27 +0000</pubDate>
		<dc:creator>Mark Harris</dc:creator>
				<category><![CDATA[Career]]></category>
		<category><![CDATA[NServiceBus]]></category>
		<category><![CDATA[soa]]></category>
		<category><![CDATA[Training]]></category>

		<guid isPermaLink="false">http://www.markharris.net.au/blog/?p=210</guid>
		<description><![CDATA[<p>It is the second time I have sat through<a href="http://www.udidahan.com/training/">&#160;Udi&#8217;s Advanced Distributed Systems Design</a>. Unlike repeating a course at University, I was like a 6 year old waiting for Santa Claus to arrive with his presents at Christmas. Not only has the course content been refined in some sections, CQRS (In case you missed it [...]]]></description>
			<content:encoded><![CDATA[<p>It is the second time I have sat through<a href="http://www.udidahan.com/training/">&nbsp;Udi&#8217;s Advanced Distributed Systems Design</a>. Unlike repeating a course at University, I was like a 6 year old waiting for Santa Claus to arrive with his presents at Christmas. Not only has the course content been refined in some sections, CQRS (In case you missed it you can <a href="http://www.markharris.net.au/blog/2010/01/24/video-of-command-query-responsibility-segregation-by-udi-dahan/">watch Udi&#8217;s presentation on CQRS here</a>) for instance. Udi&#8217;s delivery of the material is such that he always has you yearning for more. The first time i did this course it was as though someone had opened my minds eye. Since then I have made so many changes to my thinking and the way I approach development. </p>
<p>My reasons for attending the course again were simple
<ol>
<li>Gauge my progression</li>
<li>Hear other peoples thoughts and opinions</li>
<li>Spend more time at the feet of the master</li>
<li>And of course Learn some more</li>
</ol>
<p>The beauty of this course is that despite the complexity of the architecture and the concepts the delivery makes the comprehension a breeze.&nbsp; <a href="http://www.paulbatum.com/2010/01/advanced-distributed-systems-design.html">Paul Batum</a> and <a href="http://rhysc.blogspot.com/2010/01/udi-dahan-advanced-distributed-systems.html">Rhys Campbell</a> who attended the course have written up their impressions, as has <a href="http://www.simonsegal.net/blog/2010/02/04/adsd-nservicebus-and-nuclear-armament-the-full-story/">Simon</a> and we all agree that it is worth its weight in gold. So if you have thought about ever doing this course and can make it to one do so, but if your not able to go to one of upcoming courses I would strongly suggest <a href="http://www.udidahan.com/contact/">getting in touch with Udi</a> and working other possible solutions with him. Which is why I guess Simon is owed big thanks for setting up this opportunity. </p>
<p>As for NServiceBus and its comparisons to <a href="http://twitter.com/markmario/status/6254304647">Nuclear Armament</a>, I can only say that once you have used it, there is a realization that there is great power that can be wielded without any effort. Till you can try it for yourself see what <a href="http://twitter.com/#search?q=NServiceBus">twitter has to say about NServiceBus</a>. For me the next dose of sharing some NServiceBus love will be at <a href="http://www.markharris.net.au/blog/doing-net-days/">Day 2 of Doing .net Days on the 27th February 2010</a> if you have nothing on that Saturday why not send an <a href="mailto:simon.segal@simonsegal.net">email to register a seat</a> before they run out</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/net/FXnX?a=eskauqEaMBA:1HV_XnNFtXA:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/net/FXnX?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=eskauqEaMBA:1HV_XnNFtXA:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/net/FXnX?i=eskauqEaMBA:1HV_XnNFtXA:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=eskauqEaMBA:1HV_XnNFtXA:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/net/FXnX?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=eskauqEaMBA:1HV_XnNFtXA:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/net/FXnX?i=eskauqEaMBA:1HV_XnNFtXA:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=eskauqEaMBA:1HV_XnNFtXA:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/net/FXnX?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=eskauqEaMBA:1HV_XnNFtXA:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/net/FXnX?i=eskauqEaMBA:1HV_XnNFtXA:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=eskauqEaMBA:1HV_XnNFtXA:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/net/FXnX?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=eskauqEaMBA:1HV_XnNFtXA:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/net/FXnX?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=eskauqEaMBA:1HV_XnNFtXA:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/net/FXnX?i=eskauqEaMBA:1HV_XnNFtXA:gIN9vFwOqvQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/net/FXnX/~4/eskauqEaMBA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.markharris.net.au/blog/2010/02/04/doing-advanced-distributed-systems-design-a-gift-from-santa/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.markharris.net.au/blog/2010/02/04/doing-advanced-distributed-systems-design-a-gift-from-santa/</feedburner:origLink></item>
		<item>
		<title>Who’s on First?</title>
		<link>http://feedproxy.google.com/~r/net/FXnX/~3/NrdbML5bcdA/</link>
		<comments>http://www.markharris.net.au/blog/2010/01/30/whos-on-first/#comments</comments>
		<pubDate>Sat, 30 Jan 2010 07:26:26 +0000</pubDate>
		<dc:creator>Mark Harris</dc:creator>
				<category><![CDATA[Career]]></category>
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.markharris.net.au/blog/2010/01/30/whos-on-first/</guid>
		<description><![CDATA[<p>That’s the game I find myself playing with Microsoft software names these days, It’s one thing to go from Indigo and Avalon to WCF and WPF but oh those days of simplicity are a far cry from what we have today. Let’s start with Oslo, what original started as the &#34;updated messaging and workflow technologies [...]]]></description>
			<content:encoded><![CDATA[<p>That’s the game I find myself playing with Microsoft software names these days, It’s one thing to go from Indigo and Avalon to WCF and WPF but oh those days of simplicity are a far cry from what we have today. Let’s start with Oslo, what original started as the &quot;updated messaging and workflow technologies in the next version of BizTalk Server and other products&quot; aka Biztalk VNext which was on their SOA site if my memory serves me correct. But what have we today “SQL Server Modeling”. </p>
<p>That’s ok you say we are used to the <a href="http://en.wikipedia.org/wiki/Microsoft_code_names">Microsoft code name</a> to product name shenanigans. Sure but its way more than just changing names and focus or both. This quite often has me having this conversation with myself</p>
<p><strong>Me</strong>: What is Microsoft Distributed Caching product? Velocity?</p>
<p><strong>Myself</strong>: No that’s the old name now its “Windows Server AppFabric” <a href="http://www.markharris.net.au/blog/wp-content/uploads/2010/01/roses.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; margin-left: 0px; border-top: 0px; margin-right: 0px; border-right: 0px" title="roses" border="0" alt="roses" align="right" src="http://www.markharris.net.au/blog/wp-content/uploads/2010/01/roses_thumb.jpg" width="160" height="213" /></a> </p>
<p><strong>Me</strong>: Ok thanks ill download that but what does AppFabric have to do with Caching? And where is the CTP of that application server that came from the “Olso” group? Dublin. </p>
<p><strong>Myself</strong>: Oh you have that already?</p>
<p><strong>Me</strong>: No all I have is that “Windows Server AppFabric”</p>
<p><strong>Myself</strong>: Yes that’s Dublin.</p>
<p><strong>Me</strong>: But I thought that “Windows Server AppFabric” is Velocity</p>
<p><strong>Myself</strong>: Yes it is</p>
<p><strong>Me</strong>: BUT BUT BUT….</p>
<p><strong>Myself</strong>: No Buts It just is.</p>
<p>I hope that this constant cycle of <strike>change</strike> <strike>innovation</strike> <strike>duplication</strike> from Microsoft slows down to a pace that people can keep up with. Maybe even have a sniff of the roses and ensure that it is actually making a difference, and not just causing more noise from Redmond.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/net/FXnX?a=NrdbML5bcdA:9GbpkPXPWaE:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/net/FXnX?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=NrdbML5bcdA:9GbpkPXPWaE:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/net/FXnX?i=NrdbML5bcdA:9GbpkPXPWaE:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=NrdbML5bcdA:9GbpkPXPWaE:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/net/FXnX?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=NrdbML5bcdA:9GbpkPXPWaE:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/net/FXnX?i=NrdbML5bcdA:9GbpkPXPWaE:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=NrdbML5bcdA:9GbpkPXPWaE:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/net/FXnX?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=NrdbML5bcdA:9GbpkPXPWaE:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/net/FXnX?i=NrdbML5bcdA:9GbpkPXPWaE:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=NrdbML5bcdA:9GbpkPXPWaE:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/net/FXnX?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=NrdbML5bcdA:9GbpkPXPWaE:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/net/FXnX?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=NrdbML5bcdA:9GbpkPXPWaE:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/net/FXnX?i=NrdbML5bcdA:9GbpkPXPWaE:gIN9vFwOqvQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/net/FXnX/~4/NrdbML5bcdA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.markharris.net.au/blog/2010/01/30/whos-on-first/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.markharris.net.au/blog/2010/01/30/whos-on-first/</feedburner:origLink></item>
		<item>
		<title>Video of Command Query Responsibility Segregation by Udi Dahan</title>
		<link>http://feedproxy.google.com/~r/net/FXnX/~3/2rl3wL2pnJ4/</link>
		<comments>http://www.markharris.net.au/blog/2010/01/24/video-of-command-query-responsibility-segregation-by-udi-dahan/#comments</comments>
		<pubDate>Sun, 24 Jan 2010 12:33:46 +0000</pubDate>
		<dc:creator>Mark Harris</dc:creator>
				<category><![CDATA[Architecture]]></category>
		<category><![CDATA[CQRS]]></category>

		<guid isPermaLink="false">http://www.markharris.net.au/blog/2010/01/24/video-of-command-query-responsibility-segregation-by-udi-dahan/</guid>
		<description><![CDATA[<p><a href="http://www.udidahan.com/">Udi</a> presented his talk on CQRS at the <a href="http://www.victoriadotnet.com.au/vic_index.aspx">Victoria.Net User Group</a> on the 19th of January in Melbourne, we recorded his presentation.&#160; Hopefully this is of some benefit despite the audio and video not being the greatest. It was a great night that opened many eyes and ears to the best. </p> <p [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.udidahan.com/">Udi</a> presented his talk on CQRS at the <a href="http://www.victoriadotnet.com.au/vic_index.aspx">Victoria.Net User Group</a> on the 19th of January in Melbourne, we recorded his presentation.&#160; Hopefully this is of some benefit despite the audio and video not being the greatest. It was a great night that opened many eyes and ears to the best. </p>
<p align="center">&#160;</p>
<p> <object width="400" height="300"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=8944337&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=8944337&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"></embed></object>
<p align="center"><a href="http://vimeo.com/8944337">Command Query Responsibility Segregation &#8211; Udi Dahan</a> from <a href="http://vimeo.com/markmario">Mark Harris</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/net/FXnX?a=2rl3wL2pnJ4:Fh2j80hv09k:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/net/FXnX?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=2rl3wL2pnJ4:Fh2j80hv09k:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/net/FXnX?i=2rl3wL2pnJ4:Fh2j80hv09k:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=2rl3wL2pnJ4:Fh2j80hv09k:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/net/FXnX?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=2rl3wL2pnJ4:Fh2j80hv09k:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/net/FXnX?i=2rl3wL2pnJ4:Fh2j80hv09k:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=2rl3wL2pnJ4:Fh2j80hv09k:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/net/FXnX?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=2rl3wL2pnJ4:Fh2j80hv09k:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/net/FXnX?i=2rl3wL2pnJ4:Fh2j80hv09k:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=2rl3wL2pnJ4:Fh2j80hv09k:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/net/FXnX?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=2rl3wL2pnJ4:Fh2j80hv09k:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/net/FXnX?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=2rl3wL2pnJ4:Fh2j80hv09k:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/net/FXnX?i=2rl3wL2pnJ4:Fh2j80hv09k:gIN9vFwOqvQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/net/FXnX/~4/2rl3wL2pnJ4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.markharris.net.au/blog/2010/01/24/video-of-command-query-responsibility-segregation-by-udi-dahan/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		<feedburner:origLink>http://www.markharris.net.au/blog/2010/01/24/video-of-command-query-responsibility-segregation-by-udi-dahan/</feedburner:origLink></item>
		<item>
		<title>Lessons Learned from building a Linq To Sql Saga Persister</title>
		<link>http://feedproxy.google.com/~r/net/FXnX/~3/YY0zU4QVbRM/</link>
		<comments>http://www.markharris.net.au/blog/2009/12/09/lessons-learned-from-building-a-linq-to-sql-saga-persister/#comments</comments>
		<pubDate>Tue, 08 Dec 2009 16:28:15 +0000</pubDate>
		<dc:creator>Mark Harris</dc:creator>
				<category><![CDATA[Architecture]]></category>
		<category><![CDATA[NServiceBus]]></category>
		<category><![CDATA[Linq To Sql]]></category>
		<category><![CDATA[saga persister]]></category>

		<guid isPermaLink="false">http://www.markharris.net.au/blog/?p=195</guid>
		<description><![CDATA[<p>Simon has released the first version of the <a href="http://www.simonsegal.net/blog/2009/12/08/nservicebus-linq-to-sql-saga-persister-part-20/">Linq To Sql Saga Persister</a> code and the <a href="http://www.simonsegal.net/blog/2009/12/09/entity-framework-saga-persister-for-nservicebus/">EF 1 Saga Persister</a> in the past couple of days. In fact we started <a href="http://twitter.com/markmario/status/3992828301">working on the saga persister mid September</a>, so what took doing something like a Saga Persister, a fairly trivial exercise almost 3 [...]]]></description>
			<content:encoded><![CDATA[<p>Simon has released the first version of the <a href="http://www.simonsegal.net/blog/2009/12/08/nservicebus-linq-to-sql-saga-persister-part-20/">Linq To Sql Saga Persister</a> code and the <a href="http://www.simonsegal.net/blog/2009/12/09/entity-framework-saga-persister-for-nservicebus/">EF 1 Saga Persister</a> in the past couple of days. In fact we started <a href="http://twitter.com/markmario/status/3992828301">working on the saga persister mid September</a>, so what took doing something like a Saga Persister, a fairly trivial exercise almost 3 months. To be fair Simon initially put some of the <a href="http://www.simonsegal.net/blog/2009/09/22/a-linq-to-sql-saga-persister-for-nservicebus/">work on the persister</a> quite quickly. However once we started to use the code in our test with the Manufacturing sample under load it would begin to creak. Seeing as that was a problem we had to switch to using the NHibernate Saga persister for our client to go into production.</p>
<p>The first thing that went through our minds was that we had written the persister wrong, however a persistent Simon continued to work through the issues. Along the way we discovered a few things.</p>
<ol>
<li>NHibernate is faster and therefore able to handle the load better.</li>
<li>Proper Saga Design is important.</li>
</ol>
<h3>NHibernate is faster</h3>
<p>Most of you already know this but the key thing here is that because its faster it fails less therefore the issues that we saw in the development of the persister was difficult to isolate.</p>
<p>In the Manufacturing Sample that comes with NServiceBus start up all the required services and when the partner is ready run it in simulate mode, it does not fail. doing the same thing when using the L2S persister had the same effect. </p>
<p>Once the number of worker threads on the Order Service Host was increased to 4 could use we started to see a whole bunch of errors. From messages not being completed to violation of primary keys and deadlocks. Using the NHibernate persister required us to increase the workers to 6 or 7 you would start to notice similar errors.This leads me to the next item.</p>
<h3>Proper Saga Design is Important</h3>
<p>If your not sure about what a Saga is please <a href="http://sourceforge.net/apps/mediawiki/nservicebus/index.php?title=Sagas">read the NServiceBus wiki</a>. When considering how you build a system&#160; though that goes into how you would like to handle long running transactions is important. Knowing how many transactions per second. What are the SLA’s? My rule of thumb the more i think about it is that a Saga message that starts the saga should be unique any subsequent messages that are part of that saga should be dealt with a more explicit message handler. So you have a CreateOrderMessage that starts a saga and subsequent messages are handled by UpdateOrderMessages for changes to the order, with CancelOrderMessages and AuthorizeOrderMessages being explicit to the saga. </p>
<p>In my opinion doing so produces both a simpler and more explicit design of your long lived transaction. This however is now going down the path of a different post one that warrants a post of it own.</p>
<p>The <a href="http://graysmatter.codivation.com/post/How-I-Am-Becoming-A-Better-Developer-Part-1-Of-Infinity.aspx">Benefits of Reading code</a> became clear the deeper we went through the NServiceBus code base, the more you understand how each piece interacts with the other to provide a great framework. Despite all the hurdles L2S provided it was worth the effort. What must be said for NServiceBus is that it is highly extensible already evidenced by its existing OOB support for 4 IOC frameworks, now 3 ORM’s and in the future with version 2.1 it will support a whole raft of Queued Transports.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/net/FXnX?a=YY0zU4QVbRM:xNHNXWbUJV0:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/net/FXnX?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=YY0zU4QVbRM:xNHNXWbUJV0:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/net/FXnX?i=YY0zU4QVbRM:xNHNXWbUJV0:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=YY0zU4QVbRM:xNHNXWbUJV0:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/net/FXnX?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=YY0zU4QVbRM:xNHNXWbUJV0:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/net/FXnX?i=YY0zU4QVbRM:xNHNXWbUJV0:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=YY0zU4QVbRM:xNHNXWbUJV0:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/net/FXnX?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=YY0zU4QVbRM:xNHNXWbUJV0:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/net/FXnX?i=YY0zU4QVbRM:xNHNXWbUJV0:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=YY0zU4QVbRM:xNHNXWbUJV0:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/net/FXnX?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=YY0zU4QVbRM:xNHNXWbUJV0:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/net/FXnX?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=YY0zU4QVbRM:xNHNXWbUJV0:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/net/FXnX?i=YY0zU4QVbRM:xNHNXWbUJV0:gIN9vFwOqvQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/net/FXnX/~4/YY0zU4QVbRM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.markharris.net.au/blog/2009/12/09/lessons-learned-from-building-a-linq-to-sql-saga-persister/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.markharris.net.au/blog/2009/12/09/lessons-learned-from-building-a-linq-to-sql-saga-persister/</feedburner:origLink></item>
		<item>
		<title>Service Broker – Some thoughts post hoc</title>
		<link>http://feedproxy.google.com/~r/net/FXnX/~3/JqO5S-h3WiU/</link>
		<comments>http://www.markharris.net.au/blog/2009/12/01/service-broker-some-thoughts-post-hoc/#comments</comments>
		<pubDate>Mon, 30 Nov 2009 15:22:24 +0000</pubDate>
		<dc:creator>Mark Harris</dc:creator>
				<category><![CDATA[.net]]></category>
		<category><![CDATA[Architecture]]></category>
		<category><![CDATA[NServiceBus]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[servicebroker]]></category>

		<guid isPermaLink="false">http://www.markharris.net.au/blog/?p=181</guid>
		<description><![CDATA[<p><a href="http://www.markharris.net.au/blog/wp-content/uploads/2009/12/servicebroker.gif"></a> </p> <p>This post has been sitting in my drafts for a while. After my day today i felt that it was best that i put my thoughts about service broker down. <br />In a project that i worked on about 2 years ago Service Broker was used as part of the system to [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.markharris.net.au/blog/wp-content/uploads/2009/12/servicebroker.gif"><img style="border-bottom: 0px; border-left: 0px; display: inline; margin-left: 0px; border-top: 0px; margin-right: 0px; border-right: 0px" title="service broker" border="0" alt="sql service broker" align="left" src="http://www.markharris.net.au/blog/wp-content/uploads/2009/12/servicebroker_thumb.gif" width="178" height="167" /></a> </p>
<p>This post has been sitting in my drafts for a while. After my day today i felt that it was best that i put my thoughts about service broker down.    <br />In a project that i worked on about 2 years ago Service Broker was used as part of the system to perform data validation.&#160; If success was measured by the amount of time that a system has been in production without major issues then i can say that it was successful. </p>
<p>But if a system was to be judged by how much of a pain it is to maintain then l must say that its was not a <strike>glowing</strike> success. Below is a list of things that i found as good or bad about it. </p>
<p><strong>&#160;</strong></p>
<p><strong>Bad things</strong></p>
<ol>
<li>Limited information on the internet </li>
<li>Testing is extremely hard (compromises everywhere) </li>
<li>Troubleshooting is a pain </li>
<li>It could stop working and you may never know, (if using a fire and forget mechanism) </li>
<li>Poison messages disable queues (would have been nicer if it moved the message to a error queue) </li>
</ol>
<p><strong>Good things</strong></p>
<ol>
<li>Its Asynchronous </li>
<li>Its Asynchronous </li>
<li>Its Asynchronous </li>
</ol>
<p>Yes this list is one sided but true. The question that is important though is</p>
<p><strong>Would i use Service Broker again?</strong></p>
<p>The answer to that question is strangely YES. Only in very specific circumstances where system is ok with not having some data loss because of queue being disabled</p>
<p><strong>What would I use instead?</strong></p>
<p><strong><a href="http://www.nservicebus.com/" rel="tag">NServiceBus</a> </strong>of course. It provides an answer to all the negatives of service broker and is still asynchronous. </p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/net/FXnX?a=JqO5S-h3WiU:8x64b9hgjbw:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/net/FXnX?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=JqO5S-h3WiU:8x64b9hgjbw:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/net/FXnX?i=JqO5S-h3WiU:8x64b9hgjbw:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=JqO5S-h3WiU:8x64b9hgjbw:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/net/FXnX?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=JqO5S-h3WiU:8x64b9hgjbw:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/net/FXnX?i=JqO5S-h3WiU:8x64b9hgjbw:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=JqO5S-h3WiU:8x64b9hgjbw:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/net/FXnX?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=JqO5S-h3WiU:8x64b9hgjbw:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/net/FXnX?i=JqO5S-h3WiU:8x64b9hgjbw:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=JqO5S-h3WiU:8x64b9hgjbw:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/net/FXnX?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=JqO5S-h3WiU:8x64b9hgjbw:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/net/FXnX?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/net/FXnX?a=JqO5S-h3WiU:8x64b9hgjbw:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/net/FXnX?i=JqO5S-h3WiU:8x64b9hgjbw:gIN9vFwOqvQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/net/FXnX/~4/JqO5S-h3WiU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.markharris.net.au/blog/2009/12/01/service-broker-some-thoughts-post-hoc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.markharris.net.au/blog/2009/12/01/service-broker-some-thoughts-post-hoc/</feedburner:origLink></item>
	</channel>
</rss><!-- Dynamic page generated in 1.168 seconds. --><!-- Cached page generated by WP-Super-Cache on 2012-02-01 05:14:51 -->

