<?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/"
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Ben Dewey - Leveraging .NET for Appealing UIs</title>
	<atom:link href="http://bendewey.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://bendewey.wordpress.com</link>
	<description>Leveraging the latest technologies for presentation using appealing UIs</description>
	<lastBuildDate>Thu, 06 Aug 2009 16:23:37 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='bendewey.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/c23638cdb341a3c741998929c8d36603?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Ben Dewey - Leveraging .NET for Appealing UIs</title>
		<link>http://bendewey.wordpress.com</link>
	</image>
			<item>
		<title>Should you use Stored Procedures with LINQ?</title>
		<link>http://bendewey.wordpress.com/2009/08/01/should-you-use-stored-procedures-with-linq/</link>
		<comments>http://bendewey.wordpress.com/2009/08/01/should-you-use-stored-procedures-with-linq/#comments</comments>
		<pubDate>Sun, 02 Aug 2009 04:18:19 +0000</pubDate>
		<dc:creator>bendewey</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[LINQ]]></category>

		<guid isPermaLink="false">http://bendewey.wordpress.com/?p=169</guid>
		<description><![CDATA[I&#8217;ve had the discussion many times about whether or not to use Stored Procedures when consuming my LINQ to SQL or Entity Framework models.  I think that Lenni has come up with an excellent compromise in his Rethinking the Dynamic SQL vs. Stored Procedure Debate with LINQ blog post. 
Basically, he thinks we use LINQ for SELECT operations, harnessing Dynamic [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bendewey.wordpress.com&blog=2869726&post=169&subd=bendewey&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I&#8217;ve had the discussion many times about whether or not to use Stored Procedures when consuming my LINQ to SQL or Entity Framework models.  I think that Lenni has come up with an excellent compromise in his <a title="Rethinking the Dynamic SQL vs. Stored Procedure Debate with LINQ" href="http://lennilobel.wordpress.com/2009/08/01/rethinking-the-dynamic-sql-vs-stored-procedure-debate-with-linq" target="_self">Rethinking the Dynamic SQL vs. Stored Procedure Debate with LINQ</a> blog post. </p>
<p>Basically, he thinks we use LINQ for SELECT operations, harnessing Dynamic SQL, and continue to use Stored Procedures for the INSERT, UPDATE and DELETE operations.</p>
<p>Lenni is a SQL Server guru who basically wrote the book on <a href="http://www.amazon.com/Programming-Microsoft-Server-2008-PRO-Developer/dp/0735625999">Programming SQL Server</a>.  His deep analysis of the debate is spot on.  Although, I still strive to use full capabilities of the ORM; I can see the need for maintaining  control of the data manipulation using Stored Procedures.  Also, since you&#8217;re often writing way less than half as much data as you&#8217;re reading, you shouldn&#8217;t see a any real performance decrease for not utilizing a partial UPDATE statement.  I hope this will encourage the strict DBAs to allow more dynamic SQL into the DB.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bendewey.wordpress.com/169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bendewey.wordpress.com/169/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bendewey.wordpress.com/169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bendewey.wordpress.com/169/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bendewey.wordpress.com/169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bendewey.wordpress.com/169/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bendewey.wordpress.com/169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bendewey.wordpress.com/169/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bendewey.wordpress.com/169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bendewey.wordpress.com/169/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bendewey.wordpress.com&blog=2869726&post=169&subd=bendewey&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://bendewey.wordpress.com/2009/08/01/should-you-use-stored-procedures-with-linq/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1db8aa9f1900591e1831faf210a8dafb?s=96&#38;d=identicon&#38;r=PG" medium="image">
			<media:title type="html">bendewey</media:title>
		</media:content>
	</item>
		<item>
		<title>Apache Stonehenge Interoperability Presentation at the NYC .NET Dev User Group</title>
		<link>http://bendewey.wordpress.com/2009/07/16/apache-stonehenge-interoperability-presentation-at-the-nyc-net-dev-user-group/</link>
		<comments>http://bendewey.wordpress.com/2009/07/16/apache-stonehenge-interoperability-presentation-at-the-nyc-net-dev-user-group/#comments</comments>
		<pubDate>Fri, 17 Jul 2009 03:17:29 +0000</pubDate>
		<dc:creator>bendewey</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Presentations]]></category>
		<category><![CDATA[stonehenge]]></category>
		<category><![CDATA[WCF]]></category>

		<guid isPermaLink="false">http://bendewey.wordpress.com/?p=153</guid>
		<description><![CDATA[I just finished my Apache Stonehenge interoperability demo at the NYC .NET Developer&#8217;s User Group meeting. Thanks to all that attended, we had a great time and some really good questions. Hopefully I&#8217;ve sparked some interested in the community about interoperability and the ability to connect multiple languages and platforms together using web services and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bendewey.wordpress.com&blog=2869726&post=153&subd=bendewey&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I just finished my <a href="http://incubator.apache.org/stonehenge" target="_blank">Apache Stonehenge </a>interoperability demo at the <a href="http://www.nycdotnetdev.com/" target="_blank">NYC .NET Developer&#8217;s User Group</a> meeting. Thanks to all that attended, we had a great time and some really good questions. Hopefully I&#8217;ve sparked some interested in the community about interoperability and the ability to connect multiple languages and platforms together using web services and WCF.</p>
<h3>Downloads</h3>
<p>As promised the slides from this evening&#8217;s presentation are available for download on my website.  If your downloading the slides please join the <a href="http://incubator.apache.org/stonehenge/mail-lists.html">mailing list</a> and let us know what you think.</p>
<p><a href="http://www.bendewey.com/downloads/Apache-Stonehenge.pptx">http://www.bendewey.com/downloads/Apache-Stonehenge.pptx</a></p>
<h3>Links</h3>
<p>Also here are some of the key links from my presentation</p>
<ul>
<li><a href="http://incubator.apache.org/stonehenge" target="_blank">Apache Stonehenge Project website</a></li>
<li><a href="http://incubator.apache.org/stonehenge/mail-lists.html">Apache Stonehenge Mailing list</a></li>
<li><a href="http://bendewey.wordpress.com/2009/05/01/contributing-to-the-apache-stonehenge-incubator-project/" target="_blank">My Getting Started Blog post</a></li>
<li><a href="http://blogs.msdn.com/interoperability/archive/2009/05/12/apache-stonehenge-interoperability-at-work.aspx" target="_blank">Kamaljit Bath&#8217;s MSDN Blog on Apache Interoperabilty</a></li>
<li><a href="http://java.sun.com/javaone/2009/playlist.jsp?pid=24744799001&amp;autoStart=on" target="_blank">JavaOne KeyNote: Apache Stonehenge</a></li>
<li><a href="http://connectedshow.com/?Episode=8" target="_blank">ConnectedShow Podcast #8: Project Stonehenge</a></li>
</ul>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bendewey.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bendewey.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bendewey.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bendewey.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bendewey.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bendewey.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bendewey.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bendewey.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bendewey.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bendewey.wordpress.com/153/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bendewey.wordpress.com&blog=2869726&post=153&subd=bendewey&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://bendewey.wordpress.com/2009/07/16/apache-stonehenge-interoperability-presentation-at-the-nyc-net-dev-user-group/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1db8aa9f1900591e1831faf210a8dafb?s=96&#38;d=identicon&#38;r=PG" medium="image">
			<media:title type="html">bendewey</media:title>
		</media:content>
	</item>
		<item>
		<title>LitWare Training sample application now available on MSDN Code Gallery</title>
		<link>http://bendewey.wordpress.com/2009/07/16/litware-training/</link>
		<comments>http://bendewey.wordpress.com/2009/07/16/litware-training/#comments</comments>
		<pubDate>Fri, 17 Jul 2009 02:43:28 +0000</pubDate>
		<dc:creator>bendewey</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Litware Training]]></category>
		<category><![CDATA[REST]]></category>
		<category><![CDATA[WCF]]></category>
		<category><![CDATA[wcf rest starter kit]]></category>

		<guid isPermaLink="false">http://bendewey.wordpress.com/?p=147</guid>
		<description><![CDATA[The WCF Team at Microsoft just posted their LitWare Training sample application (http://code.msdn.microsoft.com/litwaremashup) on the MSDN Code Gallery website.   The Litware Training application is a sample application using WCF and the WCF REST Starter Kit to build a “Mashup” web site.  LitWare Training is a fictitious training company that maintains registration for technical training courses.  The main selling point [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bendewey.wordpress.com&blog=2869726&post=147&subd=bendewey&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>The WCF Team at Microsoft just posted their LitWare Training sample application (<a href="http://code.msdn.microsoft.com/litwaremashup">http://code.msdn.microsoft.com/litwaremashup</a>) on the MSDN Code Gallery website.   The Litware Training application is a sample application using WCF and the WCF REST Starter Kit to build a “Mashup” web site.  LitWare Training is a fictitious training company that maintains registration for technical training courses.  The main selling point for this fictitious company is that it provides a rich, integrated user experience by incorporating multiple services that exist on the internet. </p>
<p><img title="Litware Training Screenshot" src="http://bendewey.files.wordpress.com/2009/07/litware.png?w=300&#038;h=196" alt="Litware Training Screenshot" width="300" height="196" /></p>
<p>This sample application includes more products and services mashed together than any other application that I&#8217;ve seen.  Among the many services and products featured in this application are:</p>
<ul>
<li>ASP.NET</li>
<li>Windows Communication Foundation (WCF)</li>
<li>WCF REST Starter Kit Preview 2</li>
<li>SQL Server 2008</li>
<li>Entity Framework</li>
<li>Unity</li>
<li>jQuery with AJAX</li>
<li>Silverlight</li>
<li>Virtual Earth</li>
<li>Live Search</li>
<li>Twitter</li>
<li>Facebook</li>
<li>Amazon</li>
<li>ATOM/RSS Feeds Viewer</li>
</ul>
<p>At twentysix New York I worked very closely with Kent Brown from Microsoft on this reference application.  Please download the code, take a look, and leave me feedback on this blog if you have any questions.  Additionally, I will be producing a series of screencasts reviewing and demonstrating this application.  Please stay tuned to my blog for updates and links when those screencasts get posted.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bendewey.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bendewey.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bendewey.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bendewey.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bendewey.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bendewey.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bendewey.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bendewey.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bendewey.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bendewey.wordpress.com/147/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bendewey.wordpress.com&blog=2869726&post=147&subd=bendewey&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://bendewey.wordpress.com/2009/07/16/litware-training/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1db8aa9f1900591e1831faf210a8dafb?s=96&#38;d=identicon&#38;r=PG" medium="image">
			<media:title type="html">bendewey</media:title>
		</media:content>

		<media:content url="http://bendewey.files.wordpress.com/2009/07/litware.png" medium="image">
			<media:title type="html">Litware Training Screenshot</media:title>
		</media:content>
	</item>
		<item>
		<title>Project StoneHenge Podcast from the ConnectedShow</title>
		<link>http://bendewey.wordpress.com/2009/07/03/project-stonehenge-podcast-from-the-connectshow/</link>
		<comments>http://bendewey.wordpress.com/2009/07/03/project-stonehenge-podcast-from-the-connectshow/#comments</comments>
		<pubDate>Fri, 03 Jul 2009 18:49:04 +0000</pubDate>
		<dc:creator>bendewey</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[stonehenge]]></category>

		<guid isPermaLink="false">http://bendewey.wordpress.com/?p=135</guid>
		<description><![CDATA[The ConnectedShow podcast is a new podcast created to help Developers get up to speed with .NET technologies.  They just recently posted an episode related to Project Stonehenge, a project I&#8217;ve been working with recently.
ConnectedShow Podcast #8: Project Stonehenge
http://www.connectedshow.com/default.aspx?Episode=8
Keep up the good work Dimitry and Peter
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bendewey.wordpress.com&blog=2869726&post=135&subd=bendewey&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>The ConnectedShow podcast is a new podcast created to help Developers get up to speed with .NET technologies.  They just recently posted an episode related to <a title="StoneHenge Homepage" href="http://incubator.apache.org/stonehenge" target="_blank">Project Stonehenge</a>, a project I&#8217;ve been working with <a title="My post on Contributing to the Stonehenge Project" href="http://bendewey.wordpress.com/2009/05/01/contributing-to-the-apache-stonehenge-incubator-project/" target="_blank">recently</a>.</p>
<h4>ConnectedShow Podcast #8: Project Stonehenge</h4>
<p><a href="http://www.connectedshow.com/default.aspx?Episode=8">http://www.connectedshow.com/default.aspx?Episode=8</a></p>
<p>Keep up the good work Dimitry and Peter</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bendewey.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bendewey.wordpress.com/135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bendewey.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bendewey.wordpress.com/135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bendewey.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bendewey.wordpress.com/135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bendewey.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bendewey.wordpress.com/135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bendewey.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bendewey.wordpress.com/135/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bendewey.wordpress.com&blog=2869726&post=135&subd=bendewey&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://bendewey.wordpress.com/2009/07/03/project-stonehenge-podcast-from-the-connectshow/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1db8aa9f1900591e1831faf210a8dafb?s=96&#38;d=identicon&#38;r=PG" medium="image">
			<media:title type="html">bendewey</media:title>
		</media:content>
	</item>
		<item>
		<title>Microsoft and Sun commit to support WS-* standards by building interoperating reference applications under &#8220;Project Stonehenge&#8221;</title>
		<link>http://bendewey.wordpress.com/2009/06/05/microsoft-and-sun-commit-to-support-ws-standards-by-building-interoperating-reference-applications-under-project-stonehenge/</link>
		<comments>http://bendewey.wordpress.com/2009/06/05/microsoft-and-sun-commit-to-support-ws-standards-by-building-interoperating-reference-applications-under-project-stonehenge/#comments</comments>
		<pubDate>Fri, 05 Jun 2009 17:24:25 +0000</pubDate>
		<dc:creator>bendewey</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[stonehenge]]></category>

		<guid isPermaLink="false">http://bendewey.wordpress.com/?p=134</guid>
		<description><![CDATA[At the JavaOne conference on June 4, Dan&#8217;l Lewin and Steven Martin from Microsoft appeared for the keynote to announce their further support of Interoperability. This effort is backed by Sun joining the Apache Stonehenge Incubator project. Stonehenge is sponsored by the Apache Software Foundation, a leader in the Open Source community, and was created to build [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bendewey.wordpress.com&blog=2869726&post=134&subd=bendewey&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>At the JavaOne conference on June 4, Dan&#8217;l Lewin and <a title="Steven Martin's Blog announcing the Keynote" href="http://blogs.msdn.com/stevemar/archive/2009/06/04/microsoft-keynoting-at-javaone.aspx" target="_blank">Steven Martin</a> from Microsoft appeared for the <a title="JavaOne Keynote Video" href="http://java.sun.com/javaone/2009/playlist.jsp?pid=24744799001&amp;autoStart=on" target="_blank">keynote</a> to announce their further support of Interoperability. This effort is backed by Sun joining the <a title="Apache StoneHenge Homepage" href="http://incubator.apache.org/stonehenge" target="_blank">Apache Stonehenge Incubator</a> project. Stonehenge is sponsored by the <a title="Apache.org" href="http://www.apache.org" target="_blank">Apache Software Foundation</a>, a leader in the Open Source community, and was created to build reference applications that demonstrate the use of WS-* Standards in real-world project implementations.</p>
<p>This came at a great time,  the StoneHenge project just completed their <a title="StoneHenge M1 Release" href="http://www.apache.org/dist/incubator/stonehenge/" target="_blank">M1</a> release of the StockTrader application.  M1 comes complete with installation guides and interoperability walkthroughs for connecting .NET, PHP, and WSO2&#8217;s Web Service Application Server (WSAS), a Java implementation.</p>
<p>The Sun Metro implementation discussed at JavaOne is currently contributed to the project.  Additionally, there is a patch available for the .NET stack that supports this Metro implementation.  The commiters at Stonehenge hope to have the Metro Implemetation added to trunk by the M2 release.</p>
<p>This is really good news, as I mentioned in my <a title="Contributing to Stonehenge Blog Post" href="http://bendewey.wordpress.com/2009/05/01/contributing-to-the-apache-stonehenge-incubator-project/" target="_blank">previous post</a>, I&#8217;ve recently been contributing to the StockTrader application.  This announcement in some ways confirms the success and commitment to open standards and interoperability in enterprise environments.  Although, the real success and adoption is now in the hands of the Open Source community.  That being said, I&#8217;d like to take this opportunity to once again encourage developers to take a look at the <a title="Apache Stonehenge Homepage" href="http://incubator.apache.org/stonehenge">Apache Stonehenge</a> project, download the bits, and offer feedback and support.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bendewey.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bendewey.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bendewey.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bendewey.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bendewey.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bendewey.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bendewey.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bendewey.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bendewey.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bendewey.wordpress.com/134/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bendewey.wordpress.com&blog=2869726&post=134&subd=bendewey&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://bendewey.wordpress.com/2009/06/05/microsoft-and-sun-commit-to-support-ws-standards-by-building-interoperating-reference-applications-under-project-stonehenge/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1db8aa9f1900591e1831faf210a8dafb?s=96&#38;d=identicon&#38;r=PG" medium="image">
			<media:title type="html">bendewey</media:title>
		</media:content>
	</item>
		<item>
		<title>Updated jQuery formatCurrency plugin posted on GoogleCode</title>
		<link>http://bendewey.wordpress.com/2009/05/26/updated-jquery-formatcurrency-plugin-posted-on-googlecode/</link>
		<comments>http://bendewey.wordpress.com/2009/05/26/updated-jquery-formatcurrency-plugin-posted-on-googlecode/#comments</comments>
		<pubDate>Wed, 27 May 2009 02:00:18 +0000</pubDate>
		<dc:creator>bendewey</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://bendewey.wordpress.com/?p=128</guid>
		<description><![CDATA[After receiving some comments on my formatCurrency plugin regarding international support I decided to create an official release of the formatCurrency jQuery plugin.
The new plugin is available on the Google Code at http://jquery-formatcurrency.googlecode.com.
Thank you to everyone on for your downloads and comments. Please contact me if you are interested in becoming a member on the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bendewey.wordpress.com&blog=2869726&post=128&subd=bendewey&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>After receiving some comments on my <a href="http://bendewey.wordpress.com/2008/11/11/jquery-formatcurrency-plugin">formatCurrency plugin</a> regarding international support I decided to create an official release of the formatCurrency jQuery plugin.</p>
<p>The new plugin is available on the Google Code at <a href="http://jquery-formatcurrency.googlecode.com">http://jquery-formatcurrency.googlecode.com</a>.</p>
<p>Thank you to everyone on for your downloads and comments. Please contact me if you are interested in becoming a member on the project.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bendewey.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bendewey.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bendewey.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bendewey.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bendewey.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bendewey.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bendewey.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bendewey.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bendewey.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bendewey.wordpress.com/128/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bendewey.wordpress.com&blog=2869726&post=128&subd=bendewey&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://bendewey.wordpress.com/2009/05/26/updated-jquery-formatcurrency-plugin-posted-on-googlecode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1db8aa9f1900591e1831faf210a8dafb?s=96&#38;d=identicon&#38;r=PG" medium="image">
			<media:title type="html">bendewey</media:title>
		</media:content>
	</item>
		<item>
		<title>Create SendAsync Convenience Extensions for the WCF REST HttpClient to GetAsync and PostAsync</title>
		<link>http://bendewey.wordpress.com/2009/05/20/httpclient-send-async-convenience-extension/</link>
		<comments>http://bendewey.wordpress.com/2009/05/20/httpclient-send-async-convenience-extension/#comments</comments>
		<pubDate>Wed, 20 May 2009 19:18:38 +0000</pubDate>
		<dc:creator>bendewey</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[REST]]></category>
		<category><![CDATA[WCF]]></category>

		<guid isPermaLink="false">http://bendewey.wordpress.com/?p=96</guid>
		<description><![CDATA[I recently had the pleasure of speaking with some industry icons. We compared some RESTful jQuery code with the new HttpClient code from the WCF Rest Starter Kit Preview 2.  The line by line comparison on the code was quite similar (the WCF REST team has done an excellent job with this API, I&#8217;m [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bendewey.wordpress.com&blog=2869726&post=96&subd=bendewey&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I recently had the pleasure of speaking with some industry icons. We compared some RESTful jQuery code with the new HttpClient code from the <a href="http://go.microsoft.com/?linkid=9653247" target="_blank">WCF Rest Starter Kit Preview 2</a>.  The line by line comparison on the code was quite similar (the WCF REST team has done an excellent job with this API, I&#8217;m always amazed at how easy it is to use),  the main difference was that the jQuery code was transmitting asynchronously.  After our conversation, I decided to create these convenience extensions to give developers an API for using lambda expressions to call RESTful services asynchronously in .NET.</p>
<h3>Download</h3>
<p>In this application I use the jQuery code from my <a href="http://bendewey.wordpress.com/2009/02/09/introduction-to-jquery-presentation/">Intro to jQuery presentation</a> and the <a href="http://bendewey.wordpress.com/2009/03/14/connecting-to-live-search-using-the-httpclient/">Live Search WPF Application</a>.   The first method I wrote was the GetAsync extension, and after realizing how simple it was I created this entire Extension Library.  Additionally, since all the code fit nicely into a single class I&#8217;m going to publish the code as a single cs file.  As usual, I&#8217;m also including the Sample application for download.</p>
<p><a href="http://www.bendewey.com/code/HttpAsyncMethodExtensions.cs.txt" target="_blank">HttpAsyncMethodExtensions.cs (12.1KB)</a></p>
<p><a href="http://www.bendewey.com/code/HttpClientExtension.zip" target="_blank">HttpClientExtensions Sample WPF Application (Compressed Zip, 13.1KB)</a></p>
<h3>Code Comparison</h3>
<p>The goal of this API was to mimic the jQuery AJAX code that I had previously written.  Here is a actual ajax portion of the jQuery code that retrieves some google search results:</p>
<pre class="brush: jscript;">$(document).ready(function() {
	$('.getGoogle').click(function(e) {
		//  Prevent the event and Set Loading Message
		e.preventDefault();
		$('.results .noResults').html('Loading...');

		// Generate the google Url
		var googleUri = &quot;http://www.google.com/search?q=&quot; + $('.searchText').val();

		// Send Async GET call
		$.get(googleUri, {}, function(html) {

			// Parse result and create placeholder
			var google = $(html);
			var ul = $('&lt;ul /&gt;');

			// find links from results
			$('.g .r .l', google).each(function() {

				// create the list item, generate the list item, and add it to the placeholder
				ul.append($('&lt;li /&gt;')
					.append($(this).clone().removeAttr('onmousedown')) // this.clone() clones the google link
				);
			});

			$('.results').append(ul).find('.noResults').remove();
		});
	});
});</pre>
<p>Using this jQuery code as a guide I created the usage code first:</p>
<pre class="brush: csharp;">private void Search_Click(object sender, RoutedEventArgs e)
{
	// Set Loading Message
	this.Items.Clear();
	this.Items.Add(&quot;Loading ...&quot;);

	// Generate Google Uri
	const string googleApiUrl = &quot;http://ajax.googleapis.com/ajax/services/search/web?v=1.0&amp;q={0}&quot;;
	var uri = string.Format(googleApiUrl, this.SearchText.Text);

	// Create Client and Send Asynchronous GET
	var client = new HttpClient();
	client.GetAsync(uri, (s, r) =&gt;
	{
		// Clear Loading Message
		this.Items.Clear();

		// Parse Results
		var results = r.Response.Content.ReadAsJsonDataContract&lt;GoogleResults&gt;();

		// Find and add the results
		this.Items.AddRange(results.responseData.results.Cast&lt;object&gt;());
	});
}</pre>
<p>I tried to keep the two samples consistent, and as you can see the HttpClient code is 5 lines smaller than its jQuery counterpart.  Unfortunately, these samples are not identical implementations.  For instance, one client is a web browser and the other is a WPF application.  Additionally, both projects have additional code, behind the scenes.  But since the goal was to create a similar API I think it works.</p>
<h3>HttpClient Extension Methods</h3>
<p>What you may not know, is that the HttpClient gains most of its leverage from extension methods. The core functionality of the HttpClient is in its Send method.  In the existing API, the Get, Post, Put, Delete methods are extension methods which simple call Send.  Using that same concept, here is a GetAsync extension method to the HttpClient:</p>
<pre class="brush: csharp;">public static class HttpAsyncMethodExtensions
{
	public static void GetAsync(this HttpClient client, string uri, EventHandler&lt;SendCompletedEventArgs&gt; completed)
	{
		// register callback
		client.SendCompleted += completed;

		// call SendAsync
		var message = new HttpRequestMessage(HttpMethod.GET.ToString(), uri);
		client.SendAsync(message);
	}
}</pre>
<p>The HttpClientAsyncExtensions Library, that is downloadable above, contains the full implementation of these extension methods for SendAsync, GetAsync, PostAsync, PutAsync, DeleteAsync, and HeadAsync.  There are also a few overloaded helper methods to avoid repeating code. </p>
<h3>Conclusion</h3>
<p>I think its great that we have the ability to choose between synchronous and asynchronous processing of remote calls.  Unfortunately, the amount of code required to perform these tasks is often quite different. </p>
<p>We&#8217;ve all seen applications that block the UI thread while executing a long running task synchronously.  I&#8217;m not sure if this is because of the tools or because of a lack of knowledge around asynchronous programming.  Either way, developers often feel that asynchronous programming is difficult.</p>
<p>I&#8217;m hoping that these extension methods will show that this doesn&#8217;t have to be the case, and that we can actually make remote services calls asynchronously with very little code.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bendewey.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bendewey.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bendewey.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bendewey.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bendewey.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bendewey.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bendewey.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bendewey.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bendewey.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bendewey.wordpress.com/96/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bendewey.wordpress.com&blog=2869726&post=96&subd=bendewey&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://bendewey.wordpress.com/2009/05/20/httpclient-send-async-convenience-extension/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1db8aa9f1900591e1831faf210a8dafb?s=96&#38;d=identicon&#38;r=PG" medium="image">
			<media:title type="html">bendewey</media:title>
		</media:content>
	</item>
		<item>
		<title>Contributing to the Apache StoneHenge Incubator Project</title>
		<link>http://bendewey.wordpress.com/2009/05/01/contributing-to-the-apache-stonehenge-incubator-project/</link>
		<comments>http://bendewey.wordpress.com/2009/05/01/contributing-to-the-apache-stonehenge-incubator-project/#comments</comments>
		<pubDate>Fri, 01 May 2009 15:43:11 +0000</pubDate>
		<dc:creator>bendewey</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[stonehenge]]></category>
		<category><![CDATA[WCF]]></category>

		<guid isPermaLink="false">http://bendewey.wordpress.com/?p=106</guid>
		<description><![CDATA[I&#8217;m currently following the Apache StoneHenge Project.   This is an Incubator project that demonstrates using WS-* Standards to interoperate between multiple platforms.  The flagship project is the StockTrader application which currently has an implementation where .NET, JAVA, and PHP can communicate using standard SOAP messages or encrypted SOAP messages. 
StoneHenge is a great project and since it [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bendewey.wordpress.com&blog=2869726&post=106&subd=bendewey&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I&#8217;m currently following the Apache StoneHenge Project.   This is an Incubator project that demonstrates using WS-* Standards to interoperate between multiple platforms.  The flagship project is the StockTrader application which currently has an implementation where .NET, JAVA, and PHP can communicate using standard SOAP messages or encrypted SOAP messages. </p>
<p>StoneHenge is a great project and since it is in this early phase of incubation they&#8217;re still looking for new members.  Below is some useful information for getting started.</p>
<h3>Proposal</h3>
<p>“The aim of the Stonehenge project is to develop a set of sample applications to demonstrate seamless interoperability across multiple underlying platform technologies by using currently defined W3C and OASIS standard protocols.”  <a href="http://wiki.apache.org/incubator/StonehengeProposal">Full proposal</a></p>
<h3>Microsoft MSDN StockTrader</h3>
<p>The Apache StockTrader application is a subset of MSDN StockTrader Project.  There is no need to install this, it&#8217;s just helpful to know that this project exists.</p>
<ul>
<li><a href="http://msdn.microsoft.com/en-us/netframework/bb499684.aspx">.NET StockTrader Sample Application</a></li>
<li>Demo Video: <a href="http://video.msn.com/video.aspx?mkt=en-us&amp;vid=7019fbb8-4d12-4f56-93a1-a39b9d2ccb00">StockTrader Keynote Demo On Interop At TechEd IT Pro 2008</a></li>
</ul>
<h3>StoneHenge Links</h3>
<ul>
<li>Apache StoneHenge Proposal:<br />
<a href="http://wiki.apache.org/incubator/StonehengeProposal">http://wiki.apache.org/incubator/StonehengeProposal</a></li>
<li>Apache StoneHenge Hompage: <a href="http://incubator.apache.org/stonehenge/">http://incubator.apache.org/stonehenge/</a></li>
<li>StoneHenge Wikipedia:<br />
<a href="http://cwiki.apache.org/confluence/display/STONEHENGE">http://cwiki.apache.org/confluence/display/STONEHENGE</a></li>
<li>JIRA Bug Tracker: <a href="http://issues.apache.org/jira/browse/StoneHenge">http://issues.apache.org/jira/browse/StoneHenge</a></li>
<li>SVN Repository: <a href="http://svn.apache.org/repos/asf/incubator/stonehenge">http://svn.apache.org/repos/asf/incubator/stonehenge</a></li>
</ul>
<h3>Apache Links</h3>
<ul>
<li>Apache Software Foundation Homepage: <a href="http://apache.org">http://apache.org</a></li>
<li>How Apache Works: <a href="http://apache.org/foundation/how-it-works.html">http://apache.org/foundation/how-it-works.html</a></li>
<li>Getting Involved: <a href="http://apache.org/foundation/getinvolved.html">http://apache.org/foundation/getinvolved.html</a></li>
<li>Apache Developer Information: <a href="http://apache.org/dev/">http://apache.org/dev/</a></li>
</ul>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bendewey.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bendewey.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bendewey.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bendewey.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bendewey.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bendewey.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bendewey.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bendewey.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bendewey.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bendewey.wordpress.com/106/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bendewey.wordpress.com&blog=2869726&post=106&subd=bendewey&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://bendewey.wordpress.com/2009/05/01/contributing-to-the-apache-stonehenge-incubator-project/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1db8aa9f1900591e1831faf210a8dafb?s=96&#38;d=identicon&#38;r=PG" medium="image">
			<media:title type="html">bendewey</media:title>
		</media:content>
	</item>
		<item>
		<title>Connecting to Live Search using the HttpClient</title>
		<link>http://bendewey.wordpress.com/2009/03/14/connecting-to-live-search-using-the-httpclient/</link>
		<comments>http://bendewey.wordpress.com/2009/03/14/connecting-to-live-search-using-the-httpclient/#comments</comments>
		<pubDate>Sat, 14 Mar 2009 15:46:50 +0000</pubDate>
		<dc:creator>bendewey</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[REST]]></category>
		<category><![CDATA[WPF]]></category>

		<guid isPermaLink="false">http://bendewey.wordpress.com/?p=79</guid>
		<description><![CDATA[Preview 2 of the WCF REST Starter Kit has been posted to CodePlex. Check it out at http://tinyurl.com/wcf-rest-kit2. Included in this latest release of the WCF REST Starter Kit are a great new set of client connection tools that make consumption of RESTful services a breeze.
At the forefront of these client connection tools is the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bendewey.wordpress.com&blog=2869726&post=79&subd=bendewey&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Preview 2 of the WCF REST Starter Kit has been posted to CodePlex. Check it out at <a href="http://tinyurl.com/wcf-rest-kit2" target="_blank">http://tinyurl.com/wcf-rest-kit2</a>. Included in this latest release of the WCF REST Starter Kit are a great new set of client connection tools that make consumption of RESTful services a breeze.</p>
<p>At the forefront of these client connection tools is the HttpClient. This class allows quick and easy access to download any content from a url. I&#8217;ve created a simple WPF Application that demonstrates using the HttpClient and the Live Search API.  For more information on the LiveSearch API or to get your LiveSearch API Key goto <a href="http://dev.live.com/getstarted/">http://dev.live.com/getstarted/</a></p>
<p><a href="http://www.bendewey.com/code/LiveSearch.png"><img class="alignnone" title="LiveSearch Demo Screenshot" src="http://www.bendewey.com/code/LiveSearchThumbnail.png" alt="" width="200" height="131" /></a></p>
<p>Click here to <a title="LiveSearchUsingRest.zip (15KB)" href="http://www.bendewey.com/code/LiveSearchUsingRest.zip">Download the Full Source Code</a></p>
<h3>Windows Live Search WPF Application</h3>
<p>This WPF Application consists of a Window with some code-behind,  and a LiveSearch.cs file that was created using the <a href="http://social.msdn.microsoft.com/content/en-us/msft/netframework/wcf/rest/ReleaseNotes" target="_blank">Paste as XML Type</a> feature of the WCF REST Starter Kit.  Before you can serialize your results from the Live Search API you need to run the query in your browser and copy the xml results into your clipboard.  After that you can go into Visual Studio and create a file in your project called LiveSearch.cs and then go to Edit-&gt; Paste as XML Type.  As for the WPF Window it has a Grid with 2 rows and 3 columns.  In the top row is a search textbox and two buttons.  In the second row is a ScrollViewer that contains an ItemsControl. </p>
<p>The first button does a single threaded search call to the Live Api and sets the ItemsSource of the ItemsControl.  As you can see by the code below its very simple, first we construct the uri, then we call .Get on that uri.  The Get call returns an HttpResponseMessage.  The response message has a number of different chaining methods and extension methods,  we are using the EnsureStatusIsSuccess, which is equivalent to the EnsureStatusIs(HttpStatusCode.OK).  After we call EnsureStatusIsSuccessful (which returns the original message or an exception) we can read the content.  In this case we are reading the content as a xml serialized response of the type created above using the Paste as XML Type feature.</p>
<pre class="brush: csharp;">
private void Search_Click(object sender, RoutedEventArgs e)
{
      string liveApi = &quot;Your Live Api&quot;;
      string uriFormat = &quot;http://api.search.live.net/xml.aspx?AppId={0}&amp;Market=en-US&amp;Query={1}&amp;Sources=web&amp;Web.Count=25&quot;;

      using (var client = new HttpClient())
      {
          string uri = string.Format(uriFormat, liveApi, this.SearchText.Text);

          var response = client.Get(uri).EnsureStatusIsSuccessful()
              .Content.ReadAsXmlSerializable&lt;SearchResponse&gt;();

          this.Results.ItemsSource = response.Web.Results;
      }
}
</pre>
<p>Since its not recommended to run potentially long running operation on the UI thread.  I created a second button to demonstate the Live Search feature using the SendAsync method.  Below is the code for that.</p>
<pre class="brush: csharp;">
private void SearchAsync_Click(object sender, RoutedEventArgs e)
{
      string liveApi = &quot;Your Live Api&quot;;
      string uriFormat = &quot;http://api.search.live.net/xml.aspx?AppId={0}&amp;Market=en-US&amp;Query={1}&amp;Sources=web&amp;Web.Count=25&quot;;

      var client = new HttpClient();
      string uri = string.Format(uriFormat, liveApi, this.SearchText.Text);

      client.SendCompleted += client_SendCompleted;
      client.SendAsync(new HttpRequestMessage(HttpMethod.GET.ToString(), uri));
}

void client_SendCompleted(object sender, SendCompletedEventArgs e)
{
      var response = e.Response.EnsureStatusIsSuccessful()
              .Content.ReadAsXmlSerializable&lt;SearchResponse&gt;();

      this.Results.ItemsSource = response.Web.Results;
}
</pre>
<p>Feel free to download the full demo using the link above, I hope you enjoy it. The new client connect features of the WCF REST Starter Kit create a really simple way of communicating with third party REST services.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bendewey.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bendewey.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bendewey.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bendewey.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bendewey.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bendewey.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bendewey.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bendewey.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bendewey.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bendewey.wordpress.com/79/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bendewey.wordpress.com&blog=2869726&post=79&subd=bendewey&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://bendewey.wordpress.com/2009/03/14/connecting-to-live-search-using-the-httpclient/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1db8aa9f1900591e1831faf210a8dafb?s=96&#38;d=identicon&#38;r=PG" medium="image">
			<media:title type="html">bendewey</media:title>
		</media:content>

		<media:content url="http://www.bendewey.com/code/LiveSearchThumbnail.png" medium="image">
			<media:title type="html">LiveSearch Demo Screenshot</media:title>
		</media:content>
	</item>
		<item>
		<title>Introduction to jQuery Presentation</title>
		<link>http://bendewey.wordpress.com/2009/02/09/introduction-to-jquery-presentation/</link>
		<comments>http://bendewey.wordpress.com/2009/02/09/introduction-to-jquery-presentation/#comments</comments>
		<pubDate>Tue, 10 Feb 2009 04:07:14 +0000</pubDate>
		<dc:creator>bendewey</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Presentations]]></category>

		<guid isPermaLink="false">http://bendewey.wordpress.com/?p=59</guid>
		<description><![CDATA[I just finished my Introduction to jQuery presentation at the NYC Web Design Meetup.  Thanks for all that attended.  We had a really good time and had lots of great questions.
Download
I&#8217;ve posted the presentation and demos online.
Intro to jQuery.zip
Note
I made some minor changes to the Google AJAX sample.  The sample shown at the meeting didn&#8217;t support [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bendewey.wordpress.com&blog=2869726&post=59&subd=bendewey&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I just finished my Introduction to jQuery presentation at the <a href="http://www.meetup.com/nyc-web-design" target="_self">NYC Web Design Meetup</a>.  Thanks for all that attended.  We had a really good time and had lots of great questions.</p>
<h3>Download</h3>
<p>I&#8217;ve posted the presentation and demos online.</p>
<p><a class="skyd_embd_dlnk" href="http://cid-473151cb8afe66ba.skydrive.live.com/self.aspx/.Public/Presentations/Intro to jQuery.zip" target="_top">Intro to jQuery.zip</a></p>
<h3>Note</h3>
<p>I made some minor changes to the Google AJAX sample.  The sample shown at the meeting didn&#8217;t support repeated clicks of the Get Google Links button.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bendewey.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bendewey.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bendewey.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bendewey.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bendewey.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bendewey.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bendewey.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bendewey.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bendewey.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bendewey.wordpress.com/59/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bendewey.wordpress.com&blog=2869726&post=59&subd=bendewey&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://bendewey.wordpress.com/2009/02/09/introduction-to-jquery-presentation/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1db8aa9f1900591e1831faf210a8dafb?s=96&#38;d=identicon&#38;r=PG" medium="image">
			<media:title type="html">bendewey</media:title>
		</media:content>
	</item>
	</channel>
</rss>