<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>{Programming} &amp; Life</title>
	
	<link>http://goneale.com</link>
	<description>Graham O'Neale – Deep In .NET Development: ASP.NET, MVC, jQuery, WPF, WCF, Silverlight</description>
	<lastBuildDate>Mon, 16 Jan 2012 06:48:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/programmingLife" /><feedburner:info uri="programminglife" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>My New (Aussie!) Discount Daily Deals Accommodation Startup Business Online – Up to 80% Off Stays, yes truly!</title>
		<link>http://feedproxy.google.com/~r/programmingLife/~3/Q3lk04H77ww/</link>
		<comments>http://goneale.com/2012/01/16/my-new-online-accommodation-daily-deals-startup-business-stay-of-the-day-best-online-australian-discount-accommodation-daily-deals-up-to-80-percent-off-stays/#comments</comments>
		<pubDate>Mon, 16 Jan 2012 06:48:02 +0000</pubDate>
		<dc:creator>Graham O'Neale</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[business]]></category>
		<category><![CDATA[Offtopic]]></category>
		<category><![CDATA[StayOfTheDay]]></category>

		<guid isPermaLink="false">http://goneale.com/?p=1127</guid>
		<description><![CDATA[Hey guys, sorry this blog has been relatively quiet the last six months or so, but for that period I have been knee deep hard at work involved in a startup venture that a few of my friends and myself have started. So unfortunately no real time for blogging, just a slog of actual programming [...]<br /><div><img src="http://goneale.com/wp-content/plugins/gd-star-rating/gfx.php?value=0.0" /></div><div>Rating: 0.0/<strong>5</strong> (0 votes cast)</div><br />]]></description>
			<content:encoded><![CDATA[<p>Hey guys, sorry this blog has been relatively quiet the last six months or so, but for that period I have been knee deep hard at work involved in a startup venture that a few of my friends and myself have started. So unfortunately no real time for blogging, just a slog of actual programming work! <img src='http://goneale.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>So today I&#8217;m proud to announce my new business venture <a href="http://www.stayoftheday.com">Stay Of The Day</a>!</strong> Pretty exciting stuff, we&#8217;ve just gone live (well live in respects to our &#8220;Coming Soon&#8221; page) and have an official site launch on 1 Feb.</p>
<p><strong>So what&#8217;s it about?</strong></p>
<blockquote><p><strong><span style="text-decoration: underline;">It&#8217;s a <em>discount</em> accommodation daily deals site with a <em>twist</em></span></strong> whereby you only pay for the accommodation when you stay and you can secure deals for up to <strong>80% off around Australia <span style="text-decoration: underline;">guaranteed and exclusive</span></strong> (yes! that means you won&#8217;t find the deal anywhere else) with a lot of fun thrown in the mix on the site.</p></blockquote>
<p>Currently we have email subscription live for those early birds who want to follow us, plus we are running a <strong><span style="text-decoration: underline;">$500K social media giveaway campaign</span>!</strong> Very exciting. Simply share our website with a few friends and receive $10 credit to use on the site when we go live for each service you share with!</p>
<p><strong>Anyone in the world is welcome to subscribe and share (and we would really appreciate it!)</strong> but on launch we will have only Australian accommodation offerings, so if you are from Australia or travelling to Australia I really urge you to check it out! I would really appreciate it <img src='http://goneale.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Tell your mums, dads, sisters, pets! Share the links to earn credit! It&#8217;s that simple <img src='http://goneale.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Well that&#8217;s as &#8220;salsey&#8221; as my blog is going to get, back to reality and thanks again for reading <img src='http://goneale.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Graham</p>
<h1><a href="http://www.stayoftheday.com/" target="_blank">www.stayoftheday.com</a></h1>
<p>&nbsp;</p>
<p><a href="http://www.stayoftheday.com" target="_blank"><img class="alignnone size-full wp-image-1130" title="Stay Of The Day - Best Online Australian Discount Accommodation Daily Deals - Up to 80% Off Stays" src="http://goneale.com/wp-content/uploads/2012/01/FB_Profile_Pic.png" alt="" width="180" height="400" /></a></p>
<br /><div><img src="http://goneale.com/wp-content/plugins/gd-star-rating/gfx.php?value=0.0" /></div><div>Rating: 0.0/<strong>5</strong> (0 votes cast)</div><br />
<p><a href="http://feedads.g.doubleclick.net/~a/WkRSL18tJorFsgnX6yT36zJgi38/0/da"><img src="http://feedads.g.doubleclick.net/~a/WkRSL18tJorFsgnX6yT36zJgi38/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/WkRSL18tJorFsgnX6yT36zJgi38/1/da"><img src="http://feedads.g.doubleclick.net/~a/WkRSL18tJorFsgnX6yT36zJgi38/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/programmingLife?a=Q3lk04H77ww:DCT60KjUQXI:bcOpcFrp8Mo"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=bcOpcFrp8Mo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=Q3lk04H77ww:DCT60KjUQXI:dBgfwv8chhc"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=dBgfwv8chhc" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=Q3lk04H77ww:DCT60KjUQXI:wfPLY4pQREI"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=wfPLY4pQREI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=Q3lk04H77ww:DCT60KjUQXI:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/programmingLife?i=Q3lk04H77ww:DCT60KjUQXI:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=Q3lk04H77ww:DCT60KjUQXI:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/programmingLife?i=Q3lk04H77ww:DCT60KjUQXI:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=Q3lk04H77ww:DCT60KjUQXI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=Q3lk04H77ww:DCT60KjUQXI:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/programmingLife?i=Q3lk04H77ww:DCT60KjUQXI:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/programmingLife/~4/Q3lk04H77ww" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://goneale.com/2012/01/16/my-new-online-accommodation-daily-deals-startup-business-stay-of-the-day-best-online-australian-discount-accommodation-daily-deals-up-to-80-percent-off-stays/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://goneale.com/2012/01/16/my-new-online-accommodation-daily-deals-startup-business-stay-of-the-day-best-online-australian-discount-accommodation-daily-deals-up-to-80-percent-off-stays/</feedburner:origLink></item>
		<item>
		<title>ASP.NET MVC / .NET Learning Videos &amp; Tutorial Resources</title>
		<link>http://feedproxy.google.com/~r/programmingLife/~3/zkU5djL4E0M/</link>
		<comments>http://goneale.com/2011/07/06/asp-net-mvc-net-learning-videos-tutorial-resources/#comments</comments>
		<pubDate>Wed, 06 Jul 2011 00:08:16 +0000</pubDate>
		<dc:creator>Graham O'Neale</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[mvc]]></category>

		<guid isPermaLink="false">http://goneale.com/?p=1122</guid>
		<description><![CDATA[Hi Guys, I feel terrible I cannot blog as frequently now a days, so busy with so many projects on the go at the moment, including a couple of start-ups I&#8217;m working on.  But I wanted to quickly share with you probably the most valuable information I could give you in a short space of [...]<br /><div><img src="http://goneale.com/wp-content/plugins/gd-star-rating/gfx.php?value=4.0" /></div><div>Rating: 4.0/<strong>5</strong> (7 votes cast)</div><br />]]></description>
			<content:encoded><![CDATA[<p>Hi Guys, I feel terrible I cannot blog as frequently now a days, so busy with so many projects on the go at the moment, including a couple of start-ups I&#8217;m working on.  But I wanted to quickly share with you probably the most valuable information I could give you in a short space of time; some awesome video resources on ASP.NET MVC and .NET in general from recent events! I find there is no better way to learn than through visual hands-on sometimes.</p>
<ul>
<li><a href="http://channel9.msdn.com/Events/MIX/MIX11?sort=rating&amp;direction=asc&amp;t=mvc#tab_sortBy_rating">MIX 11 ASP.NET MVC Videos</a> (Las Vegas, Apr 12 &#8211; 14 2011) &#8211; Great selection of ASP.NET MVC videos and tons of other awesome HD content on .NET in there! Check it out!</li>
<li><a href="http://www.mvcconf.com/videos">mvcConf 2</a> (Feb 2011) &#8211; ASP.NET MVC Conference gaining a lot of popularity and has some amazing content, ALL ON ASP.NET MVC!!! Watch them all and you will be an unstoppable MVC ninja!</li>
<li><a href="http://channel9.msdn.com/Browse/Events?sort=recent">Check out the full selection of videos</a> from recent events here, so much good content up on MSDN Channel9. Pay particular attention to the MIX 11 selection, PDC and TechEd stuff.</li>
</ul>
<p>As always, if you are new to ASP.NET MVC, a great place to start is nothing other than <a href="http://www.asp.net/mvc">www.asp.net/mvc</a>.  Loads of great stuff, we&#8217;re up to ASP.NET MVC 3 now and it&#8217;s pretty darn awesome. Has links to text tutorials, sample projects and a great selection of videos.</p>
<p>If you want to hear about what happens in the ASP.NET MVC world as it happens, you&#8217;ll know doubt hear it from one of these blogs:</p>
<ul>
<li>Scott Guthrie (<a href="http://weblogs.asp.net/scottgu">http://weblogs.asp.net/scottgu</a>, VP for Microsoft Developer Division and manages the teams that build core .NET technologies)</li>
<li>Phil Haack (<a href="http://www.haacked.com">http://www.haacked.com</a>, Senior Program Manager at Microsoft on the ASP.NET team and builds ASP.NET MVC)</li>
<li>Scott Hanselman (<a href="http://www.hanselman.com">http://www.hanselman.com</a>, Principal Program Manager for Microsoft and has a lot of great stuff to say, and a lot of jokes as well, check out any of his videos from events in the links above, very, very entertaining with some learning as well <img src='http://goneale.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> )</li>
</ul>
<br /><div><img src="http://goneale.com/wp-content/plugins/gd-star-rating/gfx.php?value=4.0" /></div><div>Rating: 4.0/<strong>5</strong> (7 votes cast)</div><br />
<p><a href="http://feedads.g.doubleclick.net/~a/i1S8pTkyXlLzB4qUqRji98mHP7I/0/da"><img src="http://feedads.g.doubleclick.net/~a/i1S8pTkyXlLzB4qUqRji98mHP7I/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/i1S8pTkyXlLzB4qUqRji98mHP7I/1/da"><img src="http://feedads.g.doubleclick.net/~a/i1S8pTkyXlLzB4qUqRji98mHP7I/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/programmingLife?a=zkU5djL4E0M:rmUHb0_WBl0:bcOpcFrp8Mo"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=bcOpcFrp8Mo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=zkU5djL4E0M:rmUHb0_WBl0:dBgfwv8chhc"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=dBgfwv8chhc" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=zkU5djL4E0M:rmUHb0_WBl0:wfPLY4pQREI"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=wfPLY4pQREI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=zkU5djL4E0M:rmUHb0_WBl0:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/programmingLife?i=zkU5djL4E0M:rmUHb0_WBl0:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=zkU5djL4E0M:rmUHb0_WBl0:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/programmingLife?i=zkU5djL4E0M:rmUHb0_WBl0:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=zkU5djL4E0M:rmUHb0_WBl0:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=zkU5djL4E0M:rmUHb0_WBl0:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/programmingLife?i=zkU5djL4E0M:rmUHb0_WBl0:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/programmingLife/~4/zkU5djL4E0M" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://goneale.com/2011/07/06/asp-net-mvc-net-learning-videos-tutorial-resources/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://goneale.com/2011/07/06/asp-net-mvc-net-learning-videos-tutorial-resources/</feedburner:origLink></item>
		<item>
		<title>Network / Carrier Unlock Guide for Samsung Galaxy Tab</title>
		<link>http://feedproxy.google.com/~r/programmingLife/~3/QumtYjMS0IM/</link>
		<comments>http://goneale.com/2011/04/11/network-carrier-unlock-guide-for-android-samsung-galaxy-tab/#comments</comments>
		<pubDate>Mon, 11 Apr 2011 05:53:00 +0000</pubDate>
		<dc:creator>Graham O'Neale</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[network-unlock]]></category>
		<category><![CDATA[samsung-galaxy-tab]]></category>

		<guid isPermaLink="false">http://goneale.com/?p=1105</guid>
		<description><![CDATA[Now for something entirely different to my normal pro-Microsoft .NET scriblings&#8230; I had the painful privileged experience of network unlocking my Android powered Australian Samsung Galaxy Tab today and thought due to the number of steps involved and information all over the place on the net that it might be nice to blog about the [...]<br /><div><img src="http://goneale.com/wp-content/plugins/gd-star-rating/gfx.php?value=3.3" /></div><div>Rating: 3.3/<strong>5</strong> (6 votes cast)</div><br />]]></description>
			<content:encoded><![CDATA[<p>Now for something entirely different to my normal pro-Microsoft .NET scriblings&#8230;</p>
<p>I had the <em><span style="text-decoration: line-through;">painful</span></em> privileged experience of network unlocking my Android powered Australian Samsung Galaxy Tab today and thought due to the number of steps involved and information all over the place on the net that it might be nice to blog about the procedure in clear easy to follow steps in endeavor to help others that wish to do the same and to speak about any hurdles I encountered and how I overcame them.</p>
<p>This guide has been put together through an amalgamation of tutorials I have found across the internet in attempt to make a simple, streamlined guide in the least amount of steps possible that anyone can follow; it may work for other Android-powered devices such as the Samsung Galaxy S but this is unconfirmed (can anyone from the community confirm?).</p>
<p>As I mentioned, worked a treat for me, with no problems and the particular unlocking strategy I selected will retain your Serial number and contains an easy guide with no hex editing which some others require.</p>
<p>However, with that being said.. <strong>Use this tutorial for your Galaxy Tab and Galaxy S at your own risk!</strong></p>
<p><strong><span style="text-decoration: underline;">TOOLS REQUIRED</span></strong></p>
<ul>
<li><strong>SuperOneClick </strong>(It is used to enable root access on your device, download: <a href="http://www.shortfuse.org/">http://www.shortfuse.org/</a>, info <a href="http://forum.xda-developers.com/showthread.php?t=803682">http://forum.xda-developers.com/showthread.php?t=803682</a>)</li>
<li><strong>Busybox</strong> (via Busybox Installer for up-to-date version, free, Android Market) and Super Manager (free, Android Market)</li>
<li><strong>adb.exe</strong> (Included in SuperOneClick .zip package/Android SDK)</li>
</ul>
<p><strong><span style="text-decoration: underline;">STEPS</span></strong></p>
<ol>
<li><strong>Check Network Lock:</strong>
<ol>
<li>You can check network lock by dialling <code>*#7465625#</code> on your device.  If <strong>Network Lock</strong> is present, this will be set to <strong>[ON]</strong>.</li>
</ol>
</li>
<li><strong>Enable root access on your device:</strong>
<ol>
<li>Download <strong>SuperOneClick</strong> from the location mentioned in the tools (I am using v1.7 at the time of writing this article)</li>
<li>Ensure USB cable is not plugged in to your computer.</li>
<li>On your device go to <strong>Settings-&gt;Applications-&gt;Development-&gt;USB debugging</strong> and turn it <strong>ON</strong>.</li>
<li>Connect USB cable to your computer.</li>
<li>Extract <strong>SuperOneClick</strong> and run <strong>SuperOneClick.exe</strong> as <strong>Administrator</strong>.</li>
<li>Once the program has loaded, press “<strong>Root</strong>”.</li>
<li>Wait for the operation to perform it’s sequence (30secs &#8211; 2 minutes) then your device will have root access!<br />
<img src="http://goneale.com/files/galaxy-unlocking-guide/SuperOneClick.png" border="0" alt="" /></li>
</ol>
</li>
</ol>
<blockquote><p>If the program has stalled at “<strong>Waiting for Device</strong>” or any other process for too long (&gt;2 minutes) you may have an issue with your<strong> Android device driver</strong>, or may not be running as <strong>Administrator</strong>.</p>
<p>Try either <strong>rebooting</strong> your device or more importantly, and the solution that worked for me, is to <strong>install the Android device driver</strong> which is available on the <strong>JuneFabrics PdaNet</strong> page (<a href="http://junefabrics.com/android/download.php">http://junefabrics.com/android/download.php</a>). I actually installed the whole PdaNet package available here not realising first so try that if you still have problems (<a href="http://junefabrics.com/android/download.php">http://junefabrics.com/android/download.php</a>).</p>
<p>Once you have done this, try re-performing the steps.</p></blockquote>
<ol>
<li>Install <strong>Busybox Installer</strong> and <strong>Super Manager</strong> from Android Market (this will be used to perform backup in the next step).</li>
<li><strong>Backup /efs folder to sdcard:</strong>
<ol>
<li>Using <strong>Super Manager</strong>, enable root access (<strong>Settings -&gt; Enable ROOT access</strong>. If you find Super Manager locking up when pressing this option, try <strong>rebooting device</strong> first as root access may not have been properly initialised (this worked for me))</li>
<li>On <strong>Super Manager</strong> home screen press the icon for “<strong>File Explorer</strong>”.</li>
<li>Go to root directory and then select the tick on <code>/efs</code> folder.</li>
<li>Press &#8220;<strong>Copy</strong>&#8221; [Double page] icon.</li>
<li>Open <code>sdcard</code> directory, and press &#8220;<strong>Paste</strong>&#8221; [Clipboard] icon.</li>
<li><strong>Disconnect USB cable</strong>, <strong>disable USB debugging</strong> (<strong>Settings-&gt;Applications-&gt;Development-&gt;USB debugging</strong>) and <strong>reconnect USB cable</strong>.</li>
<li>Open your Android device folder in My Computer and <strong>copy the <code>efs</code> fold</strong><strong>er to a safe backup location on your local hard drive</strong> and do not delete this folder!</li>
<li><strong>Disconnect USB cable</strong>, <strong>re-enable USB debugging</strong> and <strong>reconnect USB cable</strong>.</li>
<li><strong>Run the network unlock script via <code>adb.exe</code>:</strong>
<ol>
<li>Whilst your <strong>USB cable is plugged in to your computer</strong> and you are in <strong>USB debugging mode</strong>, open a command prompt (<code>PowerShell.exe</code> / <code>cmd.exe</code>) and navigate to the <strong>SuperOneClick</strong> directory or your Android SDK directory where <code>adb.exe</code> is located.</li>
<li><strong>Run the following commands:</strong></li>
</ol>
</li>
</ol>
</li>
</ol>
<pre class="sh_shell"><code>adb.exe shell</code></pre>
<pre class="sh_shell"><code>su</code></pre>
<p>The following can be pasted directly into the shell:</p>
<pre class="sh_shell"><code>cd /sdcard
echo "this takes about 45 seconds"
if [ ! -f /sdcard/nv_data.bin.orig ]; then
echo "copying file to /sdcard"
cp /efs/nv_data.bin /sdcard/nv_data.bin.orig
fi
echo -en \\x00 &gt; out0
dd if=nv_data.bin.orig of=out1 bs=1 count=1578089
dd if=nv_data.bin.orig of=out2 bs=1 skip=1578090 count=163
dd if=nv_data.bin.orig of=out3 bs=1 skip=1578254
cat out1 out0 out2 out0 out3 &gt; nv_data.bin.unlocked
rm out0 out1 out2 out3
rm /efs/nv_data.bin
cp nv_data.bin.unlocked /efs/nv_data.bin
rm /efs/nv_data.bin.md5
reboot</code></pre>
<p>Your device is now network unlocked and will reboot!</p>
<p>Ensure your new SIM is plugged in and that you now have Internet access. If you don’t, it is most likely because your <strong>APN settings</strong> for the carrier are not setup correctly.</p>
<p>For the appropriate settings, refer to the wireless broadband guide issued with your SIM from your carrier or Google <strong>&#8220;APN setting your_carriers_name_here&#8221;</strong> and enter these settings in <strong>Settings-&gt;Wireless-&gt;Mobile Networks-&gt;Access Point Names</strong>.  For more information on this process, or help refer to the carrier/SIM unlock thread here (<a href="http://forum.xda-developers.com/showthread.php?t=843323">http://forum.xda-developers.com/showthread.php?t=843323</a>).</p>
<p>I have re-written these steps after the fact, and was really aiming for simplicity; so if I have missed anything out, or you feel this guide can be improved, please leave a comment and I will update it.</p>
<p>Credits to the following sources:</p>
<ul>
<li><a href="http://forum.xda-developers.com/showthread.php?t=838424">http://forum.xda-developers.com/showthread.php?t=838424</a></li>
<li><a href="http://forum.xda-developers.com/showthread.php?t=803682">http://forum.xda-developers.com/showthread.php?t=803682</a></li>
<li><a href="http://theunlockr.com/2010/10/11/how-to-root-your-android-phone-superoneclick-method/">http://theunlockr.com/2010/10/11/how-to-root-your-android-phone-superoneclick-method/</a></li>
<li><a href="http://forum.xda-developers.com/showthread.php?t=843323">http://forum.xda-developers.com/showthread.php?t=843323</a></li>
<li><a href="http://www.thegalaxytabforum.com/index.php?/topic/168-guide-unlocking-samsung-galaxy-tab/">http://www.thegalaxytabforum.com/index.php?/topic/168-guide-unlocking-samsung-galaxy-tab/</a></li>
</ul>
<p>Happy unlocking!<br />
Graham</p>
<br /><div><img src="http://goneale.com/wp-content/plugins/gd-star-rating/gfx.php?value=3.3" /></div><div>Rating: 3.3/<strong>5</strong> (6 votes cast)</div><br /><script type="text/javascript" src="/wp-content/plugins/shjs-syntax-hiliter/shjs/lang/sh_shell.js"></script><script type="text/javascript" src="/wp-content/plugins/shjs-syntax-hiliter/shjs/lang/sh_shell.js"></script><script type="text/javascript" src="/wp-content/plugins/shjs-syntax-hiliter/shjs/lang/sh_shell.js"></script>
<p><a href="http://feedads.g.doubleclick.net/~a/VC5r2gLXKSYOg1FFYOW6pxnGGaE/0/da"><img src="http://feedads.g.doubleclick.net/~a/VC5r2gLXKSYOg1FFYOW6pxnGGaE/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/VC5r2gLXKSYOg1FFYOW6pxnGGaE/1/da"><img src="http://feedads.g.doubleclick.net/~a/VC5r2gLXKSYOg1FFYOW6pxnGGaE/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/programmingLife?a=QumtYjMS0IM:VQNW2SUUBXg:bcOpcFrp8Mo"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=bcOpcFrp8Mo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=QumtYjMS0IM:VQNW2SUUBXg:dBgfwv8chhc"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=dBgfwv8chhc" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=QumtYjMS0IM:VQNW2SUUBXg:wfPLY4pQREI"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=wfPLY4pQREI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=QumtYjMS0IM:VQNW2SUUBXg:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/programmingLife?i=QumtYjMS0IM:VQNW2SUUBXg:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=QumtYjMS0IM:VQNW2SUUBXg:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/programmingLife?i=QumtYjMS0IM:VQNW2SUUBXg:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=QumtYjMS0IM:VQNW2SUUBXg:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=QumtYjMS0IM:VQNW2SUUBXg:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/programmingLife?i=QumtYjMS0IM:VQNW2SUUBXg:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/programmingLife/~4/QumtYjMS0IM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://goneale.com/2011/04/11/network-carrier-unlock-guide-for-android-samsung-galaxy-tab/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://goneale.com/2011/04/11/network-carrier-unlock-guide-for-android-samsung-galaxy-tab/</feedburner:origLink></item>
		<item>
		<title>The null value cannot be assigned to a member with type System.Int64 which is a non-nullable value type</title>
		<link>http://feedproxy.google.com/~r/programmingLife/~3/E0Ia4O0-Y68/</link>
		<comments>http://goneale.com/2010/09/03/the-null-value-cannot-be-assigned-to-a-member-with-type-system-int32-int64-decimal-integer-which-is-a-non-nullable-value-type/#comments</comments>
		<pubDate>Fri, 03 Sep 2010 04:44:48 +0000</pubDate>
		<dc:creator>Graham O'Neale</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[linq]]></category>

		<guid isPermaLink="false">http://goneale.com/?p=1099</guid>
		<description><![CDATA[Are you getting this? System.InvalidOperationException: The null value cannot be assigned to a member with type System.Int64 which is a non-nullable value type. On something like this? var totalSize = query.Sum(x =&#62; x.Size); This occurs because your LINQ property (in my case &#8220;Size&#8221;) is not nullable, and needs to be nullable because your Sum() operation [...]<br /><div><img src="http://goneale.com/wp-content/plugins/gd-star-rating/gfx.php?value=4.0" /></div><div>Rating: 4.0/<strong>5</strong> (6 votes cast)</div><br />]]></description>
			<content:encoded><![CDATA[<p>Are you getting this?</p>
<blockquote><p><em><strong>System.InvalidOperationException:<br />
The null value cannot be assigned to a member with type System.Int64 which is a non-nullable value type.</strong></em></p></blockquote>
<p>On something like this?</p>
<pre class="sh_csharp">var totalSize = query.Sum(x =&gt; x.Size);
</pre>
<p>This occurs because your LINQ property (in my case &#8220;Size&#8221;) is not nullable, and needs to be nullable because your <code>Sum()</code> operation could potentially iterate over a list which is empty yielding your LINQ property value to be <code>null</code>.<br />
Of course you can&#8217;t <code>Sum()</code> null as we know or the universe would explode, so try this instead:</p>
<pre class="sh_csharp">var totalSize = query.Sum(x =&gt; (long?) x.Size);
</pre>
<p>This may very well just be a LINQ to SQL thing, but I am not sure.  Maybe somebody else out there in the wide world web can enlighten me!</p>
<p>Best of luck!</p>
<br /><div><img src="http://goneale.com/wp-content/plugins/gd-star-rating/gfx.php?value=4.0" /></div><div>Rating: 4.0/<strong>5</strong> (6 votes cast)</div><br /><script type="text/javascript" src="/wp-content/plugins/shjs-syntax-hiliter/shjs/lang/sh_csharp.js"></script><script type="text/javascript" src="/wp-content/plugins/shjs-syntax-hiliter/shjs/lang/sh_csharp.js"></script>
<p><a href="http://feedads.g.doubleclick.net/~a/NZVd8o3-9ZqagFb0w5N0BN_kADI/0/da"><img src="http://feedads.g.doubleclick.net/~a/NZVd8o3-9ZqagFb0w5N0BN_kADI/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/NZVd8o3-9ZqagFb0w5N0BN_kADI/1/da"><img src="http://feedads.g.doubleclick.net/~a/NZVd8o3-9ZqagFb0w5N0BN_kADI/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/programmingLife?a=E0Ia4O0-Y68:5WyV0r8Ieho:bcOpcFrp8Mo"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=bcOpcFrp8Mo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=E0Ia4O0-Y68:5WyV0r8Ieho:dBgfwv8chhc"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=dBgfwv8chhc" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=E0Ia4O0-Y68:5WyV0r8Ieho:wfPLY4pQREI"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=wfPLY4pQREI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=E0Ia4O0-Y68:5WyV0r8Ieho:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/programmingLife?i=E0Ia4O0-Y68:5WyV0r8Ieho:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=E0Ia4O0-Y68:5WyV0r8Ieho:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/programmingLife?i=E0Ia4O0-Y68:5WyV0r8Ieho:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=E0Ia4O0-Y68:5WyV0r8Ieho:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=E0Ia4O0-Y68:5WyV0r8Ieho:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/programmingLife?i=E0Ia4O0-Y68:5WyV0r8Ieho:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/programmingLife/~4/E0Ia4O0-Y68" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://goneale.com/2010/09/03/the-null-value-cannot-be-assigned-to-a-member-with-type-system-int32-int64-decimal-integer-which-is-a-non-nullable-value-type/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://goneale.com/2010/09/03/the-null-value-cannot-be-assigned-to-a-member-with-type-system-int32-int64-decimal-integer-which-is-a-non-nullable-value-type/</feedburner:origLink></item>
		<item>
		<title>Automatically Infer MVC Validation Rules Based on LINQ to SQL Schema – Sweet!</title>
		<link>http://feedproxy.google.com/~r/programmingLife/~3/GqNqODDLpKg/</link>
		<comments>http://goneale.com/2010/08/27/automatically-infer-determine-mvc-validation-rules-based-on-linq-to-sql-database-schema/#comments</comments>
		<pubDate>Fri, 27 Aug 2010 04:26:29 +0000</pubDate>
		<dc:creator>Graham O'Neale</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[mvc]]></category>
		<category><![CDATA[validation]]></category>

		<guid isPermaLink="false">http://goneale.com/?p=1083</guid>
		<description><![CDATA[Hey gang, just a quickie today. I have been working recently on setting up server side and client side model validation &#8220;by the book&#8221; in ASP.NET MVC 2 complete with data annotations and the first question that hit me when I was declaring attributes on my LINQ to SQL partial classes to determine model validation [...]<br /><div><img src="http://goneale.com/wp-content/plugins/gd-star-rating/gfx.php?value=4.0" /></div><div>Rating: 4.0/<strong>5</strong> (7 votes cast)</div><br />]]></description>
			<content:encoded><![CDATA[<p>Hey gang, just a quickie today.  I have been working recently on setting up server side and client side model validation &#8220;by the book&#8221; in ASP.NET MVC 2 complete with data annotations and the first question that hit me when I was declaring attributes on my LINQ to SQL partial classes to determine model validation was <em>&#8220;hold on, surely there is a way to automagically have MVC infer my validation rules based on my database schema&#8230;&#8221;</em>, it seemed a little silly to me that I would have to re-declare validation rules on my model classes when I have a perfectly, well-decorated set of rules within SQL Server, not to mention within the LINQ to SQL .dbml designer file, against my database objects.  I also felt this was going against the <a href="http://en.wikipedia.org/wiki/Don't_repeat_yourself" target="_blank">DRY principle</a> which is &#8220;Don&#8217;t Repeat Yourself&#8221;. </p>
<p>So, what if you could avoid the monotonous, not to mention need for duplicated code and have your model automatically validation based on your LINQ to SQL schema? (which in turn was resolved from the database.) and what would you expect it to do? Well we know when we declare <code>VarChar</code>&#8216;s, <code>NVarChar</code>&#8216;s and other text types in the database we specify a length in a fashion of <code>VarChar(100)</code> right? Well, this information serves for what our <code>[StringLength]</code> attributes could be.  </p>
<p>The other, and probably more pressing check would be if we could automate our <code>[Required]</code> Attribute so we could determine if the field is required by the user for input.  Well, thankfully our LINQ to SQL schema reveals that too; Let&#8217;s see how this could come together&#8230;</p>
<p>Firstly, the main idea and code skeleton for this approach came from Carl over at &#8220;<a href="http://devcarl.posterous.com/aspnet-mvc-2-and-automatic-stringlength-valid" target="_blank">Carl On Development</a>&#8221; as he displayed quite an ingenious solution to the problem; His approach was to simply check the actual LINQ to SQL data type of the column of the class in question as a pre-validation check to address the field length problem, once having received the value stored in the brackets of <code>VarChar(100)</code> from the LINQ to SQL model, build a standard <code>StringLengthAttribute</code> class returning this newly sought value, the same as if you were to attribute your property as <code>[StringLength(100)]</code> yourself!</p>
<p>Unfortunately, his text editor appeared to have removed the &#8220;<code>&lt;</code>&#8221; and &#8220;<code>&gt;</code>&#8221; signs which made it difficult to determine what generic types he was calling upon in his function.  However, after a bit of playing, I worked out what was going on and also then thought this could be taken further, and introduced another test for &#8220;Is Null&#8221; testing.</p>
<p>Enjoy, and tell me what you think (Remember, as this inherits from the <code>AssociatedValidatorProvider</code> class in the <code>System.Web.Mvc</code> namespace, there is no need to decorate any of your model, or partial model classes with any attributes, meaning no more work is required &#8211; the thing will just work once it is registered!):</p>
<pre class="sh_csharp">
    public class SchemaValidatorProvider : AssociatedValidatorProvider
    {
        public static readonly string[] TextTypes = new string[] { "char", "varchar", "nchar", "nvarchar" };
        public static readonly string LengthRegex = "[" + string.Join("|", TextTypes) + "]\\((.*)\\)";

        public bool IsNotNull(ColumnAttribute column)
        {
            return !column.CanBeNull;
        }

        public int? ExtractLength(ColumnAttribute column)
        {
            var match = Regex.Match(column.DbType.ToLower(), LengthRegex, RegexOptions.Compiled);
            if (match == null || match.Groups.Count != 2) return null;
            return string.Compare(match.Groups[1].Value.ToLower(), "MAX", true) == 0 ? int.MaxValue : int.Parse(match.Groups[1].Value);
        }

        protected override IEnumerable<ModelValidator> GetValidators(ModelMetadata metadata, ControllerContext context, IEnumerable<Attribute> attributes)
        {
            var columnAttribute = attributes.OfType<ColumnAttribute>().FirstOrDefault();

            if (columnAttribute == null || columnAttribute.DbType == null)
                yield break;

            // Determine max length of column and yield the StringLength attribute if found.
            var maxLength = ExtractLength(columnAttribute);
            if (maxLength.HasValue)
                yield return new StringLengthAttributeAdapter(metadata, context, new StringLengthAttribute(maxLength.Value));

            // Determine if state of column is not null, if so yield Required attribute.
            if (IsNotNull(columnAttribute))
                yield return new RequiredAttributeAdapter(metadata, context, new RequiredAttribute());
        }
    }
</pre>
<p>Then over in your <strong>Global.asax.cs</strong>:</p>
<pre class="sh_csharp">
public class MvcApplication : System.Web.HttpApplication
    {
        ....
        protected void Application_Start()
        {
            ModelValidatorProviders.Providers.Add(new SchemaValidatorProvider());
            AreaRegistration.RegisterAllAreas();

            RegisterRoutes(RouteTable.Routes);
            ...
        }
    }
</pre>
<p>Look Ma! Nothing required on the model, it just works!</p>
<pre class="sh_csharp">
    [MetadataType(typeof(ShareMetadata))]
    public partial class User
    {
        private sealed class UserMetadata
        {
            // [Required] [StringLength(50)] - No longer required!
            [DisplayName("The name")]
            public string Name { get; set; }

            [Range(1, 100)] // Still might be required depending on your business requirements!
            [DisplayName("Cost Per Unit ($)")]
            public decimal UnitCost { get; set; }
        }
    }
</pre>
<p>What this means is you will not have to declare any &#8220;typical&#8221; validation rules on your model classes at all, required fields and field length will be completely handled for you automatically without the need for any Data Annotation Attributes!</p>
<p>Hopefully this will cover both validation cases I could think of initially using the in-built, and very extensible ASP.NET MVC validation providers.  I would be keen to know if this could be extended further for other checks.</p>
<br /><div><img src="http://goneale.com/wp-content/plugins/gd-star-rating/gfx.php?value=4.0" /></div><div>Rating: 4.0/<strong>5</strong> (7 votes cast)</div><br /><script type="text/javascript" src="/wp-content/plugins/shjs-syntax-hiliter/shjs/lang/sh_csharp.js"></script><script type="text/javascript" src="/wp-content/plugins/shjs-syntax-hiliter/shjs/lang/sh_csharp.js"></script><script type="text/javascript" src="/wp-content/plugins/shjs-syntax-hiliter/shjs/lang/sh_csharp.js"></script>
<p><a href="http://feedads.g.doubleclick.net/~a/JPvaJLSsqFKQb6C31k1TxNSyqYM/0/da"><img src="http://feedads.g.doubleclick.net/~a/JPvaJLSsqFKQb6C31k1TxNSyqYM/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/JPvaJLSsqFKQb6C31k1TxNSyqYM/1/da"><img src="http://feedads.g.doubleclick.net/~a/JPvaJLSsqFKQb6C31k1TxNSyqYM/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/programmingLife?a=GqNqODDLpKg:zfdLi0eTnKc:bcOpcFrp8Mo"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=bcOpcFrp8Mo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=GqNqODDLpKg:zfdLi0eTnKc:dBgfwv8chhc"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=dBgfwv8chhc" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=GqNqODDLpKg:zfdLi0eTnKc:wfPLY4pQREI"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=wfPLY4pQREI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=GqNqODDLpKg:zfdLi0eTnKc:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/programmingLife?i=GqNqODDLpKg:zfdLi0eTnKc:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=GqNqODDLpKg:zfdLi0eTnKc:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/programmingLife?i=GqNqODDLpKg:zfdLi0eTnKc:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=GqNqODDLpKg:zfdLi0eTnKc:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=GqNqODDLpKg:zfdLi0eTnKc:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/programmingLife?i=GqNqODDLpKg:zfdLi0eTnKc:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/programmingLife/~4/GqNqODDLpKg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://goneale.com/2010/08/27/automatically-infer-determine-mvc-validation-rules-based-on-linq-to-sql-database-schema/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		<feedburner:origLink>http://goneale.com/2010/08/27/automatically-infer-determine-mvc-validation-rules-based-on-linq-to-sql-database-schema/</feedburner:origLink></item>
		<item>
		<title>New VS Theme Site + Desert Nights 2008 Theme Updated – ReSharper + VS 2010 Support!</title>
		<link>http://feedproxy.google.com/~r/programmingLife/~3/kfN2bDgoh90/</link>
		<comments>http://goneale.com/2010/04/30/new-vs-theme-site-desert-nights-2008-theme-updated-resharper-vs-2010-support/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 11:38:40 +0000</pubDate>
		<dc:creator>Graham O'Neale</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[ux]]></category>
		<category><![CDATA[visual-studio]]></category>

		<guid isPermaLink="false">http://goneale.com/?p=1073</guid>
		<description><![CDATA[Just heard news of a sweet new website dedicated to Theming and Styling Visual Studio, called &#8220;StudioStyles&#8221; now that&#8217;s my kinda site.  Go check it out, tons of themes to choose from if your VS IDE is looking kinda drab or you&#8217;re sick of looking at that same old blue and white&#8230; I also just [...]<br /><div><img src="http://goneale.com/wp-content/plugins/gd-star-rating/gfx.php?value=3.6" /></div><div>Rating: 3.6/<strong>5</strong> (7 votes cast)</div><br />]]></description>
			<content:encoded><![CDATA[<p>Just heard news of a sweet new website dedicated to Theming and Styling Visual Studio, called &#8220;<a href="http://studiostyles.info/" target="_blank"><strong>StudioStyles</strong></a>&#8221; now that&#8217;s my kinda site.  Go check it out, tons of themes to choose from if your VS IDE is looking kinda drab or you&#8217;re sick of looking at that same old blue and white&#8230; <img src='http://goneale.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I also just updated my own Desert Nights theme variation, &#8220;Desert Nights Reloaded&#8221;; it&#8217;s now available for VS 2010 as well as VS 2008 with ReSharper 5 color coding support! Cool! So go get it, <a href="http://goneale.com/2009/02/08/my-variation-on-an-excellent-visual-studio-theme-desert-nights-2008/" target="_blank">officially from my blog</a> or go <a href="http://studiostyles.info/schemes/desert-nights-reloaded-2008-2010-" target="_blank">check it out on StudioStyles</a>! What are you waiting for !?! <img src='http://goneale.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Not much else happening in blogger-verse right now, but I will let you know if anything exciting happens&#8230;</p>
<br /><div><img src="http://goneale.com/wp-content/plugins/gd-star-rating/gfx.php?value=3.6" /></div><div>Rating: 3.6/<strong>5</strong> (7 votes cast)</div><br />
<p><a href="http://feedads.g.doubleclick.net/~a/kroXjEx143zzDddcCxOiMmvuqZw/0/da"><img src="http://feedads.g.doubleclick.net/~a/kroXjEx143zzDddcCxOiMmvuqZw/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/kroXjEx143zzDddcCxOiMmvuqZw/1/da"><img src="http://feedads.g.doubleclick.net/~a/kroXjEx143zzDddcCxOiMmvuqZw/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/programmingLife?a=kfN2bDgoh90:LXjU6rrW0yI:bcOpcFrp8Mo"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=bcOpcFrp8Mo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=kfN2bDgoh90:LXjU6rrW0yI:dBgfwv8chhc"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=dBgfwv8chhc" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=kfN2bDgoh90:LXjU6rrW0yI:wfPLY4pQREI"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=wfPLY4pQREI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=kfN2bDgoh90:LXjU6rrW0yI:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/programmingLife?i=kfN2bDgoh90:LXjU6rrW0yI:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=kfN2bDgoh90:LXjU6rrW0yI:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/programmingLife?i=kfN2bDgoh90:LXjU6rrW0yI:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=kfN2bDgoh90:LXjU6rrW0yI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=kfN2bDgoh90:LXjU6rrW0yI:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/programmingLife?i=kfN2bDgoh90:LXjU6rrW0yI:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/programmingLife/~4/kfN2bDgoh90" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://goneale.com/2010/04/30/new-vs-theme-site-desert-nights-2008-theme-updated-resharper-vs-2010-support/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://goneale.com/2010/04/30/new-vs-theme-site-desert-nights-2008-theme-updated-resharper-vs-2010-support/</feedburner:origLink></item>
		<item>
		<title>View Contents of HTTP WCF Message with Message Logging &amp; Service Trace Viewer</title>
		<link>http://feedproxy.google.com/~r/programmingLife/~3/SFFbaasQZBY/</link>
		<comments>http://goneale.com/2010/04/15/view-contents-of-http-wcf-message-with-wcf-message-logging-and-service-trace-viewer/#comments</comments>
		<pubDate>Thu, 15 Apr 2010 05:04:29 +0000</pubDate>
		<dc:creator>Graham O'Neale</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[wcf]]></category>

		<guid isPermaLink="false">http://goneale.com/?p=1060</guid>
		<description><![CDATA[If you would like to see the contents of your WCF message body packet as understood by the server, you can enable WCF message logging via a few adjustments in your WCF Service Web.config file and by then by using the Microsoft Service Trace Viewer application to view it. I found best results by creating [...]<br /><div><img src="http://goneale.com/wp-content/plugins/gd-star-rating/gfx.php?value=3.0" /></div><div>Rating: 3.0/<strong>5</strong> (1 vote cast)</div><br />]]></description>
			<content:encoded><![CDATA[<p>If you would like to see the contents of your WCF message body packet as understood by the server, you can enable WCF message logging via a few adjustments in your WCF Service Web.config file and by then by using the Microsoft Service Trace Viewer application to view it.</p>
<p>I found best results by creating a directory on your system drive, <strong>C:\logs\</strong> and storing your WCF messages in there. Everytime I specified the <strong>.svclog</strong> file to be in the same directory as where my app was, it wasn&#8217;t being created, but that could just be my local system permissions at play.</p>
<p><strong>So all you need to do to enable this is in the Web.config of your WCF Service (Host):</strong></p>
<pre class="sh_xml">  &lt;system.diagnostics&gt;
    &lt;sources&gt;
      &lt;source name="System.ServiceModel.MessageLogging" switchValue="Warning, ActivityTracing"&gt;
        &lt;listeners&gt;
          &lt;add type="System.Diagnostics.DefaultTraceListener" name="Default"&gt;
            &lt;filter type="" /&gt;
          &lt;/add&gt;
          &lt;add name="ServiceModelMessageLoggingListener"&gt;
            &lt;filter type="" /&gt;
          &lt;/add&gt;
        &lt;/listeners&gt;
      &lt;/source&gt;
    &lt;/sources&gt;
    &lt;sharedListeners&gt;
      &lt;add initializeData="c:\logs\web_messages.svclog" type="System.Diagnostics.XmlWriterTraceListener"
       name="ServiceModelMessageLoggingListener" traceOutputOptions="Timestamp"&gt;
        &lt;filter type="" /&gt;
      &lt;/add&gt;
    &lt;/sharedListeners&gt;
    &lt;trace autoflush="true" /&gt;
  &lt;/system.diagnostics&gt;

  &lt;system.serviceModel&gt;
    &lt;diagnostics&gt;
      &lt;messageLogging logEntireMessage="true" logMalformedMessages="true"
       logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="true"
       maxSizeOfMessageToLog="2147483647" /&gt;
    &lt;/diagnostics&gt;
</pre>
<p>Then run the client app and perform your WCF call, a new <strong>web_messages.svclog</strong> file should have been created which can now be opened and viewed.</p>
<p>The most interesting data will be under the <strong>XML</strong> and <strong>Messages</strong> tabs once you have clicked a message to view.</p>
<p>The default view is not bad, but by pressing <strong>ALT-3</strong> within the trace viewer application you will enter <strong>message view</strong> which I feel is better suited for messaging viewing (how profound).</p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow: hidden;">&lt;system.diagnostics&gt;<br />
&lt;sources&gt;<br />
&lt;source name=&#8221;System.ServiceModel.MessageLogging&#8221; switchValue=&#8221;Warning, ActivityTracing&#8221;&gt;<br />
&lt;listeners&gt;<br />
&lt;add type=&#8221;System.Diagnostics.DefaultTraceListener&#8221; name=&#8221;Default&#8221;&gt;<br />
&lt;filter type=&#8221;" /&gt;<br />
&lt;/add&gt;<br />
&lt;add name=&#8221;ServiceModelMessageLoggingListener&#8221;&gt;<br />
&lt;filter type=&#8221;" /&gt;<br />
&lt;/add&gt;<br />
&lt;/listeners&gt;<br />
&lt;/source&gt;<br />
&lt;/sources&gt;<br />
&lt;sharedListeners&gt;<br />
&lt;add initializeData=&#8221;c:\logs\web_messages.svclog&#8221; type=&#8221;System.Diagnostics.XmlWriterTraceListener, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&#8243;<br />
name=&#8221;ServiceModelMessageLoggingListener&#8221; traceOutputOptions=&#8221;Timestamp&#8221;&gt;<br />
&lt;filter type=&#8221;" /&gt;<br />
&lt;/add&gt;<br />
&lt;/sharedListeners&gt;<br />
&lt;trace autoflush=&#8221;true&#8221; /&gt;<br />
&lt;/system.diagnostics&gt;</p>
<p>&lt;system.serviceModel&gt;<br />
&lt;diagnostics&gt;<br />
&lt;messageLogging logEntireMessage=&#8221;true&#8221; logMalformedMessages=&#8221;true&#8221;<br />
logMessagesAtServiceLevel=&#8221;true&#8221; logMessagesAtTransportLevel=&#8221;true&#8221;<br />
maxSizeOfMessageToLog=&#8221;2147483647&#8243; /&gt;<br />
&lt;/diagnostics&gt;</p>
</div>
<br /><div><img src="http://goneale.com/wp-content/plugins/gd-star-rating/gfx.php?value=3.0" /></div><div>Rating: 3.0/<strong>5</strong> (1 vote cast)</div><br /><script type="text/javascript" src="/wp-content/plugins/shjs-syntax-hiliter/shjs/lang/sh_xml.js"></script>
<p><a href="http://feedads.g.doubleclick.net/~a/FdsTZxfaRuO7ifM6q9U3H5R0V8c/0/da"><img src="http://feedads.g.doubleclick.net/~a/FdsTZxfaRuO7ifM6q9U3H5R0V8c/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/FdsTZxfaRuO7ifM6q9U3H5R0V8c/1/da"><img src="http://feedads.g.doubleclick.net/~a/FdsTZxfaRuO7ifM6q9U3H5R0V8c/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/programmingLife?a=SFFbaasQZBY:FCS24BxTsoQ:bcOpcFrp8Mo"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=bcOpcFrp8Mo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=SFFbaasQZBY:FCS24BxTsoQ:dBgfwv8chhc"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=dBgfwv8chhc" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=SFFbaasQZBY:FCS24BxTsoQ:wfPLY4pQREI"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=wfPLY4pQREI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=SFFbaasQZBY:FCS24BxTsoQ:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/programmingLife?i=SFFbaasQZBY:FCS24BxTsoQ:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=SFFbaasQZBY:FCS24BxTsoQ:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/programmingLife?i=SFFbaasQZBY:FCS24BxTsoQ:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=SFFbaasQZBY:FCS24BxTsoQ:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=SFFbaasQZBY:FCS24BxTsoQ:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/programmingLife?i=SFFbaasQZBY:FCS24BxTsoQ:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/programmingLife/~4/SFFbaasQZBY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://goneale.com/2010/04/15/view-contents-of-http-wcf-message-with-wcf-message-logging-and-service-trace-viewer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://goneale.com/2010/04/15/view-contents-of-http-wcf-message-with-wcf-message-logging-and-service-trace-viewer/</feedburner:origLink></item>
		<item>
		<title>.Net Enum Values As Bit Flags</title>
		<link>http://feedproxy.google.com/~r/programmingLife/~3/5QUDewbS_xc/</link>
		<comments>http://goneale.com/2010/04/13/net-enum-values-as-bit-flags/#comments</comments>
		<pubDate>Tue, 13 Apr 2010 02:03:28 +0000</pubDate>
		<dc:creator>Graham O'Neale</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[C#]]></category>

		<guid isPermaLink="false">http://goneale.com/?p=1055</guid>
		<description><![CDATA[Every now and then I find myself needing to set multiple values to an enum object and test this later on, synonymously I usually find myself also scouring the net on the best practice on how to set, access and test these enum flags So today I thought I would post a definitive reference I [...]<br /><div><img src="http://goneale.com/wp-content/plugins/gd-star-rating/gfx.php?value=4.6" /></div><div>Rating: 4.6/<strong>5</strong> (11 votes cast)</div><br />]]></description>
			<content:encoded><![CDATA[<p>Every now and then I find myself needing to set multiple values to an enum object and test this later on, synonymously I usually find myself also scouring the net on the best practice on how to set, access and test these enum flags <img src='http://goneale.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>So today I thought I would post a definitive reference I found on the net..</p>
<p><strong>Specify flag-annotated enum:</strong></p>
<pre class="sh_csharp">[Flags]
public enum Column
{
None = 0,
Priority = 1 &lt;&lt; 0,
Customer = 1 &lt;&lt; 1,
Contract = 1 &lt;&lt; 2,
Description = 1 &lt;&lt; 3,
Tech = 1 &lt;&lt; 4,
Created = 1 &lt;&lt; 5,
Scheduled = 1 &lt;&lt; 6,
DueDate = 1 &lt;&lt; 7,
All = int.MaxValue
};
</pre>
<p><strong>The [Flags] attribute allows you to do this:</strong></p>
<pre class="sh_csharp">Column MyColumns = Column.Customer | Column.Contract;
</pre>
<p><strong>To check if contains flag:</strong></p>
<pre class="sh_csharp">if ((MyColumns &amp; Column.Customer) != 0)</pre>
<p><strong>To check if has flag or higher:</strong></p>
<pre class="sh_csharp">if (MyColumns >= Column.Customer)</pre>
<p><strong>To check if has flag or lower:</strong></p>
<pre class="sh_csharp">if (MyColumns <= Column.Customer)</pre>
<p><strong>To set a flag:</strong></p>
<pre class="sh_csharp">MyColumns |= Column.Tech;</pre>
<p><strong>To clear a flag:</strong></p>
<pre class="sh_csharp">MyColumns &amp;= ~Column.Tech;</pre>
<p><strong>To toggle (flip) a flag:</strong></p>
<pre class="sh_csharp">MyColumns ^= Column.Contract;</pre>
<p><strong>To clear all flags:</strong></p>
<pre class="sh_csharp">MyColumns = Column.None;</pre>
<p><strong>To set all flags:</strong></p>
<pre class="sh_csharp">MyColumns = Column.All;</pre>
<p><strong>To set all flags EXCEPT one or more:</strong></p>
<pre class="sh_csharp">MyColumns = Column.All ^ Column.Tech ^ Column.Status;</pre>
<p>Credit to <a href="http://weblogs.asp.net/wim/archive/2004/04/07/109095.aspx#6205719" target="_blank">Jeremy Lundy</a> for the comprehensive write up.</p>
<br /><div><img src="http://goneale.com/wp-content/plugins/gd-star-rating/gfx.php?value=4.6" /></div><div>Rating: 4.6/<strong>5</strong> (11 votes cast)</div><br /><script type="text/javascript" src="/wp-content/plugins/shjs-syntax-hiliter/shjs/lang/sh_csharp.js"></script><script type="text/javascript" src="/wp-content/plugins/shjs-syntax-hiliter/shjs/lang/sh_csharp.js"></script><script type="text/javascript" src="/wp-content/plugins/shjs-syntax-hiliter/shjs/lang/sh_csharp.js"></script><script type="text/javascript" src="/wp-content/plugins/shjs-syntax-hiliter/shjs/lang/sh_csharp.js"></script><script type="text/javascript" src="/wp-content/plugins/shjs-syntax-hiliter/shjs/lang/sh_csharp.js"></script><script type="text/javascript" src="/wp-content/plugins/shjs-syntax-hiliter/shjs/lang/sh_csharp.js"></script><script type="text/javascript" src="/wp-content/plugins/shjs-syntax-hiliter/shjs/lang/sh_csharp.js"></script><script type="text/javascript" src="/wp-content/plugins/shjs-syntax-hiliter/shjs/lang/sh_csharp.js"></script><script type="text/javascript" src="/wp-content/plugins/shjs-syntax-hiliter/shjs/lang/sh_csharp.js"></script><script type="text/javascript" src="/wp-content/plugins/shjs-syntax-hiliter/shjs/lang/sh_csharp.js"></script><script type="text/javascript" src="/wp-content/plugins/shjs-syntax-hiliter/shjs/lang/sh_csharp.js"></script>
<p><a href="http://feedads.g.doubleclick.net/~a/xm91JiRuU2csW-prAMm68fj8jw8/0/da"><img src="http://feedads.g.doubleclick.net/~a/xm91JiRuU2csW-prAMm68fj8jw8/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/xm91JiRuU2csW-prAMm68fj8jw8/1/da"><img src="http://feedads.g.doubleclick.net/~a/xm91JiRuU2csW-prAMm68fj8jw8/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/programmingLife?a=5QUDewbS_xc:44-bqWNFrTc:bcOpcFrp8Mo"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=bcOpcFrp8Mo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=5QUDewbS_xc:44-bqWNFrTc:dBgfwv8chhc"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=dBgfwv8chhc" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=5QUDewbS_xc:44-bqWNFrTc:wfPLY4pQREI"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=wfPLY4pQREI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=5QUDewbS_xc:44-bqWNFrTc:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/programmingLife?i=5QUDewbS_xc:44-bqWNFrTc:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=5QUDewbS_xc:44-bqWNFrTc:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/programmingLife?i=5QUDewbS_xc:44-bqWNFrTc:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=5QUDewbS_xc:44-bqWNFrTc:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=5QUDewbS_xc:44-bqWNFrTc:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/programmingLife?i=5QUDewbS_xc:44-bqWNFrTc:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/programmingLife/~4/5QUDewbS_xc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://goneale.com/2010/04/13/net-enum-values-as-bit-flags/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://goneale.com/2010/04/13/net-enum-values-as-bit-flags/</feedburner:origLink></item>
		<item>
		<title>Error connecting to WAS-enabled Net Tcp WCF Service Hosted Through IIS</title>
		<link>http://feedproxy.google.com/~r/programmingLife/~3/Yju-9UnHNQ0/</link>
		<comments>http://goneale.com/2010/04/01/error-connecting-to-was-enabled-net-tcp-wcf-service-hosted-through-iis/#comments</comments>
		<pubDate>Thu, 01 Apr 2010 00:42:19 +0000</pubDate>
		<dc:creator>Graham O'Neale</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[was]]></category>
		<category><![CDATA[wcf]]></category>

		<guid isPermaLink="false">http://goneale.com/?p=1049</guid>
		<description><![CDATA[As you may be aware, setting up a TCP-based full duplex WCF service can have some pretty awesome advantages over regular HTTP-based WCF services, such as the ability for a true client/server persistent connection and the ability for the server to call back to the client at any time and there are a few good [...]<br /><div><img src="http://goneale.com/wp-content/plugins/gd-star-rating/gfx.php?value=4.3" /></div><div>Rating: 4.3/<strong>5</strong> (12 votes cast)</div><br />]]></description>
			<content:encoded><![CDATA[<p>As you may be aware, setting up a TCP-based full duplex WCF service can have some pretty awesome advantages over regular HTTP-based WCF services, such as the ability for a true client/server persistent connection and the ability for the server to call back to the client at any time and there are a few good guides <a href="http://realfiction.net/go/113" target="_blank">here</a> and <a href="http://www.singingeels.com/Articles/Duplex_WCF_Services_Hosted_in_IIS_Using_NetTcp.aspx" target="_blank">here</a> on how to use them, but they have proven to have some real teething problems through setup.. So if you are attempting to host a WAS-enabled WCF service in IIS 7 using the <strong>net.tcp</strong> binding for duplex communication, and suffering from any connectivity or setup issues, particularly this one.. read on.</p>
<blockquote><p><strong>Could not connect to net.tcp://127.0.0.1/WCFService/Service1.svc.<br />
The connection attempt lasted for a time span of 00:00:01.0464395.<br />
TCP error code 10061: No connection could be made because the target machine actively refused it 127.0.0.1:808. </strong></p></blockquote>
<p>Check to ensure you have ticked off the below steps (as I went through them all!) when I encountered my issue connecting via a <strong>net.tcp://</strong> WCF service today:</p>
<ol>
<li>Ensure you are running <strong>IIS 7</strong>. IIS 6 and below <a href="http://msdn.microsoft.com/en-us/library/ms730158.aspx" target="_blank">does not support</a> Windows Process Activation Services (WAS) which boils down to no other binding support except for <strong>http </strong>(such as <strong>net.tcp</strong>).
<ol>
<li><strong>If you </strong><strong>receive an error</strong> installing this component in Windows Features (like I did, I pretty much got every error possible setting all this up), <a href="http://serverfault.com/questions/117927/problem-activating-windows-communication-foundation-non-http-activation-feature" target="_blank">it&#8217;s probably because you have the .NET Framework 4 installed</a> (hmz &#8211; RC in my case), you know you shouldn&#8217;t have this installed! How dare you! So to get the component installed, .NET Framework 4 must be uninstalled (and all traces of it), the non-http activation component then installed, and then .NET Framework 4 reinstalled.  I tried a way to avoid this, but no luck; I found it was the only way the darn thing it would install.</li>
<li>If everything has gone down the tubes even more, and now even your regular WCF services aren&#8217;t loading at all, and you&#8217;re encountering a MIME type error in the browser, it&#8217;s probably because attempting to install the windows feature borked it when it didn&#8217;t work first time and took down half of the WCF IIS configuration with it.  So see my <a href="http://goneale.com/2009/01/23/problem-running-wcf-service-in-iis-7/" target="_blank">previous post on how to fix a corrupt WCF IIS configuration</a>.</li>
</ol>
</li>
<li>Double check that you have your WCF Service hosted and activated in IIS correctly, <a href="http://www.singingeels.com/Articles/Duplex_WCF_Services_Hosted_in_IIS_Using_NetTcp.aspx" target="_blank">here is a great guide</a> provided by <em>SingingEels</em>.
<ol>
<li>This includes enabling &#8220;<strong>Windows Communication Foundation Non-HTTP Activation</strong>&#8221; via. <strong>Control Panel -&gt; Programs and Features -&gt; Turn Windows features on or off</strong> (under .NET Framework option).</li>
<li>Ensuring the &#8220;<strong>Net.Tcp Protocol</strong>&#8221; in your web site is enabled under: IIS (7.0) <strong>Admin -&gt;  Right Click on your Web Site -&gt; Manage Website -&gt; Advanced  Settings&#8230;</strong> (The &#8216;Enabled Protocols&#8217; field should be set as <strong>http,net.tcp</strong>.  Note that is a comma, then a dot.)</li>
<li>Then finally, <strong>Configure the &#8220;Site Bindings&#8221; in IIS</strong>. (Double check the port you are using, if it&#8217;s 808:* your service will be  accessible under <strong>net.tcp://localhost/MyServices/Service1.svc</strong>,  but if it&#8217;s 12345:* for example, or any other custom port, make sure you  address it as such in your Web/App.config for your client connection as  <strong>net.tcp://localhost:12345/MyServices/Service1.svc</strong>.</li>
</ol>
</li>
<li>Thirdly, try loading it now &#8211; if you are <em><strong>still</strong></em> receiving an error and you had to follow step 2.1 and had to activate the &#8220;<strong>Windows Communication Foundation Non-HTTP Activation</strong>&#8221; component and <em>HAVE NOT </em>rebooted since yet (lol), go into your local services and start the service entitled &#8220;<strong>Net.Tcp Listener Adapter</strong>&#8220;.  Fun and games.  That last point 3 was the one that really got me. As described it <em>&#8220;Receives activation requests over the net.tcp protocol and passes them to the Windows Process Activation Service.&#8221;</em>, Windows kindly forgot to turn that on after I had installed the component in Program Features.</li>
</ol>
<p>That should be it, I didn&#8217;t encounter any other problem, so I hope you don&#8217;t either. I had no firewall issues so it shouldn&#8217;t ever be that.</p>
<p>Good luck.</p>
<br /><div><img src="http://goneale.com/wp-content/plugins/gd-star-rating/gfx.php?value=4.3" /></div><div>Rating: 4.3/<strong>5</strong> (12 votes cast)</div><br />
<p><a href="http://feedads.g.doubleclick.net/~a/-4EiPQsEu9tM8zHHH0yV8jtHvyY/0/da"><img src="http://feedads.g.doubleclick.net/~a/-4EiPQsEu9tM8zHHH0yV8jtHvyY/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/-4EiPQsEu9tM8zHHH0yV8jtHvyY/1/da"><img src="http://feedads.g.doubleclick.net/~a/-4EiPQsEu9tM8zHHH0yV8jtHvyY/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/programmingLife?a=Yju-9UnHNQ0:_YF_XpvEbDM:bcOpcFrp8Mo"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=bcOpcFrp8Mo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=Yju-9UnHNQ0:_YF_XpvEbDM:dBgfwv8chhc"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=dBgfwv8chhc" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=Yju-9UnHNQ0:_YF_XpvEbDM:wfPLY4pQREI"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=wfPLY4pQREI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=Yju-9UnHNQ0:_YF_XpvEbDM:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/programmingLife?i=Yju-9UnHNQ0:_YF_XpvEbDM:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=Yju-9UnHNQ0:_YF_XpvEbDM:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/programmingLife?i=Yju-9UnHNQ0:_YF_XpvEbDM:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=Yju-9UnHNQ0:_YF_XpvEbDM:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=Yju-9UnHNQ0:_YF_XpvEbDM:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/programmingLife?i=Yju-9UnHNQ0:_YF_XpvEbDM:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/programmingLife/~4/Yju-9UnHNQ0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://goneale.com/2010/04/01/error-connecting-to-was-enabled-net-tcp-wcf-service-hosted-through-iis/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://goneale.com/2010/04/01/error-connecting-to-was-enabled-net-tcp-wcf-service-hosted-through-iis/</feedburner:origLink></item>
		<item>
		<title>.NET Framework/ASP.NET/C# Development Ultimate Learning Resources (Tutorials for Beginners to Advanced)</title>
		<link>http://feedproxy.google.com/~r/programmingLife/~3/I89Bm5Yq9p0/</link>
		<comments>http://goneale.com/2010/03/15/net-framework-asp-net-c-sharp-development-ultimate-learning-resources-tutorials-for-beginners-to-advanced/#comments</comments>
		<pubDate>Mon, 15 Mar 2010 05:35:54 +0000</pubDate>
		<dc:creator>Graham O'Neale</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[C#]]></category>

		<guid isPermaLink="false">http://goneale.com/?p=1040</guid>
		<description><![CDATA[Howdy everyone, firstly I would like to apologise for the lack of blog updates, I have seriously been flat out on development with our new online start-up, Fotochimp and have not had much time for blogging. However today I am taking a few minutes time-out to share some links with you I found for a [...]<br /><div><img src="http://goneale.com/wp-content/plugins/gd-star-rating/gfx.php?value=4.0" /></div><div>Rating: 4.0/<strong>5</strong> (11 votes cast)</div><br />]]></description>
			<content:encoded><![CDATA[<p><em><strong>Howdy everyone, firstly I would like to apologise for the lack of blog updates, I have seriously been flat out on development with our new online start-up, <a href="http://goneale.com/2009/10/31/our-new-startup-early-bird-registrations-have-now-opened-at-fotochimp-com-and-you-are-invited/" target="_blank">Fotochimp</a> and have not had much time for blogging.</strong></em></p>
<p>However today I am taking a few minutes time-out to share some links with you I found for a friend today who wished to start out learning ASP.NET web development.  I&#8217;m sharing them because I was absolutely astonished at how hard it was to find any decent, rich tutorial resources on the topic of ASP.NET and C# development.  Many of the top ranking links on Google I felt did not either start at the right place, were too complicated for beginners or was missing information, but more so I wanted to hand on a single reliable one-stop-shop link I could trust they could use to learn ASP.NET and C# development from beginner to advanced.</p>
<p>So after giving up on finding such a magical resource, I&#8217;ve compilation a set of tutorial links of text and video resources below which covers all aspects from beginner to advanced programming guides in respect to the the .NET Framework, ASP.NET and C#.  My goal was to try and deliver the &#8220;best bits&#8221; I could find on the net, and hopefully I have done that, but more importantly delivering these links in a logical numeric learning sequence which is the easiest and most effective route to follow.</p>
<p>You will see Ive started with a bit of background on the .NET Framework, which I feel is important in understanding how all the .NET framework components are glued together such as ASP.NET, and then we dive right into learning all about the C# programming language which I feel is a good precursor to ASP.NET (I recommend the C# programming language over VB.NET for .NET  development, as I personally find it a more concise, elegant language,  but it must be understood you can accomplish the same tasks in .NET with  VB.NET as you can with C#, it&#8217;s simply syntactical differences and a  true personal choice; see <a href="http://stackoverflow.com/questions/2434825/vb-net-vs-c-net" target="_blank">here</a> and <a href="http://www.harding.edu/fmccown/vbnet_csharp_comparison.html" target="_blank">here</a> for more info, however if you are impartial, and you need more  convincing, keep in mind about 90% of examples you will encounter on the  net are written in C# and not VB.NET).  The links on C# are hopefully some of the best free ones on the net and range from beginner through to advanced and there is an accompanied video series if you have the time.</p>
<p>Whilst I have put the C# programming language learning series before the ASP.NET web development framework, this order may not be everybody&#8217;s cup of tea.  You may wish to learn ASP.NET first and if you are feeling confident, learn C# along the way.  Understand though, it is ideal to learn the programming language of the framework you will be actually programming against, ASP.NET as it simply lessens the difficulty curve when you eventually get to the ASP.NET tutorials.  I personally am pretty impatient with these type of things and tend to through myself straight into the deep end and learn as I go <img src='http://goneale.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  (..usually learning hard lessons along the way!).  But this approach like for me, appeals to some when they can program in context against a real world framework like ASP.NET rather than focusing on the behemoth solely that can be the C# programming language.</p>
<p>Then last but not least, we concentrate on the ASP.NET Framework as stated, particularly; ASP.NET Web Forms (you may have heard some buzz around ASP.NET MVC, which is a very sweet framework addition, it simply is an alternative way of designing dynamic websites, but in my personal opinion, not something worth venturing down if you are a novice programmer or haven&#8217;t touched ASP.NET or OO-based languages before.  However if you&#8217;re daring, are an intermediate ASP.NET developer or have previous object-orientated or C# knowledge, check it out!) there is a great set of background info, ordered and unordered text and video based tutorial resources which contains just about everything you would need to know to get started and make a big impact in the world of ASP.NET.</p>
<p>So here goes.. <em><strong>RCMD </strong></em>is recommended, and highly advisable reading, <em>OPT </em>is optional reading,  if you have a lot of time and you want the richest understanding possible. I have numbered these in desired reading order, but it is up to you!</p>
<p>Firstly, resources on the <strong>.NET Framework</strong>:</p>
<ol>
<li><em><strong>RCMD: </strong></em><a href="http://www.codeproject.com/KB/dotnet/netbasics.aspx" target="_blank">http://www.codeproject.com/KB/dotnet/netbasics.aspx</a> (Seems to be the best overview, good content, good diagrams, you can always rely on CodeProject for great stuff)</li>
<li><em><strong>RCMD:</strong></em> <a href="http://www.dotnet-guide.com/" target="_blank">http://www.dotnet-guide.com/</a> (Good secondary overview, the first page seems useful, simplistic terminology)</li>
<li><em><strong>RCMD:</strong></em> <a href="http://www.microsoft.com/net/overview.aspx" target="_blank">http://www.microsoft.com/net/overview.aspx</a> (The official Microsoft .NET site, gives you basic knowledge, good to just have a glaze over)</li>
<li><em>OPT:</em> <a href="http://devhood.com/training_modules/dist-a/intro.net/intro.net.htm" target="_blank">http://devhood.com/training_modules/dist-a/intro.net/intro.net.htm</a> (a more detailed, but harder read, uses terms which may require previous programming experience)</li>
<li><em>OPT:</em> <a href="http://msdn.microsoft.com/en-us/netframework/default.aspx" target="_blank">http://msdn.microsoft.com/en-us/netframework/default.aspx</a> (and the official MSDN Microsoft .NET Framework site)</li>
<li><em>OPT: </em><a href="http://en.wikipedia.org/wiki/.NET_Framework" target="_blank">http://en.wikipedia.org/wiki/.NET_Framework</a> (Wikipedia article giving you more detailed background and a more complex  explanation and history)</li>
</ol>
<p>Secondly, resources on <strong>C#.NET (C Sharp)</strong>. (Be aware you can  choose C#.NET or VB.NET as the official language you wish to program  ASP.NET in, I personally recommend C#):</p>
<ol>
<li><em><strong>RCMD (TEXT SERIES): </strong></em><a href="http://www.csharp-station.com/Tutorial.aspx" target="_blank">http://www.csharp-station.com/Tutorial.aspx</a> (Comprehensive, but not a totally scary C# tutorial, follow this and  you&#8217;ll be a whiz in no time!)</li>
<li><em><strong>RCMD (ORDERED, VIDEO SERIES): </strong></em><a href="http://idealprogrammer.com/videos/c-soup-to-nuts-22-free-one-hour-videos-from-microsoft-expert/" target="_blank">http://idealprogrammer.com/videos/c-soup-to-nuts-22-free-one-hour-videos-from-microsoft-expert/</a> (Another video from the &#8220;Soup to Nuts&#8221; set, awesome video series, again  need IE as it uses MS Live Meeting.)</li>
<li><em>OPT (TEXT SERIES):</em> <a href="http://www.functionx.com/csharp/" target="_blank">http://www.functionx.com/csharp/</a> (lessons on the left, looks a little more hardcore but again more  detailed).</li>
</ol>
<p>Thirdly, our beloved <strong>ASP.NET</strong>, the <em>subset </em>web development technology of the .NET Framework:</p>
<ol>
<li><em><strong>RCMD: </strong></em><a href="http://www.javascriptkit.com/howto/aspnet.shtml" target="_blank">http://www.javascriptkit.com/howto/aspnet.shtml</a> (Good explanation, hand-in-hand with wikipedia article)</li>
<li><em><strong>RCMD: </strong></em><a href="http://www.startvbdotnet.com/aspsite/asp/" target="_blank">http://www.startvbdotnet.com/aspsite/asp/</a> (Again another good explanation, good bullet points, again hand-in-hand with wiki article helps)</li>
<li><em><strong>RCMD: </strong></em><a href="http://en.wikipedia.org/wiki/ASP.NET" target="_blank">http://en.wikipedia.org/wiki/ASP.NET</a> (I really like this article, very comprehensive, but not as daunting as the .NET Framework Wiki article, so good reading for all beginners)</li>
<li><em><strong>RCMD (VIDEO): </strong></em><a href="http://www.asp.net/learn/videos/video-9638.aspx" target="_blank">http://www.asp.net/learn/videos/video-9638.aspx</a> (&#8220;What is ASP.NET&#8221; short 5 minute video on official ASP.NET site)</li>
<li><em><strong>RCMD (VIDEO): </strong></em><a href="http://www.asp.net/learn/videos/video-9640.aspx" target="_blank">http://www.asp.net/learn/videos/video-9640.aspx</a> (&#8220;Your 1st ASP.NET Application&#8221; 11 minute video)</li>
<li><em><strong>RCMD (TEXT SERIES): </strong></em><a href="http://www.w3schools.com/aspnet/aspnet_intro.asp" target="_blank">http://www.w3schools.com/aspnet/aspnet_intro.asp</a> (ASP.NET tutorial, very simple, but that&#8217;s always nice for starting out and a nice re-cap on the previous video)</li>
<li><em><strong>RCMD (NON-ORDERED, VIDEO SERIES): </strong></em><a href="http://www.w3schools.com/aspnet/aspnet_intro.asp" target="_blank">http://www.asp.net/web-forms/fundamentals/</a> (A huge collection of official learning videos, great set, includes all ASP.NET fundamentals.)</li>
<li><em><strong>RCMD (NON-ORDERED, VIDEO SERIES): </strong></em><a href="http://www.asp.net/web-forms/" target="_blank">http://www.asp.net/web-forms/</a> (Again,  huge collection of official learning videos, but you will have to know  what you are looking for, or view each one by one.)</li>
<li><em><strong>RCMD (ORDERED, VIDEO SERIES): </strong></em><a href="http://idealprogrammer.com/videos/learn-aspnet-from-microsoft-expert-26-hours-of-free-videos" target="_blank">http://idealprogrammer.com/videos/learn-aspnet-from-microsoft-expert-26-hours-of-free-videos</a> ( long, but awesomely comprehensive videos, might require IE as they  use Live Meeting <img src='http://goneale.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> , look really good if you have the time to follow a  video series, I just stumbled across it from some other recommended  links)</li>
<li><em><strong>RCMD (TEXT SERIES)</strong></em>: <a href="http://quickstarts.asp.net/QuickStartv20/aspnet/Default.aspx" target="_blank">http://quickstarts.asp.net/QuickStartv20/aspnet/Default.aspx</a> (Use this as a final recap, the good thing about this resource is once you have learnt the basics, it has a neat &#8220;ASP.NET Control Reference&#8221; section down the bottom, so click on the control you wanna learn more about, say &#8220;TextBox&#8221; under &#8220;standard controls&#8221; and it shows you coding examples on how to use them!)</li>
<li>RCMD: <a href="http://www.asp.net/" target="_blank">http://www.asp.net/</a> (Official Microsoft ASP.NET site, good to have bookmarked as reference)</li>
<li><em><strong>RCMD (NON-ORDERED, VIDEO SERIES): </strong></em><a href="http://www.asp.net/web-forms/data/" target="_blank">http://www.asp.net/web-forms/data/</a> (When you have learnt the basics and you are ready to access data (such as from a database), check out this series using Microsoft .NET&#8217;s new technology, LINQ to SQL down the bottom labeled &#8220;How do I with LINQ&#8221;!)</li>
<li><em>OPT: </em><a href="http://www.asp.net/web-forms/data/" target="_blank">http://aspalliance.com/144</a> (Still haven&#8217;t got enough? Another comprehensive ASP.NET tutorial..)</li>
<li><em>OPT:</em> <a href="http://www.programmingtutorials.com/aspnet.aspx" target="_blank">http://www.programmingtutorials.com/aspnet.aspx</a> (Finally, a whole stack more of external links&#8230;)</li>
</ol>
<p>And finally, a whole bunch of books on all three topics&#8230;</p>
<ul>
<li><a href="http://www.asp.net/community/books/" target="_blank">http://www.asp.net/community/books/</a></li>
</ul>
<p>Now this is the link you want to give out <img src='http://goneale.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Hope it helps, and feel free to share this link around with others you might know wanting to learn about C# and ASP.NET Development!</p>
<p>Graham</p>
<br /><div><img src="http://goneale.com/wp-content/plugins/gd-star-rating/gfx.php?value=4.0" /></div><div>Rating: 4.0/<strong>5</strong> (11 votes cast)</div><br />
<p><a href="http://feedads.g.doubleclick.net/~a/CYUvwt5JOrAlGDlSyyjAX-a1kWo/0/da"><img src="http://feedads.g.doubleclick.net/~a/CYUvwt5JOrAlGDlSyyjAX-a1kWo/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/CYUvwt5JOrAlGDlSyyjAX-a1kWo/1/da"><img src="http://feedads.g.doubleclick.net/~a/CYUvwt5JOrAlGDlSyyjAX-a1kWo/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/programmingLife?a=I89Bm5Yq9p0:PXXOgK91d3g:bcOpcFrp8Mo"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=bcOpcFrp8Mo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=I89Bm5Yq9p0:PXXOgK91d3g:dBgfwv8chhc"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=dBgfwv8chhc" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=I89Bm5Yq9p0:PXXOgK91d3g:wfPLY4pQREI"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=wfPLY4pQREI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=I89Bm5Yq9p0:PXXOgK91d3g:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/programmingLife?i=I89Bm5Yq9p0:PXXOgK91d3g:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=I89Bm5Yq9p0:PXXOgK91d3g:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/programmingLife?i=I89Bm5Yq9p0:PXXOgK91d3g:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=I89Bm5Yq9p0:PXXOgK91d3g:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=I89Bm5Yq9p0:PXXOgK91d3g:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/programmingLife?i=I89Bm5Yq9p0:PXXOgK91d3g:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/programmingLife/~4/I89Bm5Yq9p0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://goneale.com/2010/03/15/net-framework-asp-net-c-sharp-development-ultimate-learning-resources-tutorials-for-beginners-to-advanced/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://goneale.com/2010/03/15/net-framework-asp-net-c-sharp-development-ultimate-learning-resources-tutorials-for-beginners-to-advanced/</feedburner:origLink></item>
	</channel>
</rss>

