<?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>Phil Leggetter - Software Consultant &#187; Software Development</title>
	<atom:link href="http://www.leggetter.co.uk/tag/software-development/feed" rel="self" type="application/rss+xml" />
	<link>http://www.leggetter.co.uk</link>
	<description>Real-time web and social media software consultant</description>
	<lastBuildDate>Fri, 12 Mar 2010 18:35:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Windows Azure &#8211; 503 Service Unavailable</title>
		<link>http://www.leggetter.co.uk/2009/08/28/windows-azure-503-service-unavailable.html</link>
		<comments>http://www.leggetter.co.uk/2009/08/28/windows-azure-503-service-unavailable.html#comments</comments>
		<pubDate>Thu, 27 Aug 2009 23:44:57 +0000</pubDate>
		<dc:creator>Phil Leggetter</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[ASP.NET MVC]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Windows Azure]]></category>

		<guid isPermaLink="false">http://www.leggetter.co.uk/?p=271</guid>
		<description><![CDATA[I finally got around to trying out ASP.NET MVC and while I was at it I thought I&#8217;d also give Windows Azure a whirl. Windows Azure doesn&#8217;t support ASP.NET MVC out of the box but Jim over on MSDN Blogs has written up the details of how to get ASP.Net MVC Projects running on Windows Azure.
Problem
So, [...]


Related posts:<ol><li><a href='http://www.leggetter.co.uk/2009/10/06/response-redirect-in-windows-azure.html' rel='bookmark' title='Permanent Link: Response.Redirect in Windows Azure'>Response.Redirect in Windows Azure</a></li>
<li><a href='http://www.leggetter.co.uk/2009/08/26/system-security-securityexception-that-assembly-does-not-allow-partially-trusted-callers.html' rel='bookmark' title='Permanent Link: System.Security.SecurityException: That assembly does not allow partially trusted callers'>System.Security.SecurityException: That assembly does not allow partially trusted callers</a></li>
<li><a href='http://www.leggetter.co.uk/2007/05/22/linkstation-nas-folder-share-with-windows-vista.html' rel='bookmark' title='Permanent Link: Linkstation NAS Folder share with Windows Vista'>Linkstation NAS Folder share with Windows Vista</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I finally got around to trying out ASP.NET MVC and while I was at it I thought I&#8217;d also give Windows Azure a whirl. Windows Azure doesn&#8217;t support ASP.NET MVC out of the box but Jim over on MSDN Blogs has written up the details of how to get <a  href="http://blogs.msdn.com/jnak/archive/2008/10/28/asp-net-mvc-projects-running-on-windows-azure.aspx">ASP.Net MVC Projects running on Windows Azure</a>.</p>
<h3>Problem</h3>
<p>So, I followed the instruction from the blog and uploaded the package and configuration file, waited for the staging application to get into a runnable state, and clicked on the staging link&#8230;</p>
<blockquote><p>Windows Azure &#8211; 503 Service Unavailable</p></blockquote>
<p>Clearly not a good thing! In addition to this error I occasionally got a random network error or a full-on connection error reported by the browser.</p>
<p>I tried googling for this error but there was nothing about this problem after deploying to the real Windows Azure hosting (the cloud). As far as I can tell there&#8217;s no way of getting any debug information or logs to work out what&#8217;s going wrong. Maybe this is something that Microsoft will add later on?</p>
<h3>Solution</h3>
<p>Then it struck me that I hadn&#8217;t actually set up any kind of TableStorage on my Windows Azure hosting so I removed all mentions of storage and database connections from the MVC application. This included editing Web.config and removing the following.</p>
<ul>
<li>The &lt;section name=&#8221;authenticationService&#8221; type=&#8221;System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&#8243; requirePermission=&#8221;false&#8221; allowDefinition=&#8221;MachineToApplication&#8221; /&gt; section element.</li>
<li>The &lt;connectionStrings&gt; element</li>
<li>The &lt;membership&gt;element</li>
<li>The &lt;authentication mode=&#8221;Forms&#8221;&gt; element</li>
<li>The &lt;profile&gt; element</li>
<li>The &lt;roleManager&gt;element</li>
</ul>
<p><strong><em>Update: I&#8217;ve found that without the &lt;authentication&gt;element I started getting the error below so you may want to instead replace it with :</em></strong></p>
<blockquote><p>CCT: Role instances did not start within the time allowed.  Please try again.  If you continue to encounter this behavior please try shutting down the Development Fabric.</p></blockquote>
<p>I&#8217;m guessing that not all of these elements actually need to be removed but doing so resulted in the MVC ASP.NET application working in Windows Azure.</p>
<p><strong><em>Update 2: ServiceDefinition.csdef</em></strong></p>
<p>If you happen to get network timeouts or 404 network connection issues it&#8217;s worth checking your ServiceDefinition.csdef to make sure that you&#8217;ve got port 80 configured. I noticed that mine had updated to port 8080 so obviously I couldn&#8217;t access the staging site on port 80 like I was trying. If you do have the port set to something else other than port 80 you can use that port to access your application but the ServiceDefinition.csdef does have a comment in there telling you your application should be on port 80 so you are probably best to stick with that.</p>
<blockquote><p>&lt;!&#8211; Must use port 80 for http and port 443 for https when running in the cloud &#8211;&gt;<br />
&lt;InputEndpoint name=&#8221;HttpIn&#8221; protocol=&#8221;http&#8221; port=&#8221;80&#8243; /&gt;</p></blockquote><!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a><strong><em> </em></strong></a>
<br />
<div class="d">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.leggetter.co.uk/2009/08/28/windows-azure-503-service-unavailable.html&amp;title=Windows+Azure+%26%238211%3B+503+Service+Unavailable" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.leggetter.co.uk/2009/08/28/windows-azure-503-service-unavailable.html&amp;title=Windows+Azure+%26%238211%3B+503+Service+Unavailable" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.dotnetkicks.com/kick/?url=http://www.leggetter.co.uk/2009/08/28/windows-azure-503-service-unavailable.html&amp;title=Windows+Azure+%26%238211%3B+503+Service+Unavailable" rel="nofollow" title="Add to&nbsp;DotNetKicks"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/dotnetkicks.png" title="Add to&nbsp;DotNetKicks" alt="Add to&nbsp;DotNetKicks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://www.leggetter.co.uk/2009/08/28/windows-azure-503-service-unavailable.html" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://www.leggetter.co.uk/2009/08/28/windows-azure-503-service-unavailable.html&amp;title=Windows+Azure+%26%238211%3B+503+Service+Unavailable" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://www.leggetter.co.uk/2009/08/28/windows-azure-503-service-unavailable.html&amp;title=Windows+Azure+%26%238211%3B+503+Service+Unavailable" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://www.leggetter.co.uk/2009/08/28/windows-azure-503-service-unavailable.html&amp;title=Windows+Azure+%26%238211%3B+503+Service+Unavailable" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://www.leggetter.co.uk/2009/08/28/windows-azure-503-service-unavailable.html" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+Windows+Azure+%26%238211%3B+503+Service+Unavailable+@+http://www.leggetter.co.uk/2009/08/28/windows-azure-503-service-unavailable.html" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http://www.leggetter.co.uk/2009/08/28/windows-azure-503-service-unavailable.html&amp;t=Windows+Azure+%26%238211%3B+503+Service+Unavailable" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->


<p>Related posts:<ol><li><a href='http://www.leggetter.co.uk/2009/10/06/response-redirect-in-windows-azure.html' rel='bookmark' title='Permanent Link: Response.Redirect in Windows Azure'>Response.Redirect in Windows Azure</a></li>
<li><a href='http://www.leggetter.co.uk/2009/08/26/system-security-securityexception-that-assembly-does-not-allow-partially-trusted-callers.html' rel='bookmark' title='Permanent Link: System.Security.SecurityException: That assembly does not allow partially trusted callers'>System.Security.SecurityException: That assembly does not allow partially trusted callers</a></li>
<li><a href='http://www.leggetter.co.uk/2007/05/22/linkstation-nas-folder-share-with-windows-vista.html' rel='bookmark' title='Permanent Link: Linkstation NAS Folder share with Windows Vista'>Linkstation NAS Folder share with Windows Vista</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.leggetter.co.uk/2009/08/28/windows-azure-503-service-unavailable.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bing.com round table</title>
		<link>http://www.leggetter.co.uk/2009/06/27/bing-com-round-table.html</link>
		<comments>http://www.leggetter.co.uk/2009/06/27/bing-com-round-table.html#comments</comments>
		<pubDate>Sat, 27 Jun 2009 09:56:53 +0000</pubDate>
		<dc:creator>Phil Leggetter</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Bing]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[real-time web]]></category>
		<category><![CDATA[Social Media]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[web 2.0]]></category>

		<guid isPermaLink="false">http://www.leggetter.co.uk/?p=213</guid>
		<description><![CDATA[On Monday between 19:00 and 21:00 I&#8217;m going to a Bing roundtable (round table) in London. The event is being organise by Colin Mercer and is described as:
a small round-table event to discuss Bing and since we saw your recent tweet regarding comparative search results between Bing and Google, we thought that you might be [...]


Related posts:<ol><li><a href='http://www.leggetter.co.uk/2009/07/01/microsoft-bing-com-round-table-thoughts.html' rel='bookmark' title='Permanent Link: Microsoft Bing.com round table thoughts'>Microsoft Bing.com round table thoughts</a></li>
<li><a href='http://www.leggetter.co.uk/2009/07/09/wikipedia-now-has-a-definition-for-real-time-web.html' rel='bookmark' title='Permanent Link: Wikipedia now has a definition for Real-Time Web'>Wikipedia now has a definition for Real-Time Web</a></li>
<li><a href='http://www.leggetter.co.uk/2009/04/28/caplin-systems-blog-post-what-is-the-real-time-web.html' rel='bookmark' title='Permanent Link: Caplin Systems Blog Post &#8211; What is the real-time web?'>Caplin Systems Blog Post &#8211; What is the real-time web?</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>On Monday between 19:00 and 21:00 I&#8217;m going to a <a  title="Bing.com" href="http://www.bing.com/">Bing</a> roundtable (round table) in London. The event is being organise by Colin Mercer and is described as:</p>
<blockquote><p>a small round-table event to discuss Bing and since we saw your recent tweet regarding comparative search results between Bing and Google, we thought that you might be interested in coming along. The idea would be to get your initial thoughts and you&#8217;ll get an update on the future steps for Bing which are being developed specifically for the UK. During the session you’ll have the chance to talk with Microsoft representatives and other people from social media like yourself, who have expressed some early opinion.</p></blockquote>
<p><span id="more-213"></span><br />
It would appear the event is being attended by a number of web 2.0, social media, marketing and internet types.</p>
<dl>
<dt><a  href="http://www.philbradley.typepad.com/">Phil Bradley</a></dt>
<dd>Phil is interested in <q>Internet searching, Web 2.0 resources, search engines and their development.</q> Phil has <a  href="http://twitter.com/Philbradley/status/2356956021">confirmed</a>. I recommend <a  href="http://twitter.com/Philbradley/">following Phil Bradley on Twitter</a>.</dd>
<dt><a  href="http://www.jamesbarlow.co.uk/">James Barlow</a></dt>
<dd>James Barlow is <q>an independent consultant specialising in information technology and project/programme management.</q></dd>
<dt>Tom Warren</dt>
<dd>I don&#8217;t have any additional information on Tom.</dd>
<dt><a  href="http://www.chrishambly.com/">Chris Hambly</a></dt>
<dd>Chris lists himself as a <q>successful Digital Media Entrepreneur</q></dd>
<dt><a  href="http://www.joshrussell.com">Josh Russell</a></dt>
<dd>Josh has t<a  href="http://twitter.com/joshr/statuses/2351907516">weeted that he&#8217;s going</a>. He provides <q>micro-consulting on web application strategy</q></dd>
<dt><a  href="http://blog.webometrics.org.uk/">David Stuart</a></dt>
<dd><a  href="http://twitter.com/DStuart/statuses/2355794668">David is going</a>. David blog provides <q>thoughts of a Web 2.0 research fellow on all things in the technological sphere that capture his interest.</q></dd>
<dt><a  href="http://www.rba.co.uk/wordpress/">Karen Blakeman</a></dt>
<dd>Karen&#8217;s blogs about <q>search tools, Internet technologies and resources for business information.</q> Karen has <a  href="http://twitter.com/karenblakeman/statuses/2356683047">confirmed</a>.</dd>
<dt><a  href="http://www.blog.lanzen.co.uk/">Neil Robinson</a></dt>
<dd>Neil describes himself as <q>passionate about using the right technology to drive business forward.</q></dd>
<dt><a  href="http://www.kevinharrington.com/">Kevin Harrington</a></dt>
<dd>Looks like Kevin had <a  href="http://www.kevinharrington.com/2009/06/bing-it-bounced/">some initial trouble</a> confirming his attendance but I think he&#8217;s coming now.</dd>
<dt><a  href="http://www.perspicuousasmud.com/">Mark Sharp</a></dt>
<dd>Mark designs and runs <q>a number of websites for myself and for other people and organisations</q></dd>
<dt><a  href="http://webreflection.blogspot.com/">Andrea Giammarchi</a></dt>
<dd>Andrea&#8217;s profile says <q>JavaScript Ninja and both PHP/ECMAScript Certified Engineer</q></dd>
</dl>
<p>We are being encouraged to &#8220;live blog&#8221; the event.</p>
<blockquote><p>Please come armed with all of your thoughts, opinions and questions for the Bing team. This meet-up is about everyone getting the chance to have their say. We’ll make sure you’re able to live blog during the event</p></blockquote>
<p>So, I&#8217;ll be armed with my laptop (for tweeting) and HTC Touch Pro (for video, if appropriate) and will try and ask as many questions as possible and get as much information out to the <em>real-time web</em> as I can. My personal angle will be one of technology. For example:</p>
<ul>
<li>How Bing are pushing use of the <a  href="http://msdn.microsoft.com/en-us/library/dd251056.aspx">Bing API</a> and <a  href="http://www.bing.com/developers/">Bing developer centre</a>.</li>
<li>What are they doing to ensure information is available to the <em>real-time web</em> as quickly as possible.</li>
</ul>
<p>Please let me know if you have any questions that you&#8217;d like asked and I&#8217;ll do my best to ask them. You can do this in a number of ways. During the event the hashtag in use will be <strong><a  href="http://search.twitter.com/search?q=%23meetbing">#meetbing</a></strong>. Prior to the event I&#8217;d suggest people maybe use <strong><a  href="http://search.twitter.com/search?q=%23askbing">#askbing</a></strong>. Failing that you can contact me directly or leave a comment on this blog post.</p><!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a><strong><em> </em></strong></a>
<br />
<div class="d">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.leggetter.co.uk/2009/06/27/bing-com-round-table.html&amp;title=Bing.com+round+table" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.leggetter.co.uk/2009/06/27/bing-com-round-table.html&amp;title=Bing.com+round+table" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.dotnetkicks.com/kick/?url=http://www.leggetter.co.uk/2009/06/27/bing-com-round-table.html&amp;title=Bing.com+round+table" rel="nofollow" title="Add to&nbsp;DotNetKicks"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/dotnetkicks.png" title="Add to&nbsp;DotNetKicks" alt="Add to&nbsp;DotNetKicks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://www.leggetter.co.uk/2009/06/27/bing-com-round-table.html" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://www.leggetter.co.uk/2009/06/27/bing-com-round-table.html&amp;title=Bing.com+round+table" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://www.leggetter.co.uk/2009/06/27/bing-com-round-table.html&amp;title=Bing.com+round+table" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://www.leggetter.co.uk/2009/06/27/bing-com-round-table.html&amp;title=Bing.com+round+table" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://www.leggetter.co.uk/2009/06/27/bing-com-round-table.html" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+Bing.com+round+table+@+http://www.leggetter.co.uk/2009/06/27/bing-com-round-table.html" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http://www.leggetter.co.uk/2009/06/27/bing-com-round-table.html&amp;t=Bing.com+round+table" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->


<p>Related posts:<ol><li><a href='http://www.leggetter.co.uk/2009/07/01/microsoft-bing-com-round-table-thoughts.html' rel='bookmark' title='Permanent Link: Microsoft Bing.com round table thoughts'>Microsoft Bing.com round table thoughts</a></li>
<li><a href='http://www.leggetter.co.uk/2009/07/09/wikipedia-now-has-a-definition-for-real-time-web.html' rel='bookmark' title='Permanent Link: Wikipedia now has a definition for Real-Time Web'>Wikipedia now has a definition for Real-Time Web</a></li>
<li><a href='http://www.leggetter.co.uk/2009/04/28/caplin-systems-blog-post-what-is-the-real-time-web.html' rel='bookmark' title='Permanent Link: Caplin Systems Blog Post &#8211; What is the real-time web?'>Caplin Systems Blog Post &#8211; What is the real-time web?</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.leggetter.co.uk/2009/06/27/bing-com-round-table.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Caplin Systems Blog Post &#8211; What is the real-time web?</title>
		<link>http://www.leggetter.co.uk/2009/04/28/caplin-systems-blog-post-what-is-the-real-time-web.html</link>
		<comments>http://www.leggetter.co.uk/2009/04/28/caplin-systems-blog-post-what-is-the-real-time-web.html#comments</comments>
		<pubDate>Tue, 28 Apr 2009 15:27:40 +0000</pubDate>
		<dc:creator>Phil Leggetter</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Caplin Systems]]></category>
		<category><![CDATA[comet]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[real-time web]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[web 2.0]]></category>

		<guid isPermaLink="false">http://www.leggetter.co.uk/?p=167</guid>
		<description><![CDATA[About a week ago I wrote a blog article at work entitled &#8220;What is the real-time web?&#8220;. I&#8217;m seeing even more tweets and posts about the real-time web and I&#8217;d love to hear if other people agree with my opinion on what the real-time web is.
View the What is the real-time web? article here.

 





















Related [...]


Related posts:<ol><li><a href='http://www.leggetter.co.uk/2008/05/20/how-to-install-caplin-systems-liberator-free-edition-on-windows.html' rel='bookmark' title='Permanent Link: How to install Caplin Systems&#8217; Liberator Free Edition on Windows'>How to install Caplin Systems&#8217; Liberator Free Edition on Windows</a></li>
<li><a href='http://www.leggetter.co.uk/2009/07/09/wikipedia-now-has-a-definition-for-real-time-web.html' rel='bookmark' title='Permanent Link: Wikipedia now has a definition for Real-Time Web'>Wikipedia now has a definition for Real-Time Web</a></li>
<li><a href='http://www.leggetter.co.uk/2009/12/09/how-real-time-does-real-time-have-to-be.html' rel='bookmark' title='Permanent Link: How real-time does real-time have to be?'>How real-time does real-time have to be?</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>About a week ago I wrote a blog article at work entitled &#8220;<a  href="http://blog.caplin.com/2009/04/20/what-is-the-real-time-web/">What is the real-time web?</a>&#8220;. I&#8217;m seeing even more <a  href="http://search.twitter.com/search?q=real-time+web">tweets</a> and <a  href="http://blogsearch.google.co.uk/blogsearch?q=real-time%20web">posts</a> about the real-time web and I&#8217;d love to hear if other people agree with my opinion on what the real-time web is.</p>
<p>View the <a  href="http://blog.caplin.com/2009/04/20/what-is-the-real-time-web/">What is the real-time web?</a> article <a  href="http://blog.caplin.com/2009/04/20/what-is-the-real-time-web/">here</a>.</p><!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a><strong><em> </em></strong></a>
<br />
<div class="d">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.leggetter.co.uk/2009/04/28/caplin-systems-blog-post-what-is-the-real-time-web.html&amp;title=Caplin+Systems+Blog+Post+%26%238211%3B+What+is+the+real-time+web%3F" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.leggetter.co.uk/2009/04/28/caplin-systems-blog-post-what-is-the-real-time-web.html&amp;title=Caplin+Systems+Blog+Post+%26%238211%3B+What+is+the+real-time+web%3F" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.dotnetkicks.com/kick/?url=http://www.leggetter.co.uk/2009/04/28/caplin-systems-blog-post-what-is-the-real-time-web.html&amp;title=Caplin+Systems+Blog+Post+%26%238211%3B+What+is+the+real-time+web%3F" rel="nofollow" title="Add to&nbsp;DotNetKicks"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/dotnetkicks.png" title="Add to&nbsp;DotNetKicks" alt="Add to&nbsp;DotNetKicks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://www.leggetter.co.uk/2009/04/28/caplin-systems-blog-post-what-is-the-real-time-web.html" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://www.leggetter.co.uk/2009/04/28/caplin-systems-blog-post-what-is-the-real-time-web.html&amp;title=Caplin+Systems+Blog+Post+%26%238211%3B+What+is+the+real-time+web%3F" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://www.leggetter.co.uk/2009/04/28/caplin-systems-blog-post-what-is-the-real-time-web.html&amp;title=Caplin+Systems+Blog+Post+%26%238211%3B+What+is+the+real-time+web%3F" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://www.leggetter.co.uk/2009/04/28/caplin-systems-blog-post-what-is-the-real-time-web.html&amp;title=Caplin+Systems+Blog+Post+%26%238211%3B+What+is+the+real-time+web%3F" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://www.leggetter.co.uk/2009/04/28/caplin-systems-blog-post-what-is-the-real-time-web.html" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+Caplin+Systems+Blog+Post+%26%238211%3B+What+is+the+real-time+web%3F+@+http://www.leggetter.co.uk/2009/04/28/caplin-systems-blog-post-what-is-the-real-time-web.html" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http://www.leggetter.co.uk/2009/04/28/caplin-systems-blog-post-what-is-the-real-time-web.html&amp;t=Caplin+Systems+Blog+Post+%26%238211%3B+What+is+the+real-time+web%3F" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->


<p>Related posts:<ol><li><a href='http://www.leggetter.co.uk/2008/05/20/how-to-install-caplin-systems-liberator-free-edition-on-windows.html' rel='bookmark' title='Permanent Link: How to install Caplin Systems&#8217; Liberator Free Edition on Windows'>How to install Caplin Systems&#8217; Liberator Free Edition on Windows</a></li>
<li><a href='http://www.leggetter.co.uk/2009/07/09/wikipedia-now-has-a-definition-for-real-time-web.html' rel='bookmark' title='Permanent Link: Wikipedia now has a definition for Real-Time Web'>Wikipedia now has a definition for Real-Time Web</a></li>
<li><a href='http://www.leggetter.co.uk/2009/12/09/how-real-time-does-real-time-have-to-be.html' rel='bookmark' title='Permanent Link: How real-time does real-time have to be?'>How real-time does real-time have to be?</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.leggetter.co.uk/2009/04/28/caplin-systems-blog-post-what-is-the-real-time-web.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to read a file into a string using PHP</title>
		<link>http://www.leggetter.co.uk/2009/02/28/how-to-read-a-file-into-a-string-using-php.html</link>
		<comments>http://www.leggetter.co.uk/2009/02/28/how-to-read-a-file-into-a-string-using-php.html#comments</comments>
		<pubDate>Sat, 28 Feb 2009 13:39:04 +0000</pubDate>
		<dc:creator>Phil Leggetter</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[code snippet]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.leggetter.co.uk/?p=163</guid>
		<description><![CDATA[
	function ReadFile($filename)
	{
		$fh = fopen($filename, 'r');
		$theData = fread($fh, filesize($filename));
		fclose($fh);
		return $theData;
	}


 





















No related posts.


No related posts.]]></description>
			<content:encoded><![CDATA[<pre name="code" class="php">
	function ReadFile($filename)
	{
		$fh = fopen($filename, 'r');
		$theData = fread($fh, filesize($filename));
		fclose($fh);
		return $theData;
	}
</pre><!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a><strong><em> </em></strong></a>
<br />
<div class="d">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.leggetter.co.uk/2009/02/28/how-to-read-a-file-into-a-string-using-php.html&amp;title=How+to+read+a+file+into+a+string+using+PHP" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.leggetter.co.uk/2009/02/28/how-to-read-a-file-into-a-string-using-php.html&amp;title=How+to+read+a+file+into+a+string+using+PHP" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.dotnetkicks.com/kick/?url=http://www.leggetter.co.uk/2009/02/28/how-to-read-a-file-into-a-string-using-php.html&amp;title=How+to+read+a+file+into+a+string+using+PHP" rel="nofollow" title="Add to&nbsp;DotNetKicks"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/dotnetkicks.png" title="Add to&nbsp;DotNetKicks" alt="Add to&nbsp;DotNetKicks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://www.leggetter.co.uk/2009/02/28/how-to-read-a-file-into-a-string-using-php.html" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://www.leggetter.co.uk/2009/02/28/how-to-read-a-file-into-a-string-using-php.html&amp;title=How+to+read+a+file+into+a+string+using+PHP" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://www.leggetter.co.uk/2009/02/28/how-to-read-a-file-into-a-string-using-php.html&amp;title=How+to+read+a+file+into+a+string+using+PHP" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://www.leggetter.co.uk/2009/02/28/how-to-read-a-file-into-a-string-using-php.html&amp;title=How+to+read+a+file+into+a+string+using+PHP" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://www.leggetter.co.uk/2009/02/28/how-to-read-a-file-into-a-string-using-php.html" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+How+to+read+a+file+into+a+string+using+PHP+@+http://www.leggetter.co.uk/2009/02/28/how-to-read-a-file-into-a-string-using-php.html" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http://www.leggetter.co.uk/2009/02/28/how-to-read-a-file-into-a-string-using-php.html&amp;t=How+to+read+a+file+into+a+string+using+PHP" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.leggetter.co.uk/2009/02/28/how-to-read-a-file-into-a-string-using-php.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Problem solving lessons relearnt</title>
		<link>http://www.leggetter.co.uk/2008/12/10/problem-solving-lessons-relearnt.html</link>
		<comments>http://www.leggetter.co.uk/2008/12/10/problem-solving-lessons-relearnt.html#comments</comments>
		<pubDate>Wed, 10 Dec 2008 22:06:16 +0000</pubDate>
		<dc:creator>Phil Leggetter</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[best practice]]></category>
		<category><![CDATA[common sense]]></category>
		<category><![CDATA[problem solving]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Whinge]]></category>

		<guid isPermaLink="false">http://www.leggetter.co.uk/?p=74</guid>
		<description><![CDATA[I&#8217;ve had one of those days. I set out early this morning aware that I had a tough task ahead of me at work. By the end of the day I&#8217;ve made very little progress.

 
 The silly thing is that I know exactly what mistakes I&#8217;ve made today that have hindered my progress and what&#8217;s worse, [...]


Related posts:<ol><li><a href='http://www.leggetter.co.uk/2009/10/23/how-i-approach-problem-solving-in-code.html' rel='bookmark' title='Permanent Link: How I approach problem solving in code?'>How I approach problem solving in code?</a></li>
<li><a href='http://www.leggetter.co.uk/2008/11/30/live-mesh-my-experience.html' rel='bookmark' title='Permanent Link: Live Mesh &#8211; my experience'>Live Mesh &#8211; my experience</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve had one of those days. I set out early this morning aware that I had a tough task ahead of me at work. By the end of the day I&#8217;ve made very little progress.</p>
<p style="text-align: center;"><img class="size-medium wp-image-75 alignnone" title="Thinking..." src="http://www.leggetter.co.uk/wp-content/uploads/2008/12/chimpanzee_thinking_poster-234x300.jpg" alt="" width="234" height="300" /></p>
<p> </p>
<p> The silly thing is that I know exactly what mistakes I&#8217;ve made today that have hindered my progress and what&#8217;s worse, I&#8217;ve made the same mistakes before.</p>
<h2><span id="more-74"></span>Don&#8217;t spend too long in front of the computer</h2>
<p>This might sound a bit daft since you are supposed to be programming and you can&#8217;t do that unless you are in front of you computer. However, sometimes walking away from the computer for five minutes, and potentially taking your mind off your problem, can really help. Constantly thinking about the same thing can make you mind go stale. You need to freshen up, take some air, have a cup of tea or have a chat with somebody to take your mind off the problem just for a while. All of a sudden an alternative solution might pop into your head. This is just common sense.</p>
<p>My problem was one of threading, which can be tricky domain, and the mistake I made was that I thought the solution was so simple that I threw myself straight into code. After a couple of hours, and little progress, I took a step back and drew a simple diagram to make sure I understood the problem properly. Whilst the act of drawing the diagram didn&#8217;t shed any light on this occasion it took my eyes off the screen for a moment and changed the way I was thinking about things. In addition, the diagram will be handy when I speak to others about the problem&#8230;</p>
<h2>Do ask for help</h2>
<p>You can do this in a number of ways but the best way is to ask those around you. I&#8217;m lucky in that I work at a software house so there are loads of people that I can mosey on up to and chat with about a technical problem and even discuss some ins and outs of the technical detail. If you work on your own or don&#8217;t work with others that have a similar technical mindset you can see out help and advice from forums, Twitter, email and instant messenger to name but a few. Don&#8217;t wollow in the same problem for too long without looking for a fresh take on a problem. For me, this is one scenario where pair programming is really useful. By pairing on a problem you are less likely to run out of ideas because you will be constantly talking about the decisions you are making.</p>
<h2>Don&#8217;t decide it needs a complete re-write at 6pm</h2>
<p>This is exactly what I did today and I got myself into a right mood. What I generally mean is don&#8217;t make big decisions or changes right at the end of the day. I didn&#8217;t get out of work until around 8pm having only partially re-written the code I wanted to. Then, whilst sitting on the train having aired my brain a bit, I decided I didn&#8217;t actually need to re-write everything. There are still alternative solutions that I&#8217;ve not tried out yet. There are still other reasons why tests might be failing. I&#8217;ve not discussed the problem with others who may come up with a better solution.</p>
<h2>Do learn from you mistakes</h2>
<p>Today has been an example where it appears that I&#8217;ve not learnt from making similar mistakes in the past. But in actual fact I&#8217;ve probably corrected the mistakes a little quicker than I have previously so I have learnt, I just need to remind myself of these best practices more often. It&#8217;s not like putting your finger on the tail of a wasp &#8211; you may do it once, but never again. The problems I&#8217;ve described here sneak up on you and before you know it you have spent three hours staring at the same area of code without making any progress. Maybe if I then went out and harrassed a wasp I would learn faster?</p>
<p>One of the great things about working in software engineering is that you have the opportunity to be learning nearly all the time. You don&#8217;t just learn software engineering best practices but also common sense, problem solving best practices. Hopefully next time I&#8217;ll only waste a fraction of a day before I realise the error of my ways.</p><!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a><strong><em> </em></strong></a>
<br />
<div class="d">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.leggetter.co.uk/2008/12/10/problem-solving-lessons-relearnt.html&amp;title=Problem+solving+lessons+relearnt" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.leggetter.co.uk/2008/12/10/problem-solving-lessons-relearnt.html&amp;title=Problem+solving+lessons+relearnt" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.dotnetkicks.com/kick/?url=http://www.leggetter.co.uk/2008/12/10/problem-solving-lessons-relearnt.html&amp;title=Problem+solving+lessons+relearnt" rel="nofollow" title="Add to&nbsp;DotNetKicks"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/dotnetkicks.png" title="Add to&nbsp;DotNetKicks" alt="Add to&nbsp;DotNetKicks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://www.leggetter.co.uk/2008/12/10/problem-solving-lessons-relearnt.html" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://www.leggetter.co.uk/2008/12/10/problem-solving-lessons-relearnt.html&amp;title=Problem+solving+lessons+relearnt" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://www.leggetter.co.uk/2008/12/10/problem-solving-lessons-relearnt.html&amp;title=Problem+solving+lessons+relearnt" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://www.leggetter.co.uk/2008/12/10/problem-solving-lessons-relearnt.html&amp;title=Problem+solving+lessons+relearnt" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://www.leggetter.co.uk/2008/12/10/problem-solving-lessons-relearnt.html" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+Problem+solving+lessons+relearnt+@+http://www.leggetter.co.uk/2008/12/10/problem-solving-lessons-relearnt.html" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http://www.leggetter.co.uk/2008/12/10/problem-solving-lessons-relearnt.html&amp;t=Problem+solving+lessons+relearnt" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->


<p>Related posts:<ol><li><a href='http://www.leggetter.co.uk/2009/10/23/how-i-approach-problem-solving-in-code.html' rel='bookmark' title='Permanent Link: How I approach problem solving in code?'>How I approach problem solving in code?</a></li>
<li><a href='http://www.leggetter.co.uk/2008/11/30/live-mesh-my-experience.html' rel='bookmark' title='Permanent Link: Live Mesh &#8211; my experience'>Live Mesh &#8211; my experience</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.leggetter.co.uk/2008/12/10/problem-solving-lessons-relearnt.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Live Mesh &#8211; my experience</title>
		<link>http://www.leggetter.co.uk/2008/11/30/live-mesh-my-experience.html</link>
		<comments>http://www.leggetter.co.uk/2008/11/30/live-mesh-my-experience.html#comments</comments>
		<pubDate>Sun, 30 Nov 2008 22:52:22 +0000</pubDate>
		<dc:creator>Phil Leggetter</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[Live Mesh]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Synchronisation]]></category>

		<guid isPermaLink="false">http://www.leggetter.co.uk/?p=63</guid>
		<description><![CDATA[I think that Live Mesh will be really useful. I think it provides great benefit to individual users, such as myself, and has great potential to be used by software solution developers. I&#8217;m presently using it to synchronise some files that I want to backup and be available wherever I am.

I originally had a lot [...]


Related posts:<ol><li><a href='http://www.leggetter.co.uk/2007/01/29/elephantcouk-bad-experience.html' rel='bookmark' title='Permanent Link: Whinge of the Week: Elephant.co.uk &#8211; bad experience'>Whinge of the Week: Elephant.co.uk &#8211; bad experience</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I think that <a  title="Live Mesh" href="http://www.mesh.com">Live Mesh</a> will be really useful. I think it provides great benefit to individual users, such as myself, and has great potential to be used by <a  title="Independent Software Solutions" href="http://independentsoftwaresolutions.com">software solution developers</a>. I&#8217;m presently using it to synchronise some files that I want to backup and be available wherever I am.</p>
<p><a  href="http://www.leggetter.co.uk/wp-content/uploads/2008/11/livemesh.png" class="thickbox no_icon" rel="gallery-63" title="Live Mesh"><img class="alignnone size-medium wp-image-64" title="Live Mesh" src="http://www.leggetter.co.uk/wp-content/uploads/2008/11/livemesh-300x214.png" alt="" width="300" height="214" /></a></p>
<p>I originally had a lot of web files being synchronised, around 700MB, but the synchronisation was taking ages and killing my CPU. CPU was sitting at 100% and there was no sign of things completing. I think it was having a problem with the volume of small files.</p>
<p>To summarise: it&#8217;s a great product with bags of potential but something needs to be done to reduce the CPU usage when dealing with the synchronisation of a large volume of small files.</p><!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a><strong><em> </em></strong></a>
<br />
<div class="d">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.leggetter.co.uk/2008/11/30/live-mesh-my-experience.html&amp;title=Live+Mesh+%26%238211%3B+my+experience" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.leggetter.co.uk/2008/11/30/live-mesh-my-experience.html&amp;title=Live+Mesh+%26%238211%3B+my+experience" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.dotnetkicks.com/kick/?url=http://www.leggetter.co.uk/2008/11/30/live-mesh-my-experience.html&amp;title=Live+Mesh+%26%238211%3B+my+experience" rel="nofollow" title="Add to&nbsp;DotNetKicks"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/dotnetkicks.png" title="Add to&nbsp;DotNetKicks" alt="Add to&nbsp;DotNetKicks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://www.leggetter.co.uk/2008/11/30/live-mesh-my-experience.html" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://www.leggetter.co.uk/2008/11/30/live-mesh-my-experience.html&amp;title=Live+Mesh+%26%238211%3B+my+experience" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://www.leggetter.co.uk/2008/11/30/live-mesh-my-experience.html&amp;title=Live+Mesh+%26%238211%3B+my+experience" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://www.leggetter.co.uk/2008/11/30/live-mesh-my-experience.html&amp;title=Live+Mesh+%26%238211%3B+my+experience" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://www.leggetter.co.uk/2008/11/30/live-mesh-my-experience.html" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+Live+Mesh+%26%238211%3B+my+experience+@+http://www.leggetter.co.uk/2008/11/30/live-mesh-my-experience.html" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http://www.leggetter.co.uk/2008/11/30/live-mesh-my-experience.html&amp;t=Live+Mesh+%26%238211%3B+my+experience" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->


<p>Related posts:<ol><li><a href='http://www.leggetter.co.uk/2007/01/29/elephantcouk-bad-experience.html' rel='bookmark' title='Permanent Link: Whinge of the Week: Elephant.co.uk &#8211; bad experience'>Whinge of the Week: Elephant.co.uk &#8211; bad experience</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.leggetter.co.uk/2008/11/30/live-mesh-my-experience.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to make a cross domain web request with SilverLight 2</title>
		<link>http://www.leggetter.co.uk/2008/10/24/how-to-make-a-cross-domain-web-request-with-silverlight-2.html</link>
		<comments>http://www.leggetter.co.uk/2008/10/24/how-to-make-a-cross-domain-web-request-with-silverlight-2.html#comments</comments>
		<pubDate>Fri, 24 Oct 2008 12:16:18 +0000</pubDate>
		<dc:creator>Phil Leggetter</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[crossdomain]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[silverlight]]></category>
		<category><![CDATA[Software Development]]></category>

		<guid isPermaLink="false">http://www.leggetter.co.uk/?p=60</guid>
		<description><![CDATA[To make a cross domain web request with SilverLight 2 really isn&#8217;t that tough. I did have some problems with RC0 but I have no idea why. I just tried writing a little app to do this and it worked straight away.

Here&#8217;s the code. It&#8217;s obviously part of a full solution containing a Web Application [...]


Related posts:<ol><li><a href='http://www.leggetter.co.uk/2009/10/30/using-fiddler-to-trick-silverlight-into-allowing-a-crossdomain-web-request.html' rel='bookmark' title='Permanent Link: Using Fiddler to trick Silverlight into allowing a crossdomain Web Request'>Using Fiddler to trick Silverlight into allowing a crossdomain Web Request</a></li>
<li><a href='http://www.leggetter.co.uk/2010/03/12/making-cross-domain-javascript-requests-using-xmlhttprequest-or-xdomainrequest.html' rel='bookmark' title='Permanent Link: Making cross domain JavaScript requests using XMLHttpRequest or XDomainRequest'>Making cross domain JavaScript requests using XMLHttpRequest or XDomainRequest</a></li>
<li><a href='http://www.leggetter.co.uk/2010/02/05/silverlight-uses-xcp-tmp-files-for-web-requests.html' rel='bookmark' title='Permanent Link: Silverlight uses XCP tmp files for Web Requests'>Silverlight uses XCP tmp files for Web Requests</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>To make a cross domain web request with SilverLight 2 really isn&#8217;t that tough. I did have some problems with RC0 but I have no idea why. I just tried writing a little app to do this and it worked straight away.<br />
<span id="more-60"></span></p>
<p>Here&#8217;s the code. It&#8217;s obviously part of a full solution containing a Web Application and a SilverLight Application project. I&#8217;ve also <a  href="http://www.leggetter.co.uk/wp-content/uploads/2008/10/silverlightcrossdomainapplication.zip">uploaded it</a>.</p>
<h2>Useful Information:</h2>
<ul>
<li>You <strong>can not</strong> do a cross domain request over HTTPS.</li>
<li>You <strong>can</strong> do a cross domain request over HTTP.</li>
<li>To be able to make the cross domain request the server that you are making the request to needs to have either (requires clarification) <a  href="http://www.leggetter.co.uk/crossdomain.xml"> crossdomain.xml</a> and/or <a  href="http://www.leggetter.co.uk/clientaccesspolicy.xml">clientaccesspolicy.xml</a> in the root of the webserver.</li>
</ul>
<h2>Resources/links:</h2>
<div>
<ul>
<li><a  href="http://silverlight.net/forums/p/35194/106059.aspx#106059">SilverLight.net forum post on making a WCF cross domain request</a></li>
<li><a  href="http://timheuer.com/blog/archive/2008/04/06/silverlight-cross-domain-policy-file-snippet-intellisense.aspx">Cross domain policy file helpers for Visual Studio</a> &#8211; addes intellisense for the XML files</li>
<li><a  href="http://www.franksworld.com/Utilities/CrossDomainPolicyChecker/Default.aspx">Online cross domain policy file checker</a></li>
<li><a  href="http://www.leggetter.co.uk/wp-content/uploads/2008/10/silverlightcrossdomainapplication.zip">Silverlight cross domain web request example solution</a></li>
<li><a  href="http://www.leggetter.co.uk/crossdomain.xml">Example clientpolicy.xml</a> file<a  href="http://www.leggetter.co.uk/clientaccesspolicy.xml"></a></li>
<li><a href="http://www.leggetter.co.uk/clientaccesspolicy.xml">Example clientaccesspolicy.xml</a> file</li>
</ul>
</div>
<h2>The code:</h2>
<pre class="brush: csharp;">
private void RequestButton_Click(object sender, RoutedEventArgs e)
{
    try
    {
        // Create and being making the request/getting the response
        HttpWebRequest request = (HttpWebRequest)WebRequest.Create(new Uri(&quot;http://www.leggetter.co.uk/&quot;));
        request.BeginGetResponse(HandleResponse, request);
    }
    catch (Exception ex)
    {
        Debug.WriteLine(ex);
    }
}

private void HandleResponse(IAsyncResult result)
{
    try
    {
        // Finish getting the response and then read the response in chunks
        HttpWebRequest request = (HttpWebRequest)result.AsyncState;
        HttpWebResponse response = (HttpWebResponse)request.EndGetResponse(result);

        StringBuilder readText = new StringBuilder();
        using (Stream responseStream = response.GetResponseStream())
        {
            byte[] buffer = new byte[1024];
            int read = responseStream.Read(buffer, 0, buffer.Length);
            while (read &gt; 0)
            {
                readText.Append(Encoding.UTF8.GetString(buffer, 0, read));
                read = responseStream.Read(buffer, 0, buffer.Length);
            }
        }

        // Display the response text
        Dispatcher.BeginInvoke(delegate()
        {
            ResponseText.Text = readText.ToString();
        });
    }
    catch (Exception ex)
    {
        Debug.WriteLine(ex);
    }
}
</pre><!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a><strong><em> </em></strong></a>
<br />
<div class="d">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.leggetter.co.uk/2008/10/24/how-to-make-a-cross-domain-web-request-with-silverlight-2.html&amp;title=How+to+make+a+cross+domain+web+request+with+SilverLight+2" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.leggetter.co.uk/2008/10/24/how-to-make-a-cross-domain-web-request-with-silverlight-2.html&amp;title=How+to+make+a+cross+domain+web+request+with+SilverLight+2" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.dotnetkicks.com/kick/?url=http://www.leggetter.co.uk/2008/10/24/how-to-make-a-cross-domain-web-request-with-silverlight-2.html&amp;title=How+to+make+a+cross+domain+web+request+with+SilverLight+2" rel="nofollow" title="Add to&nbsp;DotNetKicks"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/dotnetkicks.png" title="Add to&nbsp;DotNetKicks" alt="Add to&nbsp;DotNetKicks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://www.leggetter.co.uk/2008/10/24/how-to-make-a-cross-domain-web-request-with-silverlight-2.html" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://www.leggetter.co.uk/2008/10/24/how-to-make-a-cross-domain-web-request-with-silverlight-2.html&amp;title=How+to+make+a+cross+domain+web+request+with+SilverLight+2" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://www.leggetter.co.uk/2008/10/24/how-to-make-a-cross-domain-web-request-with-silverlight-2.html&amp;title=How+to+make+a+cross+domain+web+request+with+SilverLight+2" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://www.leggetter.co.uk/2008/10/24/how-to-make-a-cross-domain-web-request-with-silverlight-2.html&amp;title=How+to+make+a+cross+domain+web+request+with+SilverLight+2" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://www.leggetter.co.uk/2008/10/24/how-to-make-a-cross-domain-web-request-with-silverlight-2.html" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+How+to+make+a+cross+domain+web+request+with+SilverLight+2+@+http://www.leggetter.co.uk/2008/10/24/how-to-make-a-cross-domain-web-request-with-silverlight-2.html" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http://www.leggetter.co.uk/2008/10/24/how-to-make-a-cross-domain-web-request-with-silverlight-2.html&amp;t=How+to+make+a+cross+domain+web+request+with+SilverLight+2" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->


<p>Related posts:<ol><li><a href='http://www.leggetter.co.uk/2009/10/30/using-fiddler-to-trick-silverlight-into-allowing-a-crossdomain-web-request.html' rel='bookmark' title='Permanent Link: Using Fiddler to trick Silverlight into allowing a crossdomain Web Request'>Using Fiddler to trick Silverlight into allowing a crossdomain Web Request</a></li>
<li><a href='http://www.leggetter.co.uk/2010/03/12/making-cross-domain-javascript-requests-using-xmlhttprequest-or-xdomainrequest.html' rel='bookmark' title='Permanent Link: Making cross domain JavaScript requests using XMLHttpRequest or XDomainRequest'>Making cross domain JavaScript requests using XMLHttpRequest or XDomainRequest</a></li>
<li><a href='http://www.leggetter.co.uk/2010/02/05/silverlight-uses-xcp-tmp-files-for-web-requests.html' rel='bookmark' title='Permanent Link: Silverlight uses XCP tmp files for Web Requests'>Silverlight uses XCP tmp files for Web Requests</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.leggetter.co.uk/2008/10/24/how-to-make-a-cross-domain-web-request-with-silverlight-2.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>.NET Obfuscators</title>
		<link>http://www.leggetter.co.uk/2008/06/26/net-obfuscators.html</link>
		<comments>http://www.leggetter.co.uk/2008/06/26/net-obfuscators.html#comments</comments>
		<pubDate>Thu, 26 Jun 2008 21:45:32 +0000</pubDate>
		<dc:creator>Phil Leggetter</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[Obfusators]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Software Development]]></category>

		<guid isPermaLink="false">http://www.leggetter.co.uk/?p=53</guid>
		<description><![CDATA[As I was cleaning up the contents of my desktop I came across a text file containing a list of links to .NET obfuscator offerings. I created this list when researching options about six months ago. The main criteria was that the obfuscator could be executed as part of an automated build process.
Here&#8217;s the contents [...]


Related posts:<ol><li><a href='http://www.leggetter.co.uk/2007/05/17/a-new-look-for-google.html' rel='bookmark' title='Permanent Link: A new look for Google'>A new look for Google</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>As I was cleaning up the contents of my desktop I came across a text file containing a list of links to .NET obfuscator offerings. I created this list when researching options about six months ago. The main criteria was that the obfuscator could be executed as part of an automated build process.</p>
<p>Here&#8217;s the contents of the list:</p>
<ul>
<li><a  href="http://www.remotesoft.com/salamander/obfuscator.html">http://www.remotesoft.com/salamander/obfuscator.html</a></li>
<li><a  href="http://www.smartassembly.com/">http://www.smartassembly.com/</a></li>
<li><a  href="http://www.preemptive.com/products/dotfuscator/index.html">http://www.preemptive.com/products/dotfuscator/index.html</a></li>
<li><a  href="http://www.9rays.net/products/Spices.Obfuscator/">http://www.9rays.net/products/Spices.Obfuscator/</a></li>
<li><a  href="http://www.wiseowl.com/products/products.aspx">http://www.wiseowl.com/products/products.aspx</a></li>
<li><a  href="http://www.eziriz.com/comparison.htm">http://www.eziriz.com/comparison.htm</a></li>
</ul><!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a><strong><em> </em></strong></a>
<br />
<div class="d">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.leggetter.co.uk/2008/06/26/net-obfuscators.html&amp;title=.NET+Obfuscators" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.leggetter.co.uk/2008/06/26/net-obfuscators.html&amp;title=.NET+Obfuscators" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.dotnetkicks.com/kick/?url=http://www.leggetter.co.uk/2008/06/26/net-obfuscators.html&amp;title=.NET+Obfuscators" rel="nofollow" title="Add to&nbsp;DotNetKicks"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/dotnetkicks.png" title="Add to&nbsp;DotNetKicks" alt="Add to&nbsp;DotNetKicks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://www.leggetter.co.uk/2008/06/26/net-obfuscators.html" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://www.leggetter.co.uk/2008/06/26/net-obfuscators.html&amp;title=.NET+Obfuscators" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://www.leggetter.co.uk/2008/06/26/net-obfuscators.html&amp;title=.NET+Obfuscators" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://www.leggetter.co.uk/2008/06/26/net-obfuscators.html&amp;title=.NET+Obfuscators" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://www.leggetter.co.uk/2008/06/26/net-obfuscators.html" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+.NET+Obfuscators+@+http://www.leggetter.co.uk/2008/06/26/net-obfuscators.html" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http://www.leggetter.co.uk/2008/06/26/net-obfuscators.html&amp;t=.NET+Obfuscators" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->


<p>Related posts:<ol><li><a href='http://www.leggetter.co.uk/2007/05/17/a-new-look-for-google.html' rel='bookmark' title='Permanent Link: A new look for Google'>A new look for Google</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.leggetter.co.uk/2008/06/26/net-obfuscators.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Holiday &#8211; Day 1: Bad design gives me an early start to the day</title>
		<link>http://www.leggetter.co.uk/2008/06/05/holiday-day-1-bad-design-gives-me-an-early-start-to-the-day.html</link>
		<comments>http://www.leggetter.co.uk/2008/06/05/holiday-day-1-bad-design-gives-me-an-early-start-to-the-day.html#comments</comments>
		<pubDate>Thu, 05 Jun 2008 08:49:20 +0000</pubDate>
		<dc:creator>Phil Leggetter</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Software Development]]></category>

		<guid isPermaLink="false">http://www.leggetter.co.uk/2008/06/05/holiday-day-1-bad-design-gives-me-an-early-start-to-the-day.html</guid>
		<description><![CDATA[I was awoken on the first day of my holiday to a clattering sound and my girlfriend exclaiming &#8220;I can&#8217;t get the top drawer open&#8221;.  I turned over and looked at the clock. It read 05:50! Something within the drawer has risen high enough so that when you try to open it it catches [...]


Related posts:<ol><li><a href='http://www.leggetter.co.uk/2008/06/25/colonsay-holiday-2008.html' rel='bookmark' title='Permanent Link: Colonsay Holiday 2008'>Colonsay Holiday 2008</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I was awoken on the first day of my holiday to a clattering sound and my girlfriend exclaiming &#8220;I can&#8217;t get the top drawer open&#8221;.  I turned over and looked at the clock. It read 05:50! Something within the drawer has risen high enough so that when you try to open it it catches and the drawer can&#8217;t open.</p>
<p><img src="http://www.underconsideration.com/speakup/archives/droog_chest.jpg" title="Actually most the drawers in the image don't have the annoying cavity" alt="Actually most the drawers in the image don't have the annoying cavity" align="right" border="0" height="259" width="204" /></p>
<p>I then had to spend 30 minutes taking the whole set of drawers apart with a screwdriver to get this drawer open. I don&#8217;t know how many times I&#8217;ve come across this same problem but still the design of drawers, and more to the point their casing, stays the same. The drawer cavity always has space above the actual drawer to allow things within the drawer to move into this space and then catch when you try and open the drawer.</p>
<p>My point here is that this has proven time and time again to be bad design with flaws yet this design does not change. The same problem can be seen in other engineering designs including software.<br />
<span id="more-45"></span></p>
<p>I&#8217;ve recently been working on a product which all in all has been a big success but there is one particularly ticky piece of code that is continuing to be troublesome. The interface to the section of code is well defined but the implementation continues to cause problems. The implementation was designed and has organically changed throughout the project and at various stages we&#8217;ve said that it could probably do with a redesign. However, it generally works without problems so we keep putting of the redesign. This is the same as the drawer design; you can open the same drawer 1,000 times without the contents catching but when it catches on the 1001<sup>st</sup> it&#8217;s still very annoying.</p>
<p>I did a quick google for &#8220;<a  href="http://www.google.co.uk/search?q=when+to+redesign+-website">when to redesign</a>&#8221; (ignoring &#8220;website&#8221; related posts) and came across a PDF on <a  href="http://www.innovativethermal.com/Articles/Knowing%20When%20To%20Redesign%20A%20Product.PDF">Law 3 from the 10 laws of design and development</a> by <a  href="http://www.innovativethermal.com/">Innovative Thermal Solutions</a>.</p>
<blockquote cite="http://www.innovativethermal.com/Articles/Knowing%20When%20To%20Redesign%20A%20Product.PDF"><p>It is usually difficult if not impossible to make the desired level of improvement without significant change to the original design. Everytime (yes, everytime!) I have been through this struggle, hindsight has shown that if we had bitten the bullet and made the significant design change called for at the first sign of a problem, the product cost and project schedule would have been better off.</p></blockquote>
<p>The fact is that if something has a flaw which may require an overhaul in design then it should most probably be done. Something as simple as a drawer opening mechanism should work flawlessly. I&#8217;m not saying that software is as simple as this but the same design and redesign principles should be used across all forms of engineering.</p>
<p>If it works all the time and does everything you need then leave it alone. If it works most of the time then redesign and fix it &#8211; most of the time isn&#8217;t good enough.</p><!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a><strong><em> </em></strong></a>
<br />
<div class="d">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.leggetter.co.uk/2008/06/05/holiday-day-1-bad-design-gives-me-an-early-start-to-the-day.html&amp;title=Holiday+%26%238211%3B+Day+1%3A+Bad+design+gives+me+an+early+start+to+the+day" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.leggetter.co.uk/2008/06/05/holiday-day-1-bad-design-gives-me-an-early-start-to-the-day.html&amp;title=Holiday+%26%238211%3B+Day+1%3A+Bad+design+gives+me+an+early+start+to+the+day" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.dotnetkicks.com/kick/?url=http://www.leggetter.co.uk/2008/06/05/holiday-day-1-bad-design-gives-me-an-early-start-to-the-day.html&amp;title=Holiday+%26%238211%3B+Day+1%3A+Bad+design+gives+me+an+early+start+to+the+day" rel="nofollow" title="Add to&nbsp;DotNetKicks"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/dotnetkicks.png" title="Add to&nbsp;DotNetKicks" alt="Add to&nbsp;DotNetKicks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://www.leggetter.co.uk/2008/06/05/holiday-day-1-bad-design-gives-me-an-early-start-to-the-day.html" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://www.leggetter.co.uk/2008/06/05/holiday-day-1-bad-design-gives-me-an-early-start-to-the-day.html&amp;title=Holiday+%26%238211%3B+Day+1%3A+Bad+design+gives+me+an+early+start+to+the+day" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://www.leggetter.co.uk/2008/06/05/holiday-day-1-bad-design-gives-me-an-early-start-to-the-day.html&amp;title=Holiday+%26%238211%3B+Day+1%3A+Bad+design+gives+me+an+early+start+to+the+day" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://www.leggetter.co.uk/2008/06/05/holiday-day-1-bad-design-gives-me-an-early-start-to-the-day.html&amp;title=Holiday+%26%238211%3B+Day+1%3A+Bad+design+gives+me+an+early+start+to+the+day" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://www.leggetter.co.uk/2008/06/05/holiday-day-1-bad-design-gives-me-an-early-start-to-the-day.html" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+Holiday+%26%238211%3B+Day+1%3A+Bad+design+gives+me+an+early+start+to+the+day+@+http://www.leggetter.co.uk/2008/06/05/holiday-day-1-bad-design-gives-me-an-early-start-to-the-day.html" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http://www.leggetter.co.uk/2008/06/05/holiday-day-1-bad-design-gives-me-an-early-start-to-the-day.html&amp;t=Holiday+%26%238211%3B+Day+1%3A+Bad+design+gives+me+an+early+start+to+the+day" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->


<p>Related posts:<ol><li><a href='http://www.leggetter.co.uk/2008/06/25/colonsay-holiday-2008.html' rel='bookmark' title='Permanent Link: Colonsay Holiday 2008'>Colonsay Holiday 2008</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.leggetter.co.uk/2008/06/05/holiday-day-1-bad-design-gives-me-an-early-start-to-the-day.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to install Caplin Systems&#8217; Liberator Free Edition on Windows</title>
		<link>http://www.leggetter.co.uk/2008/05/20/how-to-install-caplin-systems-liberator-free-edition-on-windows.html</link>
		<comments>http://www.leggetter.co.uk/2008/05/20/how-to-install-caplin-systems-liberator-free-edition-on-windows.html#comments</comments>
		<pubDate>Tue, 20 May 2008 21:50:20 +0000</pubDate>
		<dc:creator>Phil Leggetter</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Caplin Systems]]></category>
		<category><![CDATA[Software Development]]></category>

		<guid isPermaLink="false">http://www.leggetter.co.uk/2008/05/20/how-to-install-caplin-systems-liberator-free-edition-on-windows.html</guid>
		<description><![CDATA[Liberator FE
I work for Caplin Systems who have recently released Liberator FE which is the Free Edition of their real time Comet server product.
Liberator is the most performant and fully-featured server currently available for streaming real-time data to web pages. The technology behind many of the world&#8217;s leading financial trading portals, it is now available [...]


Related posts:<ol><li><a href='http://www.leggetter.co.uk/2009/04/28/caplin-systems-blog-post-what-is-the-real-time-web.html' rel='bookmark' title='Permanent Link: Caplin Systems Blog Post &#8211; What is the real-time web?'>Caplin Systems Blog Post &#8211; What is the real-time web?</a></li>
<li><a href='http://www.leggetter.co.uk/2009/08/28/windows-azure-503-service-unavailable.html' rel='bookmark' title='Permanent Link: Windows Azure &#8211; 503 Service Unavailable'>Windows Azure &#8211; 503 Service Unavailable</a></li>
<li><a href='http://www.leggetter.co.uk/2007/05/22/linkstation-nas-folder-share-with-windows-vista.html' rel='bookmark' title='Permanent Link: Linkstation NAS Folder share with Windows Vista'>Linkstation NAS Folder share with Windows Vista</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<h3>Liberator FE</h3>
<p>I work for <a  href="http://www.caplin.com/">Caplin Systems</a> who have recently released <a  href="http://www.freeliberator.com">Liberator FE</a> which is the Free Edition of their real time <a  href="http://www.freeliberator.com/comet/">Comet</a> server product.</p>
<blockquote><p>Liberator is the most performant and fully-featured server currently available for streaming real-time data to web pages. The technology behind many of the world&#8217;s leading financial trading portals, it is now available FREE for evaluation and non-commercial use.</p></blockquote>
<p>In this post I will detail my experiences when installing Liberator FE on Windows with an aim to being able to create a <a  href="http://en.wikipedia.org/wiki/Rich_Internet_application">RIA</a> Client that consumes data from a Capin <a  href="http://www.freeliberator.com/documentation/DataSourceJava/javadoc/index.html">DataSource</a>.</p>
<blockquote><p>Liberator Free Edition comes with a comprehensive client library for integrating with Ajax or Flex, RIAs, a Java server library for connecting to sources of data and building application logic, and full documentation.</p></blockquote>
<p><a  title="Liberator FE on CentOS Linux distribution" href="http://www.leggetter.co.uk/wp-content/uploads/2008/05/liberatorfecentos.png" class="thickbox no_icon" rel="gallery-44"><img src="http://www.leggetter.co.uk/wp-content/uploads/2008/05/liberatorfecentos.png" alt="Liberator FE on CentOS Linux distribution" width="449" height="363" /></a><br />
<span id="more-44"></span></p>
<h3>How to Install Liberator FE on Windows</h3>
<p>Liberator FE will not run directly on Windows. The only way to acheive this in any way if you don&#8217;t have a Linux server handy is to run it on a Virtual Machine. The following sections explain how to get the pieces of software that you need and how to install Liberator FE on Windows.</p>
<h4>VM Player</h4>
<p>VMWare provide a free VMPlayer to allow you to run virtual machine images. Download it <a  href="http://www.vmware.com/products/player/">here</a>. Alternatively you can use <a  href="http://www.vmware.com/products/player/">VMServer</a>. Both are free to use but make sure you read through the licence agreement.</p>
<p>Installing the player is as simple as double clicking on the downloaded file and following the installation wizard.</p>
<h4>Download Virtual Machine Image</h4>
<p>Once you have the player downloaded and installed you will need a Linux Virtual Machine image so that you can install Liberator FE.</p>
<p>There are a variety of places to get a VMWare image. I found a <a  href="http://www.thoughtpolice.co.uk/vmware/#centos5.1">Linux CentOS Image</a> via the <a  href="http://www.vmware.com/appliances/">Virtual Appliance Marketplace</a>.</p>
<h4>Run the Virtual Machine Image</h4>
<p>The VM Image will most probably be in a compressed archive so extract it. The image can the be opened using the VMPlayer by selecting the Open option and navigating to the directory with the VM Image and double clicking on the image file that will be visible.</p>
<p>There will most probably be some operating system setup steps to go through but using the Centos image that I chose this took less than 2 minutes.</p>
<p>At this point it&#8217;s probably worth taking a note of the IP Address of the VM is for the Liberator FE registration. To do this enter <em>ifconfig eth0</em>. If that doesn&#8217;t work you might need to enter the full path the the <em>/sbin/ifconfig eth0</em>.</p>
<h4>Download Liberator FE</h4>
<p>Open up a web browser in the VMWare Player (Guest OS) and go to <a  href="http://www.freeliberator.com">http://www.freeliberator.com</a>, fill in the details (remember to use the IP Address we got above) and download.</p>
<h4>Install Liberator FE</h4>
<p>Move the downloaded Liberator FE installer to an install location and run the script which will install to a new <em>LiberatorFE</em> folder:<br />
<em>./LiberatorFE-4.4.12-1-i686-pc-linux-gnu.sh</em></p>
<p>When prompted enter the licence information that you used when you registered on <a  href="http://www.freeliberator.com">http://www.freeliberator.com</a>. You will also be asked for port information. Since this is a clean OS install you should be able to use the default ports so just hit enter when prompted to choose ports. The default HTTP port is 8080 which we&#8217;ll be using in our next step.</p>
<h4>Start the Liberator</h4>
<p>Navigate to the <em>/LiberatorFE/etc/</em> directory and run <em>./rttpd start</em>.</p>
<p>To ensure that the Liberator has started up open up a web browser within the VM and navigate to <em><a  href="http://localhost:8080" rel="nofollow">http://localhost:8080</a></em> (substitute 8080 for your HTTP port if you didn&#8217;t choose the default. I chose 4040 just to be different). You should see the Liberator FE Status Page which means you have successfully installed Liberator FE on Windows.</p>
<h3>References</h3>
<ul>
<li><a  href="http://www.freeliberator.com/">Liberator FE</a></li>
<li><a  href="http://www.freeliberator.com/documentation/Caplin_Liberator_4.4_FE_Getting_Started_Guide/HTMLdoc/">Liberator FE Getting Started Guide</a></li>
<li><a  href="http://www.vmware.com">VMWare</a></li>
<li><a  href="http://www.thoughtpolice.co.uk/vmware/">ThoughtPolice VMWare</a></li>
</ul><!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a><strong><em> </em></strong></a>
<br />
<div class="d">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.leggetter.co.uk/2008/05/20/how-to-install-caplin-systems-liberator-free-edition-on-windows.html&amp;title=How+to+install+Caplin+Systems%26%238217%3B+Liberator+Free+Edition+on+Windows" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.leggetter.co.uk/2008/05/20/how-to-install-caplin-systems-liberator-free-edition-on-windows.html&amp;title=How+to+install+Caplin+Systems%26%238217%3B+Liberator+Free+Edition+on+Windows" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.dotnetkicks.com/kick/?url=http://www.leggetter.co.uk/2008/05/20/how-to-install-caplin-systems-liberator-free-edition-on-windows.html&amp;title=How+to+install+Caplin+Systems%26%238217%3B+Liberator+Free+Edition+on+Windows" rel="nofollow" title="Add to&nbsp;DotNetKicks"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/dotnetkicks.png" title="Add to&nbsp;DotNetKicks" alt="Add to&nbsp;DotNetKicks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://www.leggetter.co.uk/2008/05/20/how-to-install-caplin-systems-liberator-free-edition-on-windows.html" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://www.leggetter.co.uk/2008/05/20/how-to-install-caplin-systems-liberator-free-edition-on-windows.html&amp;title=How+to+install+Caplin+Systems%26%238217%3B+Liberator+Free+Edition+on+Windows" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://www.leggetter.co.uk/2008/05/20/how-to-install-caplin-systems-liberator-free-edition-on-windows.html&amp;title=How+to+install+Caplin+Systems%26%238217%3B+Liberator+Free+Edition+on+Windows" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://www.leggetter.co.uk/2008/05/20/how-to-install-caplin-systems-liberator-free-edition-on-windows.html&amp;title=How+to+install+Caplin+Systems%26%238217%3B+Liberator+Free+Edition+on+Windows" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://www.leggetter.co.uk/2008/05/20/how-to-install-caplin-systems-liberator-free-edition-on-windows.html" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+How+to+install+Caplin+Systems%26%238217%3B+Liberator+Free+Edition+on+Windows+@+http://www.leggetter.co.uk/2008/05/20/how-to-install-caplin-systems-liberator-free-edition-on-windows.html" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http://www.leggetter.co.uk/2008/05/20/how-to-install-caplin-systems-liberator-free-edition-on-windows.html&amp;t=How+to+install+Caplin+Systems%26%238217%3B+Liberator+Free+Edition+on+Windows" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://www.leggetter.co.uk/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->


<p>Related posts:<ol><li><a href='http://www.leggetter.co.uk/2009/04/28/caplin-systems-blog-post-what-is-the-real-time-web.html' rel='bookmark' title='Permanent Link: Caplin Systems Blog Post &#8211; What is the real-time web?'>Caplin Systems Blog Post &#8211; What is the real-time web?</a></li>
<li><a href='http://www.leggetter.co.uk/2009/08/28/windows-azure-503-service-unavailable.html' rel='bookmark' title='Permanent Link: Windows Azure &#8211; 503 Service Unavailable'>Windows Azure &#8211; 503 Service Unavailable</a></li>
<li><a href='http://www.leggetter.co.uk/2007/05/22/linkstation-nas-folder-share-with-windows-vista.html' rel='bookmark' title='Permanent Link: Linkstation NAS Folder share with Windows Vista'>Linkstation NAS Folder share with Windows Vista</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.leggetter.co.uk/2008/05/20/how-to-install-caplin-systems-liberator-free-edition-on-windows.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
