<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	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/"
	>

<channel>
	<title>robburke.NET &#187; REST</title>
	<atom:link href="http://robburke.net/tag/rest/feed/" rel="self" type="application/rss+xml" />
	<link>http://robburke.net</link>
	<description>Robert Burke&#039;s home on the web.</description>
	<lastBuildDate>Wed, 18 Apr 2012 19:15:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>TechDays 2009: &#8216;Building REST-ful Services with WCF&#8217; Follow-up</title>
		<link>http://robburke.net/2009/11/techdays-2009-building-restful-services-with-wcf-follow-up/</link>
		<comments>http://robburke.net/2009/11/techdays-2009-building-restful-services-with-wcf-follow-up/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 03:02:19 +0000</pubDate>
		<dc:creator>Rob Burke</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Jon Flanders]]></category>
		<category><![CDATA[REST]]></category>
		<category><![CDATA[SOAP]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Tech Events]]></category>
		<category><![CDATA[TechDays 2009]]></category>
		<category><![CDATA[WCF]]></category>
		<category><![CDATA[WCF REST Starter Kit]]></category>
		<category><![CDATA[Web Services]]></category>
		<category><![CDATA[WS-*]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://robburke.net/?p=1784</guid>
		<description><![CDATA[I&#8217;m by no means a native REST-afarian: I was a Microsoftie during the time when SOAP and WS-* were all the rage, and the first version of WCF was released (all lathered up in SOAP) to unify communications in .NET. But as I do more client-side development &#8211; particularly with Silverlight and ASP.NET AJAX &#8211; [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.microsoft.com/canada/techdays/"><img class="alignright" title="TechDays 2009" src="http://robburke.net/wp-content/uploads/2009/09/techdays_thumb_3c3064a8-83bb-4e56-8029-aedc56d6c678.jpg" alt="TechDays 2009" width="125" height="133" /></a>I&#8217;m by no means a native REST-afarian: I <a href="http://blogs.msdn.com/robburke">was a Microsoftie</a> during the time when SOAP and WS-* were all the rage, and the first version of WCF was released (all lathered up in SOAP) to unify communications in .NET.</p>
<p>But as I do more client-side development &#8211; particularly with Silverlight and ASP.NET AJAX &#8211; I&#8217;ve encountered more and more service scenarios where the REST architecture, and lightweight data formats like JSON, make a lot of sense.</p>
<p>So it&#8217;s a case of <a href="http://www.usingenglish.com/reference/idioms/horses+for+courses.html">horses for courses</a>, and very good news that the ultra-extensible WCF now has strong built-in support for both SOAP and REST&#8230; and JSON and ATOM/RSS syndication and more.</p>
<div id="attachment_1792" class="wp-caption aligncenter" style="width: 510px"><img class="size-full wp-image-1792 " title="The verbs that make up the uniform REST-ful interface" src="http://robburke.net/wp-content/uploads/2009/11/RESTVerbs.jpg" alt="The verbs that make up the uniform REST-ful interface" width="500" height="251" /><p class="wp-caption-text">The verbs that make up the uniform REST-ful interface</p></div>
<p><strong>Get the REST Starter Kit</strong></p>
<p>If you&#8217;re interested in WCF&#8217;s support for REST, please download the WCF REST Starter Kit, and check out the <a href="http://msdn.microsoft.com/en-us/netframework/cc950529.aspx">resources for REST in Windows Communication Foundation linked here</a>.</p>
<div id="attachment_1788" class="wp-caption alignright" style="width: 160px"><a href="http://robburke.net/wp-content/uploads/2009/11/PasteXMLAsTypes.jpg"><img class="size-thumbnail wp-image-1788 " title="Paste XML as Types" src="http://robburke.net/wp-content/uploads/2009/11/PasteXMLAsTypes-150x150.jpg" alt="Paste XML as Types" width="150" height="150" /></a><p class="wp-caption-text">Paste XML as Types</p></div>
<p>The REST Starter Kit gives Visual Studio 2008 SP1 a lot of additional helpful functionality for consuming REST services from a client, including the &#8220;Paste XML as Types&#8221; functionality that got an audible &#8220;oooh!&#8221; today.</p>
<p>Here&#8217;s how it works: You copy some XML into your clipboard, and then use this menu item to paste it into your code as C# classes. Then, you can use the HttpClient classes (found in the Microsoft.Http and Microsoft.Http.Extensions assemblies, also part of the Starter Kit) to load your data into a client app without munging the XML. Very nice, and no &#8220;Add Service Reference&#8221; magic needed.</p>
<p><strong>More on WCF+REST: </strong></p>
<p>I am immensely indebted to <a href="http://www.masteringbiztalk.com/blogs/jon/">Jon Flanders</a>, a true REST-afarian, for the foundation of today&#8217;s presentation. He literally <a href="http://oreilly.com/catalog/9780596519216">wrote the book on REST-ful .NET</a>.</p>
<p>He&#8217;s presented on this subject at the past two TechEd conferences. You can <a href="http://www.msteched.com/online/view.aspx?tid=ddda0dea-8e30-489a-9080-b07064599d7e">watch his TechEd2009 presentation here</a> and <a href="http://www.masteringbiztalk.com/blogs/jon/PermaLink,guid,4f782b5e-6a14-48d9-b183-79967b4d7fd9.aspx">download that presentation&#8217;s sample code here</a>.</p>
<p>Hope that helps, and happy service building!</p>
]]></content:encoded>
			<wfw:commentRss>http://robburke.net/2009/11/techdays-2009-building-restful-services-with-wcf-follow-up/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

