<?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/"
	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>Comments for Developer&#039;s Dump</title>
	<atom:link href="http://devdump.wordpress.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://devdump.wordpress.com</link>
	<description></description>
	<lastBuildDate>Fri, 10 May 2013 18:15:04 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>Comment on Don&#8217;t use &#8220;Add Service Reference&#8221;! by Durgesh Vasmatkar</title>
		<link>http://devdump.wordpress.com/2009/01/05/dont-use-add-service-reference/#comment-154</link>
		<dc:creator><![CDATA[Durgesh Vasmatkar]]></dc:creator>
		<pubDate>Fri, 10 May 2013 18:15:04 +0000</pubDate>
		<guid isPermaLink="false">http://devdump.wordpress.com/?p=138#comment-154</guid>
		<description><![CDATA[No Offence Meant...
I think if you know how to use stuff. Doing WCF way is different so it seems difficult, but when you dive into it, it is cool and my opinion is correct way. We do not have to re-invent the wheel.]]></description>
		<content:encoded><![CDATA[<p>No Offence Meant&#8230;<br />
I think if you know how to use stuff. Doing WCF way is different so it seems difficult, but when you dive into it, it is cool and my opinion is correct way. We do not have to re-invent the wheel.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The best JavaScript MVC framework by SutoCom</title>
		<link>http://devdump.wordpress.com/2013/04/28/the-best-javascript-mvc-framework/#comment-153</link>
		<dc:creator><![CDATA[SutoCom]]></dc:creator>
		<pubDate>Mon, 29 Apr 2013 02:44:50 +0000</pubDate>
		<guid isPermaLink="false">http://devdump.wordpress.com/?p=422#comment-153</guid>
		<description><![CDATA[Reblogged this on &lt;a href=&quot;http://sutocom.net/2013/04/29/the-best-javascript-mvc-framework/&quot; rel=&quot;nofollow&quot;&gt;Sutoprise Avenue, A SutoCom Source&lt;/a&gt;.]]></description>
		<content:encoded><![CDATA[<p>Reblogged this on <a href="http://sutocom.net/2013/04/29/the-best-javascript-mvc-framework/" rel="nofollow">Sutoprise Avenue, A SutoCom Source</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SharePoint Web Part Basics by SutoCom</title>
		<link>http://devdump.wordpress.com/2013/03/26/sharepoint-web-part-basics/#comment-143</link>
		<dc:creator><![CDATA[SutoCom]]></dc:creator>
		<pubDate>Wed, 27 Mar 2013 02:40:14 +0000</pubDate>
		<guid isPermaLink="false">http://devdump.wordpress.com/?p=398#comment-143</guid>
		<description><![CDATA[Reblogged this on &lt;a href=&quot;http://sutocom.net/2013/03/27/sharepoint-web-part-basics/&quot; rel=&quot;nofollow&quot;&gt;Sutoprise Avenue, A SutoCom Source&lt;/a&gt;.]]></description>
		<content:encoded><![CDATA[<p>Reblogged this on <a href="http://sutocom.net/2013/03/27/sharepoint-web-part-basics/" rel="nofollow">Sutoprise Avenue, A SutoCom Source</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Don&#8217;t use &#8220;Add Service Reference&#8221;! by Tom</title>
		<link>http://devdump.wordpress.com/2009/01/05/dont-use-add-service-reference/#comment-142</link>
		<dc:creator><![CDATA[Tom]]></dc:creator>
		<pubDate>Sun, 24 Mar 2013 20:27:19 +0000</pubDate>
		<guid isPermaLink="false">http://devdump.wordpress.com/?p=138#comment-142</guid>
		<description><![CDATA[In many cases (e.g. Java in the other end) the older &quot;Add web reference&quot; has worked better for me. Have you tried it already? Check some of my other posts on the topic.]]></description>
		<content:encoded><![CDATA[<p>In many cases (e.g. Java in the other end) the older &#8220;Add web reference&#8221; has worked better for me. Have you tried it already? Check some of my other posts on the topic.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Don&#8217;t use &#8220;Add Service Reference&#8221;! by Peter Klein (@WayPoint7)</title>
		<link>http://devdump.wordpress.com/2009/01/05/dont-use-add-service-reference/#comment-138</link>
		<dc:creator><![CDATA[Peter Klein (@WayPoint7)]]></dc:creator>
		<pubDate>Thu, 14 Mar 2013 21:52:22 +0000</pubDate>
		<guid isPermaLink="false">http://devdump.wordpress.com/?p=138#comment-138</guid>
		<description><![CDATA[Reading both your excellent article and Miguel Castro&#039;s as well I realize that perhaps I have been spoiled by the wizardry of templates. But I am stuck with this situation: I have to connect to a third party service that has to be connected through HTTPS with a certificate. I have that in place allright. But the template won&#039;t work for me (VS2012). So I was looking for a way to do it manually. Because it is third party, I cannot reference to the class library as you suggest here. And I have the strong impression that from there on, for me nothing will work as you describe here. All I have is the uri of the service, a wsdl file describing the service and an xsd file of the service. 
How can I make a working connection to the service and call the method with these ingredients?
Peter]]></description>
		<content:encoded><![CDATA[<p>Reading both your excellent article and Miguel Castro&#8217;s as well I realize that perhaps I have been spoiled by the wizardry of templates. But I am stuck with this situation: I have to connect to a third party service that has to be connected through HTTPS with a certificate. I have that in place allright. But the template won&#8217;t work for me (VS2012). So I was looking for a way to do it manually. Because it is third party, I cannot reference to the class library as you suggest here. And I have the strong impression that from there on, for me nothing will work as you describe here. All I have is the uri of the service, a wsdl file describing the service and an xsd file of the service.<br />
How can I make a working connection to the service and call the method with these ingredients?<br />
Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The evolution of web development by Christopher P. Thames</title>
		<link>http://devdump.wordpress.com/2013/03/04/the-evolution-of-web-development/#comment-137</link>
		<dc:creator><![CDATA[Christopher P. Thames]]></dc:creator>
		<pubDate>Tue, 05 Mar 2013 05:11:58 +0000</pubDate>
		<guid isPermaLink="false">http://devdump.wordpress.com/?p=394#comment-137</guid>
		<description><![CDATA[Reblogged this on &lt;a href=&quot;http://knogimmicks.com/2013/03/05/the-evolution-of-web-development/&quot; rel=&quot;nofollow&quot;&gt;KnoGimmicks Social Media &amp; Web Design&lt;/a&gt;.]]></description>
		<content:encoded><![CDATA[<p>Reblogged this on <a href="http://knogimmicks.com/2013/03/05/the-evolution-of-web-development/" rel="nofollow">KnoGimmicks Social Media &amp; Web Design</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Don&#8217;t use &#8220;Add Service Reference&#8221;! by Tom</title>
		<link>http://devdump.wordpress.com/2009/01/05/dont-use-add-service-reference/#comment-136</link>
		<dc:creator><![CDATA[Tom]]></dc:creator>
		<pubDate>Wed, 20 Feb 2013 22:24:10 +0000</pubDate>
		<guid isPermaLink="false">http://devdump.wordpress.com/?p=138#comment-136</guid>
		<description><![CDATA[Nuno, I appreciate your comments. There are couple of cases where using the standard config file is not a option, e.g. if the client is an add-in (the host exe is not the application) or the config would reveal too much information about the architecture.]]></description>
		<content:encoded><![CDATA[<p>Nuno, I appreciate your comments. There are couple of cases where using the standard config file is not a option, e.g. if the client is an add-in (the host exe is not the application) or the config would reveal too much information about the architecture.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Don&#8217;t use &#8220;Add Service Reference&#8221;! by Nuno Pereira</title>
		<link>http://devdump.wordpress.com/2009/01/05/dont-use-add-service-reference/#comment-135</link>
		<dc:creator><![CDATA[Nuno Pereira]]></dc:creator>
		<pubDate>Wed, 20 Feb 2013 15:59:32 +0000</pubDate>
		<guid isPermaLink="false">http://devdump.wordpress.com/?p=138#comment-135</guid>
		<description><![CDATA[I agree with you about no using &quot;Service Reference&quot;, however I don&#039;t agree about not using .config files and your client strategy. Putting WCF in config files allows to adjust configuration without having to recompile and redeploy the application.
Also your strategy to the client proxy is too messy for big projects. The idea of merging several service clients in the same class goes against the SRP principle. If you want to do this what’s the point of separating the services in the first place? 
You also have to create a method in the client proxy for each WebMethod you have. In our company we have to maintain an application with about 50 WebServices. It would be very hard to maintain the client code with your strategy.
For generating service clients we have a different strategy. We created a generic class with the generic parameter being the contract of the service. This way we can create a property that returns the service channel. Something like this:

TContract ServiceChannel
{
     get { return serviceChannel as TContract; }
}

The actual code is bit more complicated as before we return the service channel we check if the channel is ready for invoking (check if it was already created, if it faulted, etc...). This actualy produces a more rubost solution than your because we only need to create one class (we have to write and maintain less code) and use it to all of our services and we can even add extra verifications before invoking the channel. Also we don’t have to change our client class every time we make a change in the Service Contract.
At the end you say: “ If you are running with .NET 3.5 you can even leave out the Data and Member Contract attributes of the data classes (same as choosing “Reuse types in referenced assemblies” when using thee Add Service Reference feature).”
I’m not sure what you meant with this but by default a class with an empty constructor and public get/set properties is a DataContract and all the properties with public getter and setter are considered as part of the contract (DataMember). Also this is not the as choosing reuse types in reference assemblies. All the types in a WCF contract have to be DataContract and whether or not you explicitly mark the classes with DataContract you can use this option.]]></description>
		<content:encoded><![CDATA[<p>I agree with you about no using &#8220;Service Reference&#8221;, however I don&#8217;t agree about not using .config files and your client strategy. Putting WCF in config files allows to adjust configuration without having to recompile and redeploy the application.<br />
Also your strategy to the client proxy is too messy for big projects. The idea of merging several service clients in the same class goes against the SRP principle. If you want to do this what’s the point of separating the services in the first place?<br />
You also have to create a method in the client proxy for each WebMethod you have. In our company we have to maintain an application with about 50 WebServices. It would be very hard to maintain the client code with your strategy.<br />
For generating service clients we have a different strategy. We created a generic class with the generic parameter being the contract of the service. This way we can create a property that returns the service channel. Something like this:</p>
<p>TContract ServiceChannel<br />
{<br />
     get { return serviceChannel as TContract; }<br />
}</p>
<p>The actual code is bit more complicated as before we return the service channel we check if the channel is ready for invoking (check if it was already created, if it faulted, etc&#8230;). This actualy produces a more rubost solution than your because we only need to create one class (we have to write and maintain less code) and use it to all of our services and we can even add extra verifications before invoking the channel. Also we don’t have to change our client class every time we make a change in the Service Contract.<br />
At the end you say: “ If you are running with .NET 3.5 you can even leave out the Data and Member Contract attributes of the data classes (same as choosing “Reuse types in referenced assemblies” when using thee Add Service Reference feature).”<br />
I’m not sure what you meant with this but by default a class with an empty constructor and public get/set properties is a DataContract and all the properties with public getter and setter are considered as part of the contract (DataMember). Also this is not the as choosing reuse types in reference assemblies. All the types in a WCF contract have to be DataContract and whether or not you explicitly mark the classes with DataContract you can use this option.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Don&#8217;t use &#8220;Add Service Reference&#8221;! by Noe</title>
		<link>http://devdump.wordpress.com/2009/01/05/dont-use-add-service-reference/#comment-134</link>
		<dc:creator><![CDATA[Noe]]></dc:creator>
		<pubDate>Sat, 16 Feb 2013 23:14:16 +0000</pubDate>
		<guid isPermaLink="false">http://devdump.wordpress.com/?p=138#comment-134</guid>
		<description><![CDATA[Hi, I have a doubt, How I handle asynchronous operations generated by the ASR feature? Do I have to specify them on the client manually? Or I have to handle them from clients requests in the service? I&#039;m kind of new to this way of working since I&#039;ve only worked with the ASR but I want to make the things in the right way.]]></description>
		<content:encoded><![CDATA[<p>Hi, I have a doubt, How I handle asynchronous operations generated by the ASR feature? Do I have to specify them on the client manually? Or I have to handle them from clients requests in the service? I&#8217;m kind of new to this way of working since I&#8217;ve only worked with the ASR but I want to make the things in the right way.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WPF: Cannot set Name attribute value errror by Toni</title>
		<link>http://devdump.wordpress.com/2010/02/24/cannot-set-name-attribute-value-errror/#comment-133</link>
		<dc:creator><![CDATA[Toni]]></dc:creator>
		<pubDate>Wed, 06 Feb 2013 14:39:43 +0000</pubDate>
		<guid isPermaLink="false">http://devdump.wordpress.com/?p=307#comment-133</guid>
		<description><![CDATA[Best workaround for a frustrating bug/feature. Thanks, You made my day.]]></description>
		<content:encoded><![CDATA[<p>Best workaround for a frustrating bug/feature. Thanks, You made my day.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
