<?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>Fri, 30 Apr 2010 13:40:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</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>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=4.0" /></div><div>Rating: 4.0/<strong>5</strong> (4 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=4.0" /></div><div>Rating: 4.0/<strong>5</strong> (4 votes cast)</div><br />
<p><a href="http://feedads.g.doubleclick.net/~a/Oa8JgS_LIBPw9Ecd1b0pMZx_CU4/0/da"><img src="http://feedads.g.doubleclick.net/~a/Oa8JgS_LIBPw9Ecd1b0pMZx_CU4/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/Oa8JgS_LIBPw9Ecd1b0pMZx_CU4/1/da"><img src="http://feedads.g.doubleclick.net/~a/Oa8JgS_LIBPw9Ecd1b0pMZx_CU4/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>0</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.2" /></div><div>Rating: 4.2/<strong>5</strong> (5 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.2" /></div><div>Rating: 4.2/<strong>5</strong> (5 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/lJkLoe51N2j9jQ3Ky-Y3O0b_uvE/0/da"><img src="http://feedads.g.doubleclick.net/~a/lJkLoe51N2j9jQ3Ky-Y3O0b_uvE/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/lJkLoe51N2j9jQ3Ky-Y3O0b_uvE/1/da"><img src="http://feedads.g.doubleclick.net/~a/lJkLoe51N2j9jQ3Ky-Y3O0b_uvE/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=3.0" /></div><div>Rating: 3.0/<strong>5</strong> (2 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=3.0" /></div><div>Rating: 3.0/<strong>5</strong> (2 votes cast)</div><br />
<p><a href="http://feedads.g.doubleclick.net/~a/o-pu-AvzLPjTBD6X7k8SLVGJ3MA/0/da"><img src="http://feedads.g.doubleclick.net/~a/o-pu-AvzLPjTBD6X7k8SLVGJ3MA/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/o-pu-AvzLPjTBD6X7k8SLVGJ3MA/1/da"><img src="http://feedads.g.doubleclick.net/~a/o-pu-AvzLPjTBD6X7k8SLVGJ3MA/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>0</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=3.5" /></div><div>Rating: 3.5/<strong>5</strong> (4 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=3.5" /></div><div>Rating: 3.5/<strong>5</strong> (4 votes cast)</div><br />
<p><a href="http://feedads.g.doubleclick.net/~a/4booEHxy7UP9GaLPjNbA3RbIaX8/0/da"><img src="http://feedads.g.doubleclick.net/~a/4booEHxy7UP9GaLPjNbA3RbIaX8/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/4booEHxy7UP9GaLPjNbA3RbIaX8/1/da"><img src="http://feedads.g.doubleclick.net/~a/4booEHxy7UP9GaLPjNbA3RbIaX8/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>
		<item>
		<title>IntelliTrace debugging is available only for x86 applications</title>
		<link>http://feedproxy.google.com/~r/programmingLife/~3/rQ7xH3f34II/</link>
		<comments>http://goneale.com/2010/02/15/intellitrace-debugging-is-available-only-for-x86-applications/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 05:13:43 +0000</pubDate>
		<dc:creator>Graham O'Neale</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[intellitrace]]></category>
		<category><![CDATA[visual-studio]]></category>

		<guid isPermaLink="false">http://goneale.com/?p=1034</guid>
		<description><![CDATA[It appears the new IntelliTrace feature of Visual Studio 2010 is only available for x86 applications?! Don&#8217;t ask me, there is an article with more info, but Habib Heydarian shed some light on the workaround here. It appears to get around this problem, you must set your project to a configuration platform of x86, enabling [...]<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>It appears the new <a href="http://msdn.microsoft.com/en-us/library/dd264915%28VS.100%29.aspx" target="_blank">IntelliTrace</a> feature of Visual Studio 2010 is only available for x86 applications?!</p>
<p><a href="http://goneale.com/wp-content/uploads/2010/02/intellitrace-not-available.png"><img class="alignnone size-full wp-image-1035" title="IntelliTrace Not Available - Visual Studio 2010" src="http://goneale.com/wp-content/uploads/2010/02/intellitrace-not-available.png" alt="" width="273" height="114" /></a></p>
<p>Don&#8217;t ask me, there is an article with more info, but Habib Heydarian shed some light on the <a href="http://blogs.msdn.com/habibh/archive/2009/10/22/intellitrace-is-not-available-why.aspx" target="_blank">workaround here</a>.</p>
<p>It appears to get around this problem, you must set your project to a configuration platform of <strong>x86</strong>, enabling it to run as a 32-bit process.</p>
<p>You can do this by dropping down the <strong>&#8220;Solution Platforms&#8221;</strong> combo usually stating <strong>&#8220;Any CPU&#8221;</strong> next to your <strong>&#8220;Run&#8221;</strong> option on the menu bar and selecting <strong>&#8220;Configuration Manager&#8221;</strong>.  From there it&#8217;s just a matter of selecting <strong>&#8220;Platform&#8221;</strong> -&gt; <strong>&#8220;New&#8221;</strong> and adding a new platform type <strong>&#8220;x86&#8243;</strong> and you&#8217;re right to go.  IntelliTrace should now work.</p>
<p>Don&#8217;t forget to set this back to <strong>&#8220;Any CPU&#8221;</strong> when you are done to target both x64 (64-bit) and x86 (32-bit) platforms.<strong><br />
</strong></p>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 6px; width: 1px; height: 1px;">http://blogs.msdn.com/habibh/archive/2009/10/22/intellitrace-is-not-available-why.aspx</div>
<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/BJwlM4ifL1VmFsXc6q4QVroM8Bg/0/da"><img src="http://feedads.g.doubleclick.net/~a/BJwlM4ifL1VmFsXc6q4QVroM8Bg/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/BJwlM4ifL1VmFsXc6q4QVroM8Bg/1/da"><img src="http://feedads.g.doubleclick.net/~a/BJwlM4ifL1VmFsXc6q4QVroM8Bg/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/programmingLife?a=rQ7xH3f34II:W6NEs_WuIoQ:bcOpcFrp8Mo"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=bcOpcFrp8Mo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=rQ7xH3f34II:W6NEs_WuIoQ:dBgfwv8chhc"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=dBgfwv8chhc" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=rQ7xH3f34II:W6NEs_WuIoQ:wfPLY4pQREI"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=wfPLY4pQREI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=rQ7xH3f34II:W6NEs_WuIoQ:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/programmingLife?i=rQ7xH3f34II:W6NEs_WuIoQ:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=rQ7xH3f34II:W6NEs_WuIoQ:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/programmingLife?i=rQ7xH3f34II:W6NEs_WuIoQ:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=rQ7xH3f34II:W6NEs_WuIoQ:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=rQ7xH3f34II:W6NEs_WuIoQ:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/programmingLife?i=rQ7xH3f34II:W6NEs_WuIoQ:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/programmingLife/~4/rQ7xH3f34II" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://goneale.com/2010/02/15/intellitrace-debugging-is-available-only-for-x86-applications/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://goneale.com/2010/02/15/intellitrace-debugging-is-available-only-for-x86-applications/</feedburner:origLink></item>
		<item>
		<title>Disable/turn off ‘Attach Security Warning’ in Visual Studio 2008/2005</title>
		<link>http://feedproxy.google.com/~r/programmingLife/~3/YAUx7vsa9DI/</link>
		<comments>http://goneale.com/2010/01/20/disable-turn-off-vs-attach-security-warning-in-visual-studio-2008-2005-iis/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 06:28:48 +0000</pubDate>
		<dc:creator>Graham O'Neale</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[debugging]]></category>
		<category><![CDATA[iis]]></category>
		<category><![CDATA[visual-studio]]></category>

		<guid isPermaLink="false">http://goneale.com/?p=1027</guid>
		<description><![CDATA[If you are fed up with continually having to press &#8220;Attach&#8221; to attach to the IIS w3wp.exe to enable debugging in Visual Studio for IIS as seen in this screenshot: Then never fear, this is a way around it. All you need to do is adjust the registry setting (via regedit.exe) as Visual Studio wasn&#8217;t [...]<br /><div><img src="http://goneale.com/wp-content/plugins/gd-star-rating/gfx.php?value=4.5" /></div><div>Rating: 4.5/<strong>5</strong> (2 votes cast)</div><br />]]></description>
			<content:encoded><![CDATA[<p>If you are fed up with continually having to press &#8220;<strong>Attach</strong>&#8221; to attach to the IIS w3wp.exe to enable debugging in Visual Studio for IIS as seen in this screenshot:</p>
<p><a href="http://goneale.com/wp-content/uploads/2010/01/vs-attach-security-warning.png"><img class="alignnone size-full wp-image-1028" title="vs-attach-security-warning" src="http://goneale.com/wp-content/uploads/2010/01/vs-attach-security-warning.png" alt="Visual Studio Debugging Attach Security Warning for IIS" width="427" height="242" /></a></p>
<p>Then never fear, this is a way around it.</p>
<p>All you need to do is adjust the registry setting (via regedit.exe) as Visual Studio wasn&#8217;t kind enough to supply as a checkbox for us on the dialog:</p>
<blockquote><p><strong>HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0\Debugger | DisableAttachSecurityWarning = 1</strong></p></blockquote>
<p>The same setting can be found for Visual Studio 2005 under:</p>
<blockquote><p><strong>HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\Debugger</strong><strong> | DisableAttachSecurityWarning = 1</strong></p></blockquote>
<p><strong>*** Make sure you make this change <span style="text-decoration: underline;"><em>after</em></span> you have closed Visual Studio, or it may not save properly! ***</strong></p>
<p>Hope that has helped ya.</p>
<p><em>PS. I&#8217;ve been swamped will full time work lately, but I have a bunch of drafts I want to inevitably publish on this blog, so stay tuned.</em></p>
<br /><div><img src="http://goneale.com/wp-content/plugins/gd-star-rating/gfx.php?value=4.5" /></div><div>Rating: 4.5/<strong>5</strong> (2 votes cast)</div><br />
<p><a href="http://feedads.g.doubleclick.net/~a/ZolKD5knqnFg2RnNpq8OKUzVxRI/0/da"><img src="http://feedads.g.doubleclick.net/~a/ZolKD5knqnFg2RnNpq8OKUzVxRI/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/ZolKD5knqnFg2RnNpq8OKUzVxRI/1/da"><img src="http://feedads.g.doubleclick.net/~a/ZolKD5knqnFg2RnNpq8OKUzVxRI/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/programmingLife?a=YAUx7vsa9DI:J3iDbXeMIo4:bcOpcFrp8Mo"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=bcOpcFrp8Mo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=YAUx7vsa9DI:J3iDbXeMIo4:dBgfwv8chhc"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=dBgfwv8chhc" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=YAUx7vsa9DI:J3iDbXeMIo4:wfPLY4pQREI"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=wfPLY4pQREI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=YAUx7vsa9DI:J3iDbXeMIo4:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/programmingLife?i=YAUx7vsa9DI:J3iDbXeMIo4:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=YAUx7vsa9DI:J3iDbXeMIo4:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/programmingLife?i=YAUx7vsa9DI:J3iDbXeMIo4:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=YAUx7vsa9DI:J3iDbXeMIo4:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=YAUx7vsa9DI:J3iDbXeMIo4:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/programmingLife?i=YAUx7vsa9DI:J3iDbXeMIo4:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/programmingLife/~4/YAUx7vsa9DI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://goneale.com/2010/01/20/disable-turn-off-vs-attach-security-warning-in-visual-studio-2008-2005-iis/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://goneale.com/2010/01/20/disable-turn-off-vs-attach-security-warning-in-visual-studio-2008-2005-iis/</feedburner:origLink></item>
		<item>
		<title>Twitter Weekly Updates for 2009-11-22</title>
		<link>http://feedproxy.google.com/~r/programmingLife/~3/pMSA9kptTTA/</link>
		<comments>http://goneale.com/2009/11/22/twitter-weekly-updates-for-2009-11-22/#comments</comments>
		<pubDate>Sun, 22 Nov 2009 05:00:00 +0000</pubDate>
		<dc:creator>Graham O'Neale</dc:creator>
				<category><![CDATA[Tweets]]></category>

		<guid isPermaLink="false">http://goneale.com/2009/11/22/twitter-weekly-updates-for-2009-11-22/</guid>
		<description><![CDATA[My day is made. Happy jQuery developer now. http://bit.ly/qlHLq #jQuery #datatables # Now I&#39;ve seen everything. Is everyone bored on the Internets? RT @shanselman: Madness.Truly.Who cares? RT @lachlanhardy: http://bit.ly/TIOaz # Tooo much work today and no play # MY FACE MY FACE ᵒh god no NO NOO̼O​O NΘ stop the an​*̶͑̾̾​̅ͫ͏̙̤g͇̫͛͆̾ͫ̑͆l͖͉̗̩̳̟̍ͫͥͨe̠̅s ͎a̧͈͖r̽̾̈́͒͑e n​ot rè̑ͧ̌aͨl̘̝̙̃ͤ͂̾̆ ~! [...]<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[<ul class="aktt_tweet_digest">
<li>My day is made. Happy jQuery developer now. <a href="http://bit.ly/qlHLq" rel="nofollow">http://bit.ly/qlHLq</a> #<a href="http://search.twitter.com/search?q=%23jQuery" class="aktt_hashtag">jQuery</a> #<a href="http://search.twitter.com/search?q=%23datatables" class="aktt_hashtag">datatables</a> <a href="http://twitter.com/goneale/statuses/5758613767" class="aktt_tweet_time">#</a></li>
<li>Now I&#39;ve seen everything. Is everyone bored on the Internets? RT @shanselman: Madness.Truly.Who cares? RT @lachlanhardy: <a href="http://bit.ly/TIOaz" rel="nofollow">http://bit.ly/TIOaz</a> <a href="http://twitter.com/goneale/statuses/5761950632" class="aktt_tweet_time">#</a></li>
<li>Tooo much work today and no play <img src='http://goneale.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  <a href="http://twitter.com/goneale/statuses/5762300765" class="aktt_tweet_time">#</a></li>
<li>MY FACE MY FACE ᵒh god no NO NOO̼O​O NΘ stop the an​*̶͑̾̾​̅ͫ͏̙̤g͇̫͛͆̾ͫ̑͆l͖͉̗̩̳̟̍ͫͥͨe̠̅s ͎a̧͈͖r̽̾̈́͒͑e n​ot rè̑ͧ̌aͨl̘̝̙̃ͤ͂̾̆ ~! <a href="http://twitter.com/goneale/statuses/5779019629" class="aktt_tweet_time">#</a></li>
<li><a href="http://bit.ly/4c4n5f" rel="nofollow">http://bit.ly/4c4n5f</a> <a href="http://twitter.com/goneale/statuses/5779039742" class="aktt_tweet_time">#</a></li>
<li>One day I&#39;ll make it to #<a href="http://search.twitter.com/search?q=%23PDC" class="aktt_hashtag">PDC</a>&#8230;&#8230;. <a href="http://twitter.com/goneale/statuses/5779261394" class="aktt_tweet_time">#</a></li>
<li>lol RT @PDC09: Visit the Visual Studio booth in the Big Room for your ULTIMATE Developer henna tattoo!  Mon &amp; Tues, 2-5pm #<a href="http://search.twitter.com/search?q=%23visualstudio" class="aktt_hashtag">visualstudio</a> <a href="http://twitter.com/goneale/statuses/5779772129" class="aktt_tweet_time">#</a></li>
<li>Never gets old&#8230; <img src='http://goneale.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  <a href="http://bit.ly/QHZJB" rel="nofollow">http://bit.ly/QHZJB</a> #<a href="http://search.twitter.com/search?q=%23StarWarsKid" class="aktt_hashtag">StarWarsKid</a> <a href="http://twitter.com/goneale/statuses/5780040003" class="aktt_tweet_time">#</a></li>
<li>Waiting for #<a href="http://search.twitter.com/search?q=%23Steam" class="aktt_hashtag">Steam</a> to login on my shaped #<a href="http://search.twitter.com/search?q=%23TPG" class="aktt_hashtag">TPG</a> account, this could take a while&#8230;.. <a href="http://twitter.com/goneale/statuses/5780855023" class="aktt_tweet_time">#</a></li>
<li>A help listener web server to boot up #<a href="http://search.twitter.com/search?q=%23VS2010" class="aktt_hashtag">VS2010</a> F1 Help? I&#39;m scared. <a href="http://twitter.com/goneale/statuses/5809613039" class="aktt_tweet_time">#</a></li>
<li>A site any budding entrepreneurs should add to their list. <a href="http://bit.ly/1d4Wyf" rel="nofollow">http://bit.ly/1d4Wyf</a> <a href="http://twitter.com/goneale/statuses/5810510168" class="aktt_tweet_time">#</a></li>
<li>Yaaaaaaah #<a href="http://search.twitter.com/search?q=%23JBL" class="aktt_hashtag">JBL</a> LSR 2328P&#39;s have arrived!! .. unboxing .. !!! <a href="http://twitter.com/goneale/statuses/5816289830" class="aktt_tweet_time">#</a></li>
<li>What&#39;s everyone using for backing up/ripping #<a href="http://search.twitter.com/search?q=%23DVD" class="aktt_hashtag">DVD</a>&#39;s now a days? #<a href="http://search.twitter.com/search?q=%23GordianKnot" class="aktt_hashtag">GordianKnot</a>? Something else? .. Such a time consuming mission! <a href="http://twitter.com/goneale/statuses/5844922383" class="aktt_tweet_time">#</a></li>
<li>Last day of shaped Internet rubbish! <a href="http://twitter.com/goneale/statuses/5845955344" class="aktt_tweet_time">#</a></li>
<li>Go away sore throats! Leave @<a href="http://twitter.com/goneale" class="aktt_username">goneale</a> and @<a href="http://twitter.com/koneale" class="aktt_username">koneale</a> alone! <a href="http://twitter.com/goneale/statuses/5871045350" class="aktt_tweet_time">#</a></li>
<li><a href="http://www.ultimatetypingchampionship.com/" rel="nofollow">http://www.ultimatetypingchampionship.com/</a> But it&#39;s U.S. Only! <img src='http://goneale.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  <a href="http://twitter.com/goneale/statuses/5876412738" class="aktt_tweet_time">#</a></li>
</ul>
<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/EhiE0rFEdVj7lUlbQjYR81L3K3U/0/da"><img src="http://feedads.g.doubleclick.net/~a/EhiE0rFEdVj7lUlbQjYR81L3K3U/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/EhiE0rFEdVj7lUlbQjYR81L3K3U/1/da"><img src="http://feedads.g.doubleclick.net/~a/EhiE0rFEdVj7lUlbQjYR81L3K3U/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/programmingLife?a=pMSA9kptTTA:-O_D6R0Nl2k:bcOpcFrp8Mo"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=bcOpcFrp8Mo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=pMSA9kptTTA:-O_D6R0Nl2k:dBgfwv8chhc"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=dBgfwv8chhc" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=pMSA9kptTTA:-O_D6R0Nl2k:wfPLY4pQREI"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=wfPLY4pQREI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=pMSA9kptTTA:-O_D6R0Nl2k:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/programmingLife?i=pMSA9kptTTA:-O_D6R0Nl2k:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=pMSA9kptTTA:-O_D6R0Nl2k:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/programmingLife?i=pMSA9kptTTA:-O_D6R0Nl2k:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=pMSA9kptTTA:-O_D6R0Nl2k:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=pMSA9kptTTA:-O_D6R0Nl2k:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/programmingLife?i=pMSA9kptTTA:-O_D6R0Nl2k:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/programmingLife/~4/pMSA9kptTTA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://goneale.com/2009/11/22/twitter-weekly-updates-for-2009-11-22/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://goneale.com/2009/11/22/twitter-weekly-updates-for-2009-11-22/</feedburner:origLink></item>
		<item>
		<title>This SQL Server Version (10.0) Is Not Supported</title>
		<link>http://feedproxy.google.com/~r/programmingLife/~3/2i9JQ46T2LE/</link>
		<comments>http://goneale.com/2009/11/21/this-sql-server-version-10-0-is-not-supported/#comments</comments>
		<pubDate>Sat, 21 Nov 2009 03:37:16 +0000</pubDate>
		<dc:creator>Graham O'Neale</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[sql-server]]></category>
		<category><![CDATA[T4]]></category>

		<guid isPermaLink="false">http://goneale.com/?p=1012</guid>
		<description><![CDATA[You may receive an error: Running transformation: Microsoft.SqlServer.Management.Smo.FailedOperationException: SetParent failed for Database &#8216;XXXX&#8217;.  &#8212;&#62; Microsoft.SqlServer.Management.Common.ConnectionFailureException: Failed to connect to server XXXX. &#8212;&#62; Microsoft.SqlServer.Management.Common.ConnectionFailureException: This SQL Server version (10.0) is not supported. When attempting to connect to a SQL Server 2008 database when working with T4 templates or simply accessing an SQL Server directly using the [...]<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> (3 votes cast)</div><br />]]></description>
			<content:encoded><![CDATA[<p>You may receive an error:</p>
<blockquote><p>
Running transformation: Microsoft.SqlServer.Management.Smo.FailedOperationException: SetParent failed for Database &#8216;XXXX&#8217;.  &#8212;&gt;<br />
Microsoft.SqlServer.Management.Common.ConnectionFailureException: Failed to connect to server XXXX. &#8212;&gt;<br />
Microsoft.SqlServer.Management.Common.ConnectionFailureException: This SQL Server version (10.0) is not supported.
</p></blockquote>
<p>When attempting to connect to a SQL Server 2008 database when working with T4 templates or simply accessing an SQL Server directly using the SQL Server SDK via SMO.</p>
<p>What I found was, my code was attempting to connecting using SQL Server 2005 reference assemblies for connection, and you must ensure that your referencing the correct SQL Server (10.0) 2008 Version assemblies. If this doesn&#8217;t sound like your problem, another one could be you are attempting to restore a SQL Server 2008 database onto an SQL Server 2005 instance, this also does not work as it&#8217;s not backwards compatible.  Try scripting your schema + data instead.</p>
<p>But back on track, for the T4 problem, where you have your assembly import declarations at the top of your template, ensure they look like the following:</p>
<pre class="sh_csharp">
<#@ assembly name="Microsoft.SqlServer.ConnectionInfo, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" #>
<#@ assembly name="Microsoft.SqlServer.Smo, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" #>
<#@ assembly name="Microsoft.SqlServer.Management.Sdk.sfc, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" #>
<#@ import namespace="Microsoft.SqlServer.Management.Smo" #>
</pre>
<p>Hope I can help. This should now compile correctly with the specified version calls.</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> (3 votes cast)</div><br /><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/3oekFzX10Jnr9t1NPrHZdlyzWzU/0/da"><img src="http://feedads.g.doubleclick.net/~a/3oekFzX10Jnr9t1NPrHZdlyzWzU/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/3oekFzX10Jnr9t1NPrHZdlyzWzU/1/da"><img src="http://feedads.g.doubleclick.net/~a/3oekFzX10Jnr9t1NPrHZdlyzWzU/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/programmingLife?a=2i9JQ46T2LE:BaXDNNgaQ58:bcOpcFrp8Mo"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=bcOpcFrp8Mo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=2i9JQ46T2LE:BaXDNNgaQ58:dBgfwv8chhc"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=dBgfwv8chhc" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=2i9JQ46T2LE:BaXDNNgaQ58:wfPLY4pQREI"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=wfPLY4pQREI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=2i9JQ46T2LE:BaXDNNgaQ58:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/programmingLife?i=2i9JQ46T2LE:BaXDNNgaQ58:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=2i9JQ46T2LE:BaXDNNgaQ58:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/programmingLife?i=2i9JQ46T2LE:BaXDNNgaQ58:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=2i9JQ46T2LE:BaXDNNgaQ58:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=2i9JQ46T2LE:BaXDNNgaQ58:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/programmingLife?i=2i9JQ46T2LE:BaXDNNgaQ58:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/programmingLife/~4/2i9JQ46T2LE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://goneale.com/2009/11/21/this-sql-server-version-10-0-is-not-supported/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://goneale.com/2009/11/21/this-sql-server-version-10-0-is-not-supported/</feedburner:origLink></item>
		<item>
		<title>Twitter Weekly Updates for 2009-11-16</title>
		<link>http://feedproxy.google.com/~r/programmingLife/~3/t-KAUwIp75o/</link>
		<comments>http://goneale.com/2009/11/16/twitter-weekly-updates-for-2009-11-16/#comments</comments>
		<pubDate>Sun, 15 Nov 2009 23:00:00 +0000</pubDate>
		<dc:creator>Graham O'Neale</dc:creator>
				<category><![CDATA[Tweets]]></category>

		<guid isPermaLink="false">http://goneale.com/2009/11/16/twitter-weekly-updates-for-2009-11-16/</guid>
		<description><![CDATA[omg #Steam #CODMW2 preloading has begun!! # &#34;I always wished that my computer would be as easy to use as my telephone. My wish has come true. I no longer know how to use my telephone.&#34; # Modern Warfare 2 Is Here: Twitter Is Noticing http://bit.ly/17nqRo (via @GadgetNewZ) # OMG I want to start playing [...]<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[<ul class="aktt_tweet_digest">
<li>omg #<a href="http://search.twitter.com/search?q=%23Steam" class="aktt_hashtag">Steam</a> #<a href="http://search.twitter.com/search?q=%23CODMW2" class="aktt_hashtag">CODMW2</a> preloading has begun!! <a href="http://twitter.com/goneale/statuses/5545651037" class="aktt_tweet_time">#</a></li>
<li>&quot;I always wished that my computer would be as easy to use as my telephone. My wish has come true. I no longer know how to use my telephone.&quot; <a href="http://twitter.com/goneale/statuses/5583349312" class="aktt_tweet_time">#</a></li>
<li>Modern Warfare 2 Is Here: Twitter Is Noticing <a href="http://bit.ly/17nqRo" rel="nofollow">http://bit.ly/17nqRo</a> (via @<a href="http://twitter.com/GadgetNewZ" class="aktt_username">GadgetNewZ</a>) <a href="http://twitter.com/goneale/statuses/5583451053" class="aktt_tweet_time">#</a></li>
<li>OMG I want to start playing MW2 already!! Some people have copies?? Darn Australia. But props to #<a href="http://search.twitter.com/search?q=%23steam" class="aktt_hashtag">steam</a> preload yeah! Now to wait. #<a href="http://search.twitter.com/search?q=%23MW2" class="aktt_hashtag">MW2</a> <a href="http://twitter.com/goneale/statuses/5583498250" class="aktt_tweet_time">#</a></li>
<li>Nigeria should be taken off the Internet. <a href="http://twitter.com/goneale/statuses/5588546911" class="aktt_tweet_time">#</a></li>
<li>I used to be indecisive, but now I&#39;m not so sure&#8230; (via @<a href="http://twitter.com/SaschaV" class="aktt_username">SaschaV</a>) lol <a href="http://twitter.com/goneale/statuses/5588573342" class="aktt_tweet_time">#</a></li>
<li>RT @haacked: “Woah! Mono Tools for Visual Studio. <a href="http://bit.ly/2pKTwp”" rel="nofollow">http://bit.ly/2pKTwp”</a> -@<a href="http://twitter.com/bradwilson" class="aktt_username">bradwilson</a> <a href="http://twitter.com/goneale/statuses/5602306519" class="aktt_tweet_time">#</a></li>
<li>Just in time! #<a href="http://search.twitter.com/search?q=%23Mono" class="aktt_hashtag">Mono</a> #<a href="http://search.twitter.com/search?q=%23VisualStudio" class="aktt_hashtag">VisualStudio</a> <a href="http://twitter.com/goneale/statuses/5602310365" class="aktt_tweet_time">#</a></li>
<li>#COD #<a href="http://search.twitter.com/search?q=%23MW2" class="aktt_hashtag">MW2</a> UNLOCKED ON #<a href="http://search.twitter.com/search?q=%23STEAM" class="aktt_hashtag">STEAM</a>! WOOHOO!! <a href="http://twitter.com/goneale/statuses/5632695728" class="aktt_tweet_time">#</a></li>
<li>Bandwidth Monitor frikin&#39; rocks! <a href="http://www.bwmonitor.com/" rel="nofollow">http://www.bwmonitor.com/</a> #<a href="http://search.twitter.com/search?q=%23BandwidthMonito" class="aktt_hashtag">BandwidthMonito</a>r <a href="http://twitter.com/goneale/statuses/5633622295" class="aktt_tweet_time">#</a></li>
<li>But BWMonitor is still not the answer for net limiting, NetLimiter is.. so hopefully they fix the problem soon. <a href="http://twitter.com/goneale/statuses/5634048953" class="aktt_tweet_time">#</a></li>
<li>#ns7 rocks! <a href="http://twitter.com/goneale/statuses/5697371596" class="aktt_tweet_time">#</a></li>
</ul>
<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/YdnmmwTFWyZs0UAwbm053XRRQz4/0/da"><img src="http://feedads.g.doubleclick.net/~a/YdnmmwTFWyZs0UAwbm053XRRQz4/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/YdnmmwTFWyZs0UAwbm053XRRQz4/1/da"><img src="http://feedads.g.doubleclick.net/~a/YdnmmwTFWyZs0UAwbm053XRRQz4/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/programmingLife?a=t-KAUwIp75o:1XZgr83ewSI:bcOpcFrp8Mo"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=bcOpcFrp8Mo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=t-KAUwIp75o:1XZgr83ewSI:dBgfwv8chhc"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=dBgfwv8chhc" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=t-KAUwIp75o:1XZgr83ewSI:wfPLY4pQREI"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=wfPLY4pQREI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=t-KAUwIp75o:1XZgr83ewSI:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/programmingLife?i=t-KAUwIp75o:1XZgr83ewSI:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=t-KAUwIp75o:1XZgr83ewSI:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/programmingLife?i=t-KAUwIp75o:1XZgr83ewSI:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=t-KAUwIp75o:1XZgr83ewSI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/programmingLife?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/programmingLife?a=t-KAUwIp75o:1XZgr83ewSI:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/programmingLife?i=t-KAUwIp75o:1XZgr83ewSI:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/programmingLife/~4/t-KAUwIp75o" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://goneale.com/2009/11/16/twitter-weekly-updates-for-2009-11-16/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://goneale.com/2009/11/16/twitter-weekly-updates-for-2009-11-16/</feedburner:origLink></item>
	</channel>
</rss>
