<?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: Using RestSharp to consume RESTful Web Services</title>
	<atom:link href="http://www.stum.de/2009/12/22/using-restsharp-to-consume-restful-web-services/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.stum.de/2009/12/22/using-restsharp-to-consume-restful-web-services/</link>
	<description>Random thoughts of neat disorder</description>
	<lastBuildDate>Wed, 11 Jan 2012 04:38:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: mstum</title>
		<link>http://www.stum.de/2009/12/22/using-restsharp-to-consume-restful-web-services/comment-page-1/#comment-74968</link>
		<dc:creator>mstum</dc:creator>
		<pubDate>Wed, 11 Jan 2012 04:38:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.stum.de/?p=581#comment-74968</guid>
		<description>Seems to work again, possibly a temporary outage.</description>
		<content:encoded><![CDATA[<p>Seems to work again, possibly a temporary outage.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Enrique</title>
		<link>http://www.stum.de/2009/12/22/using-restsharp-to-consume-restful-web-services/comment-page-1/#comment-74702</link>
		<dc:creator>Enrique</dc:creator>
		<pubDate>Mon, 09 Jan 2012 22:11:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.stum.de/?p=581#comment-74702</guid>
		<description>request.BaseUrl = &quot;http://carma.org&quot;;    &lt;---- Unavailable!!!</description>
		<content:encoded><![CDATA[<p>request.BaseUrl = "http://carma.org";    &lt;---- Unavailable!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: The Morning Brew - Chris Alcock &#187; The Morning Brew #504</title>
		<link>http://www.stum.de/2009/12/22/using-restsharp-to-consume-restful-web-services/comment-page-1/#comment-12692</link>
		<dc:creator>The Morning Brew - Chris Alcock &#187; The Morning Brew #504</dc:creator>
		<pubDate>Wed, 23 Dec 2009 08:29:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.stum.de/?p=581#comment-12692</guid>
		<description>[...] Using RestSharp to consume RESTful Web Services - Michael Stum shows how the RestSharp library helps make consuming RESTful web services easier from C# illustrating with a simple example consuming a search serivce [...]</description>
		<content:encoded><![CDATA[<p>[...] Using RestSharp to consume RESTful Web Services - Michael Stum shows how the RestSharp library helps make consuming RESTful web services easier from C# illustrating with a simple example consuming a search serivce [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: uberVU - social comments</title>
		<link>http://www.stum.de/2009/12/22/using-restsharp-to-consume-restful-web-services/comment-page-1/#comment-12678</link>
		<dc:creator>uberVU - social comments</dc:creator>
		<pubDate>Tue, 22 Dec 2009 23:54:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.stum.de/?p=581#comment-12678</guid>
		<description>&lt;strong&gt;Social comments and analytics for this post...&lt;/strong&gt;

This post was mentioned on Twitter by mstum: blogged: Using RestSharp to consume RESTful Web Services - http://www.stum.de/2009/12/22/using-restsharp-to-consume-restful-web-services/...</description>
		<content:encoded><![CDATA[<p><strong>Social comments and analytics for this post...</strong></p>
<p>This post was mentioned on Twitter by mstum: blogged: Using RestSharp to consume RESTful Web Services - <a href="http://www.stum.de/2009/12/22/using-restsharp-to-consume-restful-web-services/.." rel="nofollow">http://www.stum.de/2009/12/22/using-restsharp-to-consume-restful-web-services/..</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mstum</title>
		<link>http://www.stum.de/2009/12/22/using-restsharp-to-consume-restful-web-services/comment-page-1/#comment-12674</link>
		<dc:creator>mstum</dc:creator>
		<pubDate>Tue, 22 Dec 2009 22:02:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.stum.de/?p=581#comment-12674</guid>
		<description>Thanks for the notice, I&#039;ve changed it. I&#039;ll have a look at the Automatic-Name-Matching. In my own fork on GitHub I&#039;ve added an Attribute to arbitrarily Map, but I&#039;m not sure if more attribute-spam is the better solution. Well, maybe having &#039;ugly&#039; classes is also a good way to encourage writing Business Classes :) I&#039;ll have a look soon to see if two things can be improved: List&lt;T&gt; requires the Class Name to match the XML Element, so I had to name the Class &quot;item&quot; instead of &quot;PowerPlantDTO&quot;. And I wonder if Execute could take a type converter (I think there is a Converter&lt;T&gt; interface or similar in the CLR) to convert the &quot;Model Class&quot; into a &quot;Business Class&quot; directly. I&#039;m not sure about this though (separation of concerns...). The big reason to use RestSharp is still to avoid having to parse 4-layers-nested-XML manually :)</description>
		<content:encoded><![CDATA[<p>Thanks for the notice, I've changed it. I'll have a look at the Automatic-Name-Matching. In my own fork on GitHub I've added an Attribute to arbitrarily Map, but I'm not sure if more attribute-spam is the better solution. Well, maybe having 'ugly' classes is also a good way to encourage writing Business Classes <img src='http://www.stum.de/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  I'll have a look soon to see if two things can be improved: List<t> requires the Class Name to match the XML Element, so I had to name the Class "item" instead of "PowerPlantDTO". And I wonder if Execute could take a type converter (I think there is a Converter</t><t> interface or similar in the CLR) to convert the "Model Class" into a "Business Class" directly. I'm not sure about this though (separation of concerns...). The big reason to use RestSharp is still to avoid having to parse 4-layers-nested-XML manually <img src='http://www.stum.de/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </t></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Sheehan</title>
		<link>http://www.stum.de/2009/12/22/using-restsharp-to-consume-restful-web-services/comment-page-1/#comment-12672</link>
		<dc:creator>John Sheehan</dc:creator>
		<pubDate>Tue, 22 Dec 2009 21:30:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.stum.de/?p=581#comment-12672</guid>
		<description>One more note (again, there needs to be docs for this) that you can name your model class properties using pascal casing and RestSharp will match them up when deserializing the XML. If your property name is MetroArea it would first look for an XML element named &#039;MetroArea&#039; and if it can&#039;t find one, it then looks for &#039;metroarea&#039; and failing that it looks for &#039;metro_area&#039;. You can see the code that does that here: http://github.com/johnsheehan/RestSharp/blob/master/RestSharp/Deserializers/XmlDeserializer.cs#L147</description>
		<content:encoded><![CDATA[<p>One more note (again, there needs to be docs for this) that you can name your model class properties using pascal casing and RestSharp will match them up when deserializing the XML. If your property name is MetroArea it would first look for an XML element named 'MetroArea' and if it can't find one, it then looks for 'metroarea' and failing that it looks for 'metro_area'. You can see the code that does that here: <a href="http://github.com/johnsheehan/RestSharp/blob/master/RestSharp/Deserializers/XmlDeserializer.cs#L147" rel="nofollow">http://github.com/johnsheehan/RestSharp/blob/master/RestSharp/Deserializers/XmlDeserializer.cs#L147</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Sheehan</title>
		<link>http://www.stum.de/2009/12/22/using-restsharp-to-consume-restful-web-services/comment-page-1/#comment-12670</link>
		<dc:creator>John Sheehan</dc:creator>
		<pubDate>Tue, 22 Dec 2009 21:23:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.stum.de/?p=581#comment-12670</guid>
		<description>Great post Michael! Thanks for taking the time to write this up. My only suggestion is to use request.AddParameter(name, value) or request.AddParameter(Parameter) instead of request.Parameters.Add(); since it&#039;s a little more terse and there&#039;s a chance that collection might not be so exposed in the future. A minor nit from an overall excellent article. If there were docs it might be more obvious....I wonder who&#039;s fault that is ;)

Thanks again. It will be really nice to have another intro article to point people to.</description>
		<content:encoded><![CDATA[<p>Great post Michael! Thanks for taking the time to write this up. My only suggestion is to use request.AddParameter(name, value) or request.AddParameter(Parameter) instead of request.Parameters.Add(); since it's a little more terse and there's a chance that collection might not be so exposed in the future. A minor nit from an overall excellent article. If there were docs it might be more obvious....I wonder who's fault that is <img src='http://www.stum.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Thanks again. It will be really nice to have another intro article to point people to.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tweets die Not Rocket Science » Using RestSharp to consume RESTful Web Services erwähnt -- Topsy.com</title>
		<link>http://www.stum.de/2009/12/22/using-restsharp-to-consume-restful-web-services/comment-page-1/#comment-12668</link>
		<dc:creator>Tweets die Not Rocket Science » Using RestSharp to consume RESTful Web Services erwähnt -- Topsy.com</dc:creator>
		<pubDate>Tue, 22 Dec 2009 21:14:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.stum.de/?p=581#comment-12668</guid>
		<description>[...] Dieser Eintrag wurde auf Twitter von John Sheehan und Michael Stum, RestSharp erwähnt. RestSharp sagte: RT @mstum: blogged: Using RestSharp to consume RESTful Web Services - http://www.stum.de/2009/12/22/using-restsharp-to-consume-restful-w ... [...]</description>
		<content:encoded><![CDATA[<p>[...] Dieser Eintrag wurde auf Twitter von John Sheehan und Michael Stum, RestSharp erwähnt. RestSharp sagte: RT @mstum: blogged: Using RestSharp to consume RESTful Web Services - <a href="http://www.stum.de/2009/12/22/using-restsharp-to-consume-restful-w" rel="nofollow">http://www.stum.de/2009/12/22/using-restsharp-to-consume-restful-w</a> ... [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

