<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>David Radcliffe</title>
	
	<link>http://www.dwradcliffe.com</link>
	<description>Web Developer</description>
	<lastBuildDate>Tue, 27 Jul 2010 15:49:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/dwradcliffe" /><feedburner:info uri="dwradcliffe" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>If they can do it in Paris…</title>
		<link>http://feedproxy.google.com/~r/dwradcliffe/~3/7xXy7x79DAs/</link>
		<comments>http://www.dwradcliffe.com/blog/2010/07/if-they-can-do-it-in-paris/#comments</comments>
		<pubDate>Tue, 27 Jul 2010 15:49:00 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Ideas]]></category>
		<category><![CDATA[Links]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.dwradcliffe.com/blog/2010/07/if-they-can-do-it-in-paris/</guid>
		<description><![CDATA[&#8230;why can&#8217;t we do it here in the United States? Daily Paper for Children Defies the Craze for Digital Every time I read something like this I&#8217;m embarrassed and depressed about the state of our education system. Do your kids read the newspaper? Maybe they should&#8230; You should follow me on twitter @dwradcliffe.]]></description>
			<content:encoded><![CDATA[<p>&#8230;why can&#8217;t we do it here in the United States?</p>
<p><a href="http://www.nytimes.com/2010/07/27/world/europe/27paris.html">Daily Paper for Children Defies the Craze for Digital</a></p>
<p>Every time I read something like this I&#8217;m embarrassed and depressed about the state of our education system. Do your kids read the newspaper? Maybe they should&#8230;</p>
<p><span style="color: #888888">You should <a href="http://www.twitter.com/dwradcliffe">follow me on twitter</a> @dwradcliffe.</span></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/dwradcliffe?a=7xXy7x79DAs:VH8Cso2x-5U:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/dwradcliffe?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/dwradcliffe?a=7xXy7x79DAs:VH8Cso2x-5U:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/dwradcliffe?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/dwradcliffe?a=7xXy7x79DAs:VH8Cso2x-5U:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/dwradcliffe?i=7xXy7x79DAs:VH8Cso2x-5U:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/dwradcliffe/~4/7xXy7x79DAs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.dwradcliffe.com/blog/2010/07/if-they-can-do-it-in-paris/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.dwradcliffe.com/blog/2010/07/if-they-can-do-it-in-paris/</feedburner:origLink></item>
		<item>
		<title>Transloadit</title>
		<link>http://feedproxy.google.com/~r/dwradcliffe/~3/ZVtD3NNZeaI/</link>
		<comments>http://www.dwradcliffe.com/blog/2010/07/transloadit/#comments</comments>
		<pubDate>Thu, 15 Jul 2010 11:21:00 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.dwradcliffe.com/blog/2010/07/transloadit/</guid>
		<description><![CDATA[This is pretty cool. This week a small startup launched called Transloadit. Self titled as &#8220;Fantastic file uploading for your web application,&#8221; it seems like this might actually be pretty fantastic. Once you sign up for this (pay) web service you can point your upload forms to it and it will receive, resize and store [...]]]></description>
			<content:encoded><![CDATA[<p>This is pretty cool. This week a small startup launched called <a href="http://transloadit.com/">Transloadit</a>. Self titled as &#8220;Fantastic file uploading for your web application,&#8221; it seems like this might actually be pretty fantastic. Once you sign up for this (pay) web service you can point your upload forms to it and it will receive, resize and store your images to S3 for you.  They even provide a nifty little jQuery plugin to make nice upload forms.</p>
<p>Image processing is always the hardest part of an app and this does all the hard work for you.  Take a look and see if it might help you!</p>
<p>Launch Blog Post: <a href="http://bit.ly/bIQhca">http://kevin.vanzonneveld.net/techblog/article/announcing_transloadit/</a></p>
<p><span style="color: #888888;">You should <a href="http://www.twitter.com/dwradcliffe">follow me on twitter</a> @dwradcliffe.</span></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/dwradcliffe?a=ZVtD3NNZeaI:gBIlmyiUUH8:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/dwradcliffe?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/dwradcliffe?a=ZVtD3NNZeaI:gBIlmyiUUH8:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/dwradcliffe?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/dwradcliffe?a=ZVtD3NNZeaI:gBIlmyiUUH8:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/dwradcliffe?i=ZVtD3NNZeaI:gBIlmyiUUH8:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/dwradcliffe/~4/ZVtD3NNZeaI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.dwradcliffe.com/blog/2010/07/transloadit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.dwradcliffe.com/blog/2010/07/transloadit/</feedburner:origLink></item>
		<item>
		<title>Microsoft PivotViewer</title>
		<link>http://feedproxy.google.com/~r/dwradcliffe/~3/8LqiFXcYG30/</link>
		<comments>http://www.dwradcliffe.com/blog/2010/07/microsoft-pivotviewer/#comments</comments>
		<pubDate>Fri, 02 Jul 2010 12:25:19 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.dwradcliffe.com/blog/2010/07/microsoft-pivotviewer/</guid>
		<description><![CDATA[It&#8217;s not often that I&#8217;m impressed by something from Microsoft. I use Microsoft tools and software all the time but I&#8217;m usually not too excited about it. However&#8230; The Silverlight PivotViewer is awesome. But don&#8217;t take my word for it &#8211; take a look yourself. Basically this control allows you to visualize and sort thousands [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s not often that I&#8217;m impressed by something from Microsoft. I use Microsoft tools and software all the time but I&#8217;m usually not too excited about it. However&#8230; The Silverlight PivotViewer is awesome. But don&#8217;t take my word for it &#8211; take a look yourself. Basically this control allows you to visualize and sort thousands of items at once. I won&#8217;t go into detail&#8230;if you want to read more you can read Scott Guthrie&#8217;s blog post about it.</p>
<p><a href="http://weblogs.asp.net/scottgu/archive/2010/06/29/silverlight-pivotviewer-now-available.aspx">http://weblogs.asp.net/scottgu/archive/2010/06/29/silverlight-pivotviewer-now-available.aspx</a></p>
<p>The sample app they built works against Netflix’s database of instant watch movies. It works well and it’s pretty neat – something I might actually use! Take a look: <a href="http://netflixpivot.cloudapp.net/">http://netflixpivot.cloudapp.net/</a></p>
<p><a href="http://www.dwradcliffe.com/wp/wp-content/uploads/netflixpivot.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="netflix-pivot" border="0" alt="netflix-pivot" src="http://www.dwradcliffe.com/wp/wp-content/uploads/netflixpivot_thumb.jpg" width="644" height="420" /></a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/dwradcliffe?a=8LqiFXcYG30:Sk3E5XxkqUU:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/dwradcliffe?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/dwradcliffe?a=8LqiFXcYG30:Sk3E5XxkqUU:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/dwradcliffe?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/dwradcliffe?a=8LqiFXcYG30:Sk3E5XxkqUU:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/dwradcliffe?i=8LqiFXcYG30:Sk3E5XxkqUU:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/dwradcliffe/~4/8LqiFXcYG30" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.dwradcliffe.com/blog/2010/07/microsoft-pivotviewer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.dwradcliffe.com/blog/2010/07/microsoft-pivotviewer/</feedburner:origLink></item>
		<item>
		<title>QUOTE – Simplicity</title>
		<link>http://feedproxy.google.com/~r/dwradcliffe/~3/spP1IQHA7T0/</link>
		<comments>http://www.dwradcliffe.com/blog/2010/04/quote-simplicity/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 16:42:13 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[code]]></category>

		<guid isPermaLink="false">http://www.dwradcliffe.com/blog/2010/04/quote-simplicity/</guid>
		<description><![CDATA[You’re not going to need to handle N kinds of book loan, you’re going to handle at most two, so don’t write some complicated code to handle the general case. You’re not going to need three classes, one interface and two event types for your “please wait” animation because there’s only ever going to be [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>You’re not going to need to handle N kinds of book loan, you’re going to handle at most two, so don’t write some complicated code to handle the general case. You’re not going to need three classes, one interface and two event types for your “please wait” animation because there’s only ever going to be one and it’s always going to be while printing. Just write a function with a callback and release – the simpler it is, the quicker we can write it today and the more easily we can modify it tomorrow.</p>
</blockquote>
<p align="right">- <a href="http://coderoom.wordpress.com/2010/04/16/code-for-flexibility-a-manifesto/">coderoom</a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/dwradcliffe?a=spP1IQHA7T0:wJr22wRmPDI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/dwradcliffe?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/dwradcliffe?a=spP1IQHA7T0:wJr22wRmPDI:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/dwradcliffe?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/dwradcliffe?a=spP1IQHA7T0:wJr22wRmPDI:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/dwradcliffe?i=spP1IQHA7T0:wJr22wRmPDI:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/dwradcliffe/~4/spP1IQHA7T0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.dwradcliffe.com/blog/2010/04/quote-simplicity/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.dwradcliffe.com/blog/2010/04/quote-simplicity/</feedburner:origLink></item>
		<item>
		<title>Outlook 2010: Ignore Conversation</title>
		<link>http://feedproxy.google.com/~r/dwradcliffe/~3/oApCtY22l24/</link>
		<comments>http://www.dwradcliffe.com/blog/2010/04/outlook-2010-ignore-conversation/#comments</comments>
		<pubDate>Fri, 23 Apr 2010 17:37:46 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.dwradcliffe.com/?p=261</guid>
		<description><![CDATA[Here is a really neat new feature of Outlook 2010! In addition to the threading features built into this version, outlook now has a tiny little &#8220;Ignore&#8221; button at the top left of the ribbon. This button will delete the selected email and also delete any future emails in the same conversation!  This could be [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a really neat new feature of Outlook 2010! In addition to the threading features built into this version, outlook now has a tiny little &#8220;Ignore&#8221; button at the top left of the ribbon.</p>
<p><img class="alignnone size-full wp-image-262" title="outlook-2010-ignore" src="http://www.dwradcliffe.com/wp/wp-content/uploads/outlook-2010-ignore.jpg" alt="" width="142" height="147" /></p>
<p>This button will delete the selected email and <strong><em>also delete any future emails</em></strong> in the same conversation!  This could be extremely useful in situations where reply all is overused. This happens in corporate environments all the time. Someone replies to everyone and soon there are 15 other emails replying to everyone. If you don&#8217;t want to see them, now you don&#8217;t have to!</p>
<p>&nbsp;</p>
<p><span style="color: #888888;">You should <a href="http://www.twitter.com/dwradcliffe">follow me on twitter</a> @dwradcliffe.</span></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/dwradcliffe?a=oApCtY22l24:-0-6ZcFEIaw:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/dwradcliffe?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/dwradcliffe?a=oApCtY22l24:-0-6ZcFEIaw:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/dwradcliffe?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/dwradcliffe?a=oApCtY22l24:-0-6ZcFEIaw:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/dwradcliffe?i=oApCtY22l24:-0-6ZcFEIaw:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/dwradcliffe/~4/oApCtY22l24" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.dwradcliffe.com/blog/2010/04/outlook-2010-ignore-conversation/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.dwradcliffe.com/blog/2010/04/outlook-2010-ignore-conversation/</feedburner:origLink></item>
		<item>
		<title>Windows Authentication in Firefox</title>
		<link>http://feedproxy.google.com/~r/dwradcliffe/~3/fTZlfrE4knQ/</link>
		<comments>http://www.dwradcliffe.com/blog/2010/04/windows-authentication-in-firefox/#comments</comments>
		<pubDate>Fri, 02 Apr 2010 02:29:25 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.dwradcliffe.com/?p=243</guid>
		<description><![CDATA[Many .NET based web apps and enterprise web apps use Windows authentication so you don&#8217;t have to ever login &#8211; your browser automatically uses your windows credentials. For a long time I assumed this only worked in Internet Explorer but I recently found that Firefox will do this too! All you need to do is tell it [...]]]></description>
			<content:encoded><![CDATA[<p>Many .NET based web apps and enterprise web apps use Windows authentication so you don&#8217;t have to ever login &#8211; your browser automatically uses your windows credentials. For a long time I assumed this only worked in Internet Explorer but I recently found that Firefox will do this too! All you need to do is tell it which websites are allowed to use the windows credentials and you all set. Here are the steps:</p>
<ol>
<li>Visit <a href="about:config">about:config</a> in Firefox.</li>
<li>You might need to click the &#8220;I&#8217;ll be careful, I promise!&#8221; button to continue.</li>
<li>Use the filter at the top to find the following three properties (one at a time)
<ul>
<li>network.negotiate-auth.trusted-uris</li>
<li>network.negotiate-auth.delegation-uris</li>
<li>network.automatic-ntlm-auth.trusted-uris</li>
</ul>
</li>
<li>Double click the property and add the URL of the site you are trying to use Windows authentication with to the value. If you have several sites, separate them with commas.</li>
</ol>
<p>Thats it!</p>
<p><span style="color: #888888;">You should <a href="http://www.twitter.com/dwradcliffe"">follow me on twitter</a> @dwradcliffe.</span></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/dwradcliffe?a=fTZlfrE4knQ:L9CBOMUTP_s:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/dwradcliffe?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/dwradcliffe?a=fTZlfrE4knQ:L9CBOMUTP_s:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/dwradcliffe?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/dwradcliffe?a=fTZlfrE4knQ:L9CBOMUTP_s:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/dwradcliffe?i=fTZlfrE4knQ:L9CBOMUTP_s:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/dwradcliffe/~4/fTZlfrE4knQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.dwradcliffe.com/blog/2010/04/windows-authentication-in-firefox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.dwradcliffe.com/blog/2010/04/windows-authentication-in-firefox/</feedburner:origLink></item>
		<item>
		<title>Emotions of those we serve</title>
		<link>http://feedproxy.google.com/~r/dwradcliffe/~3/WO938_npveY/</link>
		<comments>http://www.dwradcliffe.com/blog/2010/03/emotions-of-those-we-serve/#comments</comments>
		<pubDate>Thu, 18 Mar 2010 13:26:43 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Ideas]]></category>

		<guid isPermaLink="false">http://www.dwradcliffe.com/?p=245</guid>
		<description><![CDATA[This morning I was reading a post by Ben Tilly about addressing emotions in web forms. He has a great idea. Actually, Kevin Hale, the CEO of Wufoo had a great idea. In the process of trying to fill out a ticket you have the option of reporting your emotional state. Which can be anything from [...]]]></description>
			<content:encoded><![CDATA[<p>This morning I was reading a post by <a href="http://bentilly.blogspot.com/">Ben Tilly</a> about addressing emotions in web forms. He has a great idea. Actually, Kevin Hale, the CEO of <a href="http://wufoo.com/">Wufoo</a> had a great idea.</p>
<blockquote><p>In the process of trying to fill out a ticket you have the option of reporting your emotional state. Which can be anything from &#8220;Excited&#8221; to &#8220;Angry&#8221;.</p></blockquote>
<p>I wonder if this idea could be implemented on any of our member-facing support forms or surveys? I think this idea is rock solid and might help make our members happier. A follow-up survey after the request was completed would check the emotions again. Is the member happy now? If not &#8211; we are doing something very wrong.</p>
<p>Read it all: <a href="http://bentilly.blogspot.com/2010/03/address-emotions-in-your-forms.html">http://bentilly.blogspot.com/2010/03/address-emotions-in-your-forms.html</a></p>
<p>&nbsp;</p>
</p>
<p><span style="color: #888888;">You should <a href="http://www.twitter.com/dwradcliffe">follow me on twitter</a> @dwradcliffe.</span></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/dwradcliffe?a=WO938_npveY:1dieRO37r9w:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/dwradcliffe?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/dwradcliffe?a=WO938_npveY:1dieRO37r9w:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/dwradcliffe?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/dwradcliffe?a=WO938_npveY:1dieRO37r9w:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/dwradcliffe?i=WO938_npveY:1dieRO37r9w:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/dwradcliffe/~4/WO938_npveY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.dwradcliffe.com/blog/2010/03/emotions-of-those-we-serve/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.dwradcliffe.com/blog/2010/03/emotions-of-those-we-serve/</feedburner:origLink></item>
		<item>
		<title>Congrats to Ryan Bingham</title>
		<link>http://feedproxy.google.com/~r/dwradcliffe/~3/nVBhTFY7q4s/</link>
		<comments>http://www.dwradcliffe.com/blog/2010/03/congrats-to-ryan-bingham/#comments</comments>
		<pubDate>Mon, 08 Mar 2010 03:33:16 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Clients]]></category>

		<guid isPermaLink="false">http://www.dwradcliffe.com/?p=236</guid>
		<description><![CDATA[Tonight was the 82nd Oscars. I&#8217;ve never really paid much attention to events like this before but tonight I was glued to the TV watching to see who would win. One of my clients, Ryan Bingham, was nominated for Best Original Song for “The Weary Kind”, the theme from the film “Crazy Heart”. If you [...]]]></description>
			<content:encoded><![CDATA[<p>Tonight was the 82nd Oscars. I&#8217;ve never really paid much attention to events like this before but tonight I was glued to the TV watching to see who would win. One of my clients, Ryan Bingham, was nominated for Best Original Song for “The Weary Kind”, the theme from the film “Crazy Heart”.</p>
<p>If you also watched tonight you will already know that <strong>Ryan won</strong>! I would like to congratulate Ryan Bingham for his excellent work over the past year and and congrats also to his crew and team that helped make this possible.</p>
<p>Visit Ryan Bingham&#8217;s website at <a href="http://www.binghammusic.com">www.binghammusic.com</a>.</p>
<p>If you didn&#8217;t catch the awards ceremony, you can watch <a href="http://oscar.go.com/video/index?playlistId=253172&#038;clipId=253199">Ryan&#8217;s acceptance speech</a>.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/dwradcliffe?a=nVBhTFY7q4s:GIbBULpnKoc:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/dwradcliffe?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/dwradcliffe?a=nVBhTFY7q4s:GIbBULpnKoc:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/dwradcliffe?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/dwradcliffe?a=nVBhTFY7q4s:GIbBULpnKoc:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/dwradcliffe?i=nVBhTFY7q4s:GIbBULpnKoc:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/dwradcliffe/~4/nVBhTFY7q4s" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.dwradcliffe.com/blog/2010/03/congrats-to-ryan-bingham/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.dwradcliffe.com/blog/2010/03/congrats-to-ryan-bingham/</feedburner:origLink></item>
		<item>
		<title>UpdateModel requires properties</title>
		<link>http://feedproxy.google.com/~r/dwradcliffe/~3/AKLH2HvSp2Q/</link>
		<comments>http://www.dwradcliffe.com/blog/2010/02/updatemodel-requires-properties/#comments</comments>
		<pubDate>Wed, 24 Feb 2010 01:32:40 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[ASP.NET MVC]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[code]]></category>

		<guid isPermaLink="false">http://www.dwradcliffe.com/?p=225</guid>
		<description><![CDATA[I was working on a feature at work this week on a ASP MVC project. I was attempting to use UpdateModel to update an object retrieved from the database with values from the POST. If you aren&#8217;t familiar with it, ASP MVC has a &#8220;magic method&#8221; to map these POST values to an object. One [...]]]></description>
			<content:encoded><![CDATA[<p>I was working on a feature at work this week on a ASP MVC project. I was attempting to use UpdateModel to update an object retrieved from the database with values from the POST. If you aren&#8217;t familiar with it, ASP MVC has a &#8220;magic method&#8221; to map these POST values to an object. One simply needs to call</p>

<div class="wp_syntax"><div class="code"><pre class="csharp" style="font-family:monospace;">UpdateModel<span style="color: #000000;">&#40;</span>myObjectFromDatabase<span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span></pre></div></div>

<p> and the new values will be changed on the object.</p>
<p>That is all fine and dandy unless it doesn&#8217;t work. I had checked everything. I could verify that the values were in the Request header. I could verify that UpdateModel was called and did not fail. The values simply were not updated.</p>
<p>I finally found the key (thanks to my supervisor). The object I was updating had a mix of auto-properties and fields. Apparently, UpdateModel will only update properties. A quick change from a field to an auto-property and everything worked as it should. Thanks Aaron!</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/dwradcliffe?a=AKLH2HvSp2Q:IPGnXKB44wY:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/dwradcliffe?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/dwradcliffe?a=AKLH2HvSp2Q:IPGnXKB44wY:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/dwradcliffe?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/dwradcliffe?a=AKLH2HvSp2Q:IPGnXKB44wY:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/dwradcliffe?i=AKLH2HvSp2Q:IPGnXKB44wY:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/dwradcliffe/~4/AKLH2HvSp2Q" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.dwradcliffe.com/blog/2010/02/updatemodel-requires-properties/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.dwradcliffe.com/blog/2010/02/updatemodel-requires-properties/</feedburner:origLink></item>
		<item>
		<title>Clean Phone Numbers</title>
		<link>http://feedproxy.google.com/~r/dwradcliffe/~3/RQT8ScWAblo/</link>
		<comments>http://www.dwradcliffe.com/blog/2010/02/clean-phone-numbers/#comments</comments>
		<pubDate>Sat, 20 Feb 2010 20:34:56 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[regular expressions]]></category>

		<guid isPermaLink="false">http://www.dwradcliffe.com/?p=184</guid>
		<description><![CDATA[I&#8217;ve been working with a lot of person type data recently at work and I&#8217;m using data from multiple sources. Not just two databases but two separate systems with similar and yet incompatible data. One of the biggest messes was the phone numbers. I need to convert a phone number from a completely un-normalized format [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been working with a lot of person type data recently at work and I&#8217;m using data from multiple sources. Not just two databases but two separate systems with similar and yet incompatible data. One of the biggest messes was the phone numbers. I need to convert a phone number from a completely un-normalized format to a very strict format. I&#8217;m no regular expression genius so thankfully a quick Google search produced a nice PHP method of doing pretty much exactly what I was looking for. (<a href="http://cnanney.com/journal/code/cleaning-phone-numbers-with-regex/">http://cnanney.com/journal/code/cleaning-phone-numbers-with-regex/</a>) I took that method and re-wrote it in C# and tweaked it a little for my application. I&#8217;m sure this isn&#8217;t the absolute best way to do this but it works for me.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
</pre></td><td class="code"><pre class="csharp" style="font-family:monospace;"><span style="color: #0600FF;">const</span> <span style="color: #FF0000;">string</span> pattern <span style="color: #008000;">=</span> <span style="color: #666666;">@&quot;\D*\(?(\d{3})?\)?\D*(\d{3})\D*(\d{4})\D*(\d{1,8})?&quot;</span><span style="color: #008000;">;</span>
<span style="color: #FF0000;">string</span> num, ext<span style="color: #008000;">;</span>
var matches <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> Regex<span style="color: #000000;">&#40;</span>pattern<span style="color: #000000;">&#41;</span>.<span style="color: #0000FF;">Match</span><span style="color: #000000;">&#40;</span>number<span style="color: #000000;">&#41;</span>.<span style="color: #0000FF;">Groups</span><span style="color: #008000;">;</span>
<span style="color: #0600FF;">if</span> <span style="color: #000000;">&#40;</span>matches.<span style="color: #0000FF;">Count</span> <span style="color: #008000;">&gt;</span> <span style="color: #FF0000;">0</span><span style="color: #000000;">&#41;</span>
<span style="color: #000000;">&#123;</span>
<span style="color: #0600FF;">if</span> <span style="color: #000000;">&#40;</span>matches<span style="color: #000000;">&#91;</span><span style="color: #FF0000;">3</span><span style="color: #000000;">&#93;</span>.<span style="color: #0000FF;">Length</span> <span style="color: #008000;">&gt;</span> <span style="color: #FF0000;">0</span><span style="color: #000000;">&#41;</span>
<span style="color: #000000;">&#123;</span>
<span style="color: #0600FF;">if</span> <span style="color: #000000;">&#40;</span>matches<span style="color: #000000;">&#91;</span><span style="color: #FF0000;">1</span><span style="color: #000000;">&#93;</span>.<span style="color: #0000FF;">Length</span> <span style="color: #008000;">&gt;</span> <span style="color: #FF0000;">0</span><span style="color: #000000;">&#41;</span>
<span style="color: #000000;">&#123;</span>
num <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;(&quot;</span> <span style="color: #008000;">+</span> matches<span style="color: #000000;">&#91;</span><span style="color: #FF0000;">1</span><span style="color: #000000;">&#93;</span>.<span style="color: #0000FF;">Value</span> <span style="color: #008000;">+</span> <span style="color: #666666;">&quot;) &quot;</span> <span style="color: #008000;">+</span> matches<span style="color: #000000;">&#91;</span><span style="color: #FF0000;">2</span><span style="color: #000000;">&#93;</span>.<span style="color: #0000FF;">Value</span> <span style="color: #008000;">+</span> <span style="color: #666666;">&quot;-&quot;</span> <span style="color: #008000;">+</span> matches<span style="color: #000000;">&#91;</span><span style="color: #FF0000;">3</span><span style="color: #000000;">&#93;</span>.<span style="color: #0000FF;">Value</span><span style="color: #008000;">;</span>
<span style="color: #000000;">&#125;</span>
<span style="color: #0600FF;">else</span>
<span style="color: #000000;">&#123;</span>
num <span style="color: #008000;">=</span> matches<span style="color: #000000;">&#91;</span><span style="color: #FF0000;">2</span><span style="color: #000000;">&#93;</span>.<span style="color: #0000FF;">Value</span> <span style="color: #008000;">+</span> <span style="color: #666666;">&quot;-&quot;</span> <span style="color: #008000;">+</span> matches<span style="color: #000000;">&#91;</span><span style="color: #FF0000;">3</span><span style="color: #000000;">&#93;</span>.<span style="color: #0000FF;">Value</span><span style="color: #008000;">;</span>
<span style="color: #000000;">&#125;</span>
<span style="color: #000000;">&#125;</span>
<span style="color: #0600FF;">else</span>
<span style="color: #000000;">&#123;</span>
num <span style="color: #008000;">=</span> null<span style="color: #008000;">;</span>
<span style="color: #000000;">&#125;</span>
ext <span style="color: #008000;">=</span> matches<span style="color: #000000;">&#91;</span><span style="color: #FF0000;">4</span><span style="color: #000000;">&#93;</span>.<span style="color: #0000FF;">Length</span> <span style="color: #008000;">&gt;</span> <span style="color: #FF0000;">0</span> <span style="color: #008000;">?</span> matches<span style="color: #000000;">&#91;</span><span style="color: #FF0000;">4</span><span style="color: #000000;">&#93;</span>.<span style="color: #0000FF;">Value</span> <span style="color: #008000;">:</span> null<span style="color: #008000;">;</span>
<span style="color: #000000;">&#125;</span>
<span style="color: #0600FF;">else</span>
<span style="color: #000000;">&#123;</span>
num <span style="color: #008000;">=</span> null<span style="color: #008000;">;</span>
ext <span style="color: #008000;">=</span> null<span style="color: #008000;">;</span>
<span style="color: #000000;">&#125;</span></pre></td></tr></table></div>

<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/dwradcliffe?a=RQT8ScWAblo:m34Jz3vhsa0:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/dwradcliffe?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/dwradcliffe?a=RQT8ScWAblo:m34Jz3vhsa0:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/dwradcliffe?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/dwradcliffe?a=RQT8ScWAblo:m34Jz3vhsa0:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/dwradcliffe?i=RQT8ScWAblo:m34Jz3vhsa0:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/dwradcliffe/~4/RQT8ScWAblo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.dwradcliffe.com/blog/2010/02/clean-phone-numbers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.dwradcliffe.com/blog/2010/02/clean-phone-numbers/</feedburner:origLink></item>
	</channel>
</rss><!-- Dynamic page generated in 1.796 seconds. --><!-- Cached page generated by WP-Super-Cache on 2010-07-29 08:21:00 --><!-- Compression = gzip -->
