<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Building a Service Gateway Using MassTransit, Part 3</title>
	<atom:link href="http://lostechies.com/chrispatterson/2009/11/01/building-a-service-gateway-using-masstransit-part-3/feed/" rel="self" type="application/rss+xml" />
	<link>http://lostechies.com/chrispatterson/2009/11/01/building-a-service-gateway-using-masstransit-part-3/</link>
	<description>Just another LosTechies site</description>
	<lastBuildDate>Mon, 06 May 2013 07:30:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
	<item>
		<title>By: Kevin Miller</title>
		<link>http://lostechies.com/chrispatterson/2009/11/01/building-a-service-gateway-using-masstransit-part-3/#comment-108</link>
		<dc:creator>Kevin Miller</dc:creator>
		<pubDate>Mon, 09 Nov 2009 20:22:51 +0000</pubDate>
		<guid isPermaLink="false">/blogs/chris_patterson/archive/2009/10/31/building-a-service-gateway-using-masstransit-part-3.aspx#comment-108</guid>
		<description>Chris. I am really enjoying this series and excited that there is more to come. Thank you.</description>
		<content:encoded><![CDATA[<p>Chris. I am really enjoying this series and excited that there is more to come. Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy</title>
		<link>http://lostechies.com/chrispatterson/2009/11/01/building-a-service-gateway-using-masstransit-part-3/#comment-107</link>
		<dc:creator>Jeremy</dc:creator>
		<pubDate>Fri, 06 Nov 2009 17:25:22 +0000</pubDate>
		<guid isPermaLink="false">/blogs/chris_patterson/archive/2009/10/31/building-a-service-gateway-using-masstransit-part-3.aspx#comment-107</guid>
		<description>That would be fantastic! thanks Chris.</description>
		<content:encoded><![CDATA[<p>That would be fantastic! thanks Chris.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Patterson</title>
		<link>http://lostechies.com/chrispatterson/2009/11/01/building-a-service-gateway-using-masstransit-part-3/#comment-106</link>
		<dc:creator>Chris Patterson</dc:creator>
		<pubDate>Fri, 06 Nov 2009 16:53:22 +0000</pubDate>
		<guid isPermaLink="false">/blogs/chris_patterson/archive/2009/10/31/building-a-service-gateway-using-masstransit-part-3.aspx#comment-106</guid>
		<description>@Jeremy,

In this case, yes, I&#039;m testing the saga end-to-end so I&#039;m creating &quot;proxy&quot; handlers that produce the appropriate response from the stimulus (in this case, the Publish in the saga) so that the saga can achieve completion in this &quot;happy path&quot; test.

I&#039;ll schedule a post on testing sagas as part of this series, thanks for bringing it up.
</description>
		<content:encoded><![CDATA[<p>@Jeremy,</p>
<p>In this case, yes, I&#8217;m testing the saga end-to-end so I&#8217;m creating &#8220;proxy&#8221; handlers that produce the appropriate response from the stimulus (in this case, the Publish in the saga) so that the saga can achieve completion in this &#8220;happy path&#8221; test.</p>
<p>I&#8217;ll schedule a post on testing sagas as part of this series, thanks for bringing it up.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy</title>
		<link>http://lostechies.com/chrispatterson/2009/11/01/building-a-service-gateway-using-masstransit-part-3/#comment-105</link>
		<dc:creator>Jeremy</dc:creator>
		<pubDate>Fri, 06 Nov 2009 14:39:09 +0000</pubDate>
		<guid isPermaLink="false">/blogs/chris_patterson/archive/2009/10/31/building-a-service-gateway-using-masstransit-part-3.aspx#comment-105</guid>
		<description>sorry i wasn&#039;t all that clear... wouldn&#039;t think of calling the web service direct in a test. i was curious if you might be using an automocker or generic test helper class so as to not have to write a proxy for each Publish call in the saga. In the saga_spec the OrderDetailsWebServiceProxy is faked in the GatewayService project. is that faked proxy class normally what you would create in the test project to stub? 
btw thanks for this series of posts they&#039;ve been helpful. i&#039;m going back to an app using MT and trying to get some tests around the saga&#039;s after inspiration from this post. 
</description>
		<content:encoded><![CDATA[<p>sorry i wasn&#8217;t all that clear&#8230; wouldn&#8217;t think of calling the web service direct in a test. i was curious if you might be using an automocker or generic test helper class so as to not have to write a proxy for each Publish call in the saga. In the saga_spec the OrderDetailsWebServiceProxy is faked in the GatewayService project. is that faked proxy class normally what you would create in the test project to stub?<br />
btw thanks for this series of posts they&#8217;ve been helpful. i&#8217;m going back to an app using MT and trying to get some tests around the saga&#8217;s after inspiration from this post. </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Patterson</title>
		<link>http://lostechies.com/chrispatterson/2009/11/01/building-a-service-gateway-using-masstransit-part-3/#comment-104</link>
		<dc:creator>Chris Patterson</dc:creator>
		<pubDate>Fri, 06 Nov 2009 13:10:24 +0000</pubDate>
		<guid isPermaLink="false">/blogs/chris_patterson/archive/2009/10/31/building-a-service-gateway-using-masstransit-part-3.aspx#comment-104</guid>
		<description>@Jeremy:

Do we create proxies for the actual call to the web service? Yes. We never talk to the external web service directly, it&#039;s always done through a proxy/gateway class.</description>
		<content:encoded><![CDATA[<p>@Jeremy:</p>
<p>Do we create proxies for the actual call to the web service? Yes. We never talk to the external web service directly, it&#8217;s always done through a proxy/gateway class.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy</title>
		<link>http://lostechies.com/chrispatterson/2009/11/01/building-a-service-gateway-using-masstransit-part-3/#comment-103</link>
		<dc:creator>Jeremy</dc:creator>
		<pubDate>Thu, 05 Nov 2009 22:30:44 +0000</pubDate>
		<guid isPermaLink="false">/blogs/chris_patterson/archive/2009/10/31/building-a-service-gateway-using-masstransit-part-3.aspx#comment-103</guid>
		<description>Thanks Chris.... been struggling with writing unit tests for saga&#039;s. Really wish the samples in masstransit had tests around them... One question do you create proxies like this in when testing production code or is there a better way? </description>
		<content:encoded><![CDATA[<p>Thanks Chris&#8230;. been struggling with writing unit tests for saga&#8217;s. Really wish the samples in masstransit had tests around them&#8230; One question do you create proxies like this in when testing production code or is there a better way? </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://lostechies.com/chrispatterson/2009/11/01/building-a-service-gateway-using-masstransit-part-3/#comment-102</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Wed, 04 Nov 2009 13:51:39 +0000</pubDate>
		<guid isPermaLink="false">/blogs/chris_patterson/archive/2009/10/31/building-a-service-gateway-using-masstransit-part-3.aspx#comment-102</guid>
		<description>Thanks Chris :)</description>
		<content:encoded><![CDATA[<p>Thanks Chris <img src='http://lostechies.com/chrispatterson/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Patterson</title>
		<link>http://lostechies.com/chrispatterson/2009/11/01/building-a-service-gateway-using-masstransit-part-3/#comment-101</link>
		<dc:creator>Chris Patterson</dc:creator>
		<pubDate>Mon, 02 Nov 2009 15:59:20 +0000</pubDate>
		<guid isPermaLink="false">/blogs/chris_patterson/archive/2009/10/31/building-a-service-gateway-using-masstransit-part-3.aspx#comment-101</guid>
		<description>@Jake

Proxy_Specs is fixed. Thanks.

@Steve

It&#039;s coming, it&#039;s coming! :)
</description>
		<content:encoded><![CDATA[<p>@Jake</p>
<p>Proxy_Specs is fixed. Thanks.</p>
<p>@Steve</p>
<p>It&#8217;s coming, it&#8217;s coming! <img src='http://lostechies.com/chrispatterson/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://lostechies.com/chrispatterson/2009/11/01/building-a-service-gateway-using-masstransit-part-3/#comment-100</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Mon, 02 Nov 2009 12:19:29 +0000</pubDate>
		<guid isPermaLink="false">/blogs/chris_patterson/archive/2009/10/31/building-a-service-gateway-using-masstransit-part-3.aspx#comment-100</guid>
		<description>I&#039;m curious how asp.net mvc integration into this sample will go

Thanks for the tutorial - more of this is needed imo  :)  (it really helps)</description>
		<content:encoded><![CDATA[<p>I&#8217;m curious how asp.net mvc integration into this sample will go</p>
<p>Thanks for the tutorial &#8211; more of this is needed imo  <img src='http://lostechies.com/chrispatterson/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   (it really helps)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jake Scott</title>
		<link>http://lostechies.com/chrispatterson/2009/11/01/building-a-service-gateway-using-masstransit-part-3/#comment-99</link>
		<dc:creator>Jake Scott</dc:creator>
		<pubDate>Mon, 02 Nov 2009 07:30:46 +0000</pubDate>
		<guid isPermaLink="false">/blogs/chris_patterson/archive/2009/10/31/building-a-service-gateway-using-masstransit-part-3.aspx#comment-99</guid>
		<description>Hi Chris, is there a bug in the Proxy_Specs line 45

You have 
var request = new SendOrderDetailsRequest();

But I think it should be:

var request = new SendOrderDetailsRequest { OrderId = orderId, CustomerId = customerId };

Then I get passing tests :)</description>
		<content:encoded><![CDATA[<p>Hi Chris, is there a bug in the Proxy_Specs line 45</p>
<p>You have<br />
var request = new SendOrderDetailsRequest();</p>
<p>But I think it should be:</p>
<p>var request = new SendOrderDetailsRequest { OrderId = orderId, CustomerId = customerId };</p>
<p>Then I get passing tests <img src='http://lostechies.com/chrispatterson/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
