<?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: Request/Response Service Layer: Requests And Responses</title>
	<atom:link href="http://davybrion.com/blog/2009/11/requestresponse-service-layer-requests-and-responses/feed/" rel="self" type="application/rss+xml" />
	<link>http://davybrion.com/blog/2009/11/requestresponse-service-layer-requests-and-responses/</link>
	<description>Trying to walk that thin line between intelligence and ignorance</description>
	<lastBuildDate>Sun, 14 Mar 2010 15:41:46 +0100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Davy Brion</title>
		<link>http://davybrion.com/blog/2009/11/requestresponse-service-layer-requests-and-responses/comment-page-1/#comment-22908</link>
		<dc:creator>Davy Brion</dc:creator>
		<pubDate>Mon, 09 Nov 2009 16:03:36 +0000</pubDate>
		<guid isPermaLink="false">http://davybrion.com/blog/?p=1796#comment-22908</guid>
		<description>@Aaron

oh that would work with the keyed adding/retrieving of the requests/responses... guess you have to wait on the posts about client-side usage ;)

@Awkward Coder

Instead of using the KnownType attribute all over the place, we just register them once before the service starts up and then use WCF&#039;s ServiceKnownType to dynamically fetch the list of known types once before the service is first used.</description>
		<content:encoded><![CDATA[<p>@Aaron</p>
<p>oh that would work with the keyed adding/retrieving of the requests/responses&#8230; guess you have to wait on the posts about client-side usage <img src='http://davybrion.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>@Awkward Coder</p>
<p>Instead of using the KnownType attribute all over the place, we just register them once before the service starts up and then use WCF&#8217;s ServiceKnownType to dynamically fetch the list of known types once before the service is first used.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron  Fischer</title>
		<link>http://davybrion.com/blog/2009/11/requestresponse-service-layer-requests-and-responses/comment-page-1/#comment-22907</link>
		<dc:creator>Aaron  Fischer</dc:creator>
		<pubDate>Mon, 09 Nov 2009 15:55:45 +0000</pubDate>
		<guid isPermaLink="false">http://davybrion.com/blog/?p=1796#comment-22907</guid>
		<description>generic like

EntityListRequest : Request
{
Criteria{get;set}
Id{get;set}
}
EntityListResponse : Response
{
IList Entities
}</description>
		<content:encoded><![CDATA[<p>generic like</p>
<p>EntityListRequest : Request<br />
{<br />
Criteria{get;set}<br />
Id{get;set}<br />
}<br />
EntityListResponse : Response<br />
{<br />
IList Entities<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Awkward Coder</title>
		<link>http://davybrion.com/blog/2009/11/requestresponse-service-layer-requests-and-responses/comment-page-1/#comment-22906</link>
		<dc:creator>Awkward Coder</dc:creator>
		<pubDate>Mon, 09 Nov 2009 15:53:25 +0000</pubDate>
		<guid isPermaLink="false">http://davybrion.com/blog/?p=1796#comment-22906</guid>
		<description>let me guess you&#039;re going to expose the message schemas via the actual service...</description>
		<content:encoded><![CDATA[<p>let me guess you&#8217;re going to expose the message schemas via the actual service&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Davy Brion</title>
		<link>http://davybrion.com/blog/2009/11/requestresponse-service-layer-requests-and-responses/comment-page-1/#comment-22905</link>
		<dc:creator>Davy Brion</dc:creator>
		<pubDate>Mon, 09 Nov 2009 15:26:24 +0000</pubDate>
		<guid isPermaLink="false">http://davybrion.com/blog/?p=1796#comment-22905</guid>
		<description>You can add multiple requests of the same type, but then you&#039;d have to add them with a specific key value, and retrieve the responses of that type with the correct key value

that&#039;s also covered in a future post :)

what exactly do you mean with generic entity requests/responses?</description>
		<content:encoded><![CDATA[<p>You can add multiple requests of the same type, but then you&#8217;d have to add them with a specific key value, and retrieve the responses of that type with the correct key value</p>
<p>that&#8217;s also covered in a future post <img src='http://davybrion.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>what exactly do you mean with generic entity requests/responses?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron  Fischer</title>
		<link>http://davybrion.com/blog/2009/11/requestresponse-service-layer-requests-and-responses/comment-page-1/#comment-22904</link>
		<dc:creator>Aaron  Fischer</dc:creator>
		<pubDate>Mon, 09 Nov 2009 15:24:29 +0000</pubDate>
		<guid isPermaLink="false">http://davybrion.com/blog/?p=1796#comment-22904</guid>
		<description>Fetching by response means one request type to one response type,  I am not sure in the long term that&#039;s good.  It does interfere with generic entity requests/responses for example.</description>
		<content:encoded><![CDATA[<p>Fetching by response means one request type to one response type,  I am not sure in the long term that&#8217;s good.  It does interfere with generic entity requests/responses for example.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Davy Brion</title>
		<link>http://davybrion.com/blog/2009/11/requestresponse-service-layer-requests-and-responses/comment-page-1/#comment-22901</link>
		<dc:creator>Davy Brion</dc:creator>
		<pubDate>Mon, 09 Nov 2009 11:22:14 +0000</pubDate>
		<guid isPermaLink="false">http://davybrion.com/blog/?p=1796#comment-22901</guid>
		<description>no i have a better solution for that, which you&#039;ll see in the Exposing Through WCF post :)
(which is currently scheduled for wednesday)</description>
		<content:encoded><![CDATA[<p>no i have a better solution for that, which you&#8217;ll see in the Exposing Through WCF post <img src='http://davybrion.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
(which is currently scheduled for wednesday)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Awkward Coder</title>
		<link>http://davybrion.com/blog/2009/11/requestresponse-service-layer-requests-and-responses/comment-page-1/#comment-22900</link>
		<dc:creator>Awkward Coder</dc:creator>
		<pubDate>Mon, 09 Nov 2009 10:33:31 +0000</pubDate>
		<guid isPermaLink="false">http://davybrion.com/blog/?p=1796#comment-22900</guid>
		<description>&#039;If your service needs to be interoperable with other platforms or you can’t share the assembly containing the types, then you obviously do need to use the DataContract/DataMember attributes...&#039;

Should mention you need to use the &#039;KnownType&#039; attributes on the base &#039;Request&#039; &amp; &#039;Response&#039; types to include all derived types in the client side proxy.</description>
		<content:encoded><![CDATA[<p>&#8216;If your service needs to be interoperable with other platforms or you can’t share the assembly containing the types, then you obviously do need to use the DataContract/DataMember attributes&#8230;&#8217;</p>
<p>Should mention you need to use the &#8216;KnownType&#8217; attributes on the base &#8216;Request&#8217; &amp; &#8216;Response&#8217; types to include all derived types in the client side proxy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Awkward Coder</title>
		<link>http://davybrion.com/blog/2009/11/requestresponse-service-layer-requests-and-responses/comment-page-1/#comment-22899</link>
		<dc:creator>Awkward Coder</dc:creator>
		<pubDate>Mon, 09 Nov 2009 10:00:10 +0000</pubDate>
		<guid isPermaLink="false">http://davybrion.com/blog/?p=1796#comment-22899</guid>
		<description>DOH!

Ignore my last comment...</description>
		<content:encoded><![CDATA[<p>DOH!</p>
<p>Ignore my last comment&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Awkward Coder</title>
		<link>http://davybrion.com/blog/2009/11/requestresponse-service-layer-requests-and-responses/comment-page-1/#comment-22898</link>
		<dc:creator>Awkward Coder</dc:creator>
		<pubDate>Mon, 09 Nov 2009 09:57:43 +0000</pubDate>
		<guid isPermaLink="false">http://davybrion.com/blog/?p=1796#comment-22898</guid>
		<description>How does the client of the (WCF) service generate a proxy for all the different message types?

In other words how does the client know about the structure of &#039;GetProductOverviewsRequest&#039; when it is not explicitly exposed\declared on the interface.</description>
		<content:encoded><![CDATA[<p>How does the client of the (WCF) service generate a proxy for all the different message types?</p>
<p>In other words how does the client know about the structure of &#8216;GetProductOverviewsRequest&#8217; when it is not explicitly exposed\declared on the interface.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Davy Brion</title>
		<link>http://davybrion.com/blog/2009/11/requestresponse-service-layer-requests-and-responses/comment-page-1/#comment-22894</link>
		<dc:creator>Davy Brion</dc:creator>
		<pubDate>Mon, 09 Nov 2009 07:22:19 +0000</pubDate>
		<guid isPermaLink="false">http://davybrion.com/blog/?p=1796#comment-22894</guid>
		<description>@Aaron

that would work if the client would retrieve its response based on the index of the corresponding request, but you&#039;ll see in a future post that we retrieve the response based on its expected type, not the index.</description>
		<content:encoded><![CDATA[<p>@Aaron</p>
<p>that would work if the client would retrieve its response based on the index of the corresponding request, but you&#8217;ll see in a future post that we retrieve the response based on its expected type, not the index.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron Fischer</title>
		<link>http://davybrion.com/blog/2009/11/requestresponse-service-layer-requests-and-responses/comment-page-1/#comment-22892</link>
		<dc:creator>Aaron Fischer</dc:creator>
		<pubDate>Mon, 09 Nov 2009 00:08:10 +0000</pubDate>
		<guid isPermaLink="false">http://davybrion.com/blog/?p=1796#comment-22892</guid>
		<description>Why pass the exception parameters in every response?  Since you have OO, you can return a strongly typed ErrorResponse.</description>
		<content:encoded><![CDATA[<p>Why pass the exception parameters in every response?  Since you have OO, you can return a strongly typed ErrorResponse.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
