<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments for Jonathan C Dickinson</title>
	<atom:link href="http://jonathan.dickinsons.co.za/blog/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://jonathan.dickinsons.co.za/blog</link>
	<description>&#34;Jonathan Chayce Dickinson&#34;.ToString()</description>
	<lastBuildDate>Mon, 18 Jul 2011 05:51:20 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>Comment on .Net Sockets and You by Jonathan Dickinson</title>
		<link>http://jonathan.dickinsons.co.za/blog/2011/02/net-sockets-and-you/comment-page-1/#comment-297</link>
		<dc:creator>Jonathan Dickinson</dc:creator>
		<pubDate>Mon, 18 Jul 2011 05:51:20 +0000</pubDate>
		<guid isPermaLink="false">http://jonathan.dickinsons.co.za/blog/?p=250#comment-297</guid>
		<description>Hi Jules,

Glad the code I shared helped. So the quickest way around this I can come up with right now is the following:

&lt;script src=&quot;https://gist.github.com/1088624.js?file=xnodereaderworkaround.cs&quot;&gt;&lt;/script&gt;

However, the problem here is: if you XML actually contains a LF (instead of CRLF) that is what you will get with the default classes. To workaround CR being in the file you can do one of the following:

&lt;ul&gt;
&lt;li&gt; Write a NewlineCorrectingXmlReader, that takes a XmlReader in its constructor and corrects the newlines. (Probably the simplest)&lt;/li&gt;
&lt;li&gt; Write your own XNodeXmlReader.&lt;/li&gt;
&lt;/ul&gt;

Hope this helps.
 Jonathan</description>
		<content:encoded><![CDATA[<p>Hi Jules,</p>
<p>Glad the code I shared helped. So the quickest way around this I can come up with right now is the following:</p>
<p><script src="https://gist.github.com/1088624.js?file=xnodereaderworkaround.cs"></script></p>
<p>However, the problem here is: if you XML actually contains a LF (instead of CRLF) that is what you will get with the default classes. To workaround CR being in the file you can do one of the following:</p>
<ul>
<li> Write a NewlineCorrectingXmlReader, that takes a XmlReader in its constructor and corrects the newlines. (Probably the simplest)</li>
<li> Write your own XNodeXmlReader.</li>
</ul>
<p>Hope this helps.<br />
 Jonathan</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on .Net Sockets and You by Jules</title>
		<link>http://jonathan.dickinsons.co.za/blog/2011/02/net-sockets-and-you/comment-page-1/#comment-296</link>
		<dc:creator>Jules</dc:creator>
		<pubDate>Mon, 18 Jul 2011 02:16:06 +0000</pubDate>
		<guid isPermaLink="false">http://jonathan.dickinsons.co.za/blog/?p=250#comment-296</guid>
		<description>Hi Jonathan,

I came across an old piece that you wrote on Serialization using XElements. Really nice little snippet that I&#039;m using now BUT the reason for  the email is to ask if you know how to address the problem of deserialisation of carriage returns. I&#039;m no expert on this but from what I see an XmlTextReader is needed to overcome this but an XNode can only create an XmlReader which has no options for affecting whitespace. (\r\n gets deserialised to \n).

Anyway. I&#039;d appreciate a quick response if you think of a way to solve this.

Cheers,

Jules</description>
		<content:encoded><![CDATA[<p>Hi Jonathan,</p>
<p>I came across an old piece that you wrote on Serialization using XElements. Really nice little snippet that I&#8217;m using now BUT the reason for  the email is to ask if you know how to address the problem of deserialisation of carriage returns. I&#8217;m no expert on this but from what I see an XmlTextReader is needed to overcome this but an XNode can only create an XmlReader which has no options for affecting whitespace. (\r\n gets deserialised to \n).</p>
<p>Anyway. I&#8217;d appreciate a quick response if you think of a way to solve this.</p>
<p>Cheers,</p>
<p>Jules</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on .Net Sockets and You by Jonathan Dickinson</title>
		<link>http://jonathan.dickinsons.co.za/blog/2011/02/net-sockets-and-you/comment-page-1/#comment-286</link>
		<dc:creator>Jonathan Dickinson</dc:creator>
		<pubDate>Mon, 20 Jun 2011 09:42:22 +0000</pubDate>
		<guid isPermaLink="false">http://jonathan.dickinsons.co.za/blog/?p=250#comment-286</guid>
		<description>Haha buddy...</description>
		<content:encoded><![CDATA[<p>Haha buddy&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on .Net Sockets and You by Codedjinn</title>
		<link>http://jonathan.dickinsons.co.za/blog/2011/02/net-sockets-and-you/comment-page-1/#comment-285</link>
		<dc:creator>Codedjinn</dc:creator>
		<pubDate>Mon, 20 Jun 2011 09:40:46 +0000</pubDate>
		<guid isPermaLink="false">http://jonathan.dickinsons.co.za/blog/?p=250#comment-285</guid>
		<description>I think your network code is BLATANTLY WRONG!!!!</description>
		<content:encoded><![CDATA[<p>I think your network code is BLATANTLY WRONG!!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Cross-AppDomain Singleton in C# by Jonathan Dickinson</title>
		<link>http://jonathan.dickinsons.co.za/blog/2010/11/cross-domain-singleton-in-c/comment-page-1/#comment-262</link>
		<dc:creator>Jonathan Dickinson</dc:creator>
		<pubDate>Tue, 01 Mar 2011 21:48:17 +0000</pubDate>
		<guid isPermaLink="false">http://jonathan.dickinsons.co.za/blog/?p=217#comment-262</guid>
		<description>That might have been another extension method.  Not sure as I am not near my pc. Either way thanks for thevpositive feedback!</description>
		<content:encoded><![CDATA[<p>That might have been another extension method.  Not sure as I am not near my pc. Either way thanks for thevpositive feedback!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Cross-AppDomain Singleton in C# by Nicolas PELLET-MANY</title>
		<link>http://jonathan.dickinsons.co.za/blog/2010/11/cross-domain-singleton-in-c/comment-page-1/#comment-261</link>
		<dc:creator>Nicolas PELLET-MANY</dc:creator>
		<pubDate>Tue, 01 Mar 2011 21:17:17 +0000</pubDate>
		<guid isPermaLink="false">http://jonathan.dickinsons.co.za/blog/?p=217#comment-261</guid>
		<description>A little mistake is present in the extension method over AppDomain or am I wrong ?

I replace the line:     var res = (T)appDomain.CreateInstanceAndUnwrap(typeof(T));
by this line : var res = (T)appDomain.CreateInstanceAndUnwrap(typeof(T).Assembly.FullName, typeof(T).FullName);

Otherwise very useful code :)</description>
		<content:encoded><![CDATA[<p>A little mistake is present in the extension method over AppDomain or am I wrong ?</p>
<p>I replace the line:     var res = (T)appDomain.CreateInstanceAndUnwrap(typeof(T));<br />
by this line : var res = (T)appDomain.CreateInstanceAndUnwrap(typeof(T).Assembly.FullName, typeof(T).FullName);</p>
<p>Otherwise very useful code :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Expression Blend Visual Studio and Command Line by Jonathan Dickinson</title>
		<link>http://jonathan.dickinsons.co.za/blog/2010/12/expression-blend-theme/comment-page-1/#comment-258</link>
		<dc:creator>Jonathan Dickinson</dc:creator>
		<pubDate>Thu, 24 Feb 2011 07:48:51 +0000</pubDate>
		<guid isPermaLink="false">http://jonathan.dickinsons.co.za/blog/?p=230#comment-258</guid>
		<description>The source for the REG file is in the post. I didn&#039;t think to include a link.</description>
		<content:encoded><![CDATA[<p>The source for the REG file is in the post. I didn&#8217;t think to include a link.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Expression Blend Visual Studio and Command Line by Zuhaib</title>
		<link>http://jonathan.dickinsons.co.za/blog/2010/12/expression-blend-theme/comment-page-1/#comment-257</link>
		<dc:creator>Zuhaib</dc:creator>
		<pubDate>Wed, 23 Feb 2011 21:20:07 +0000</pubDate>
		<guid isPermaLink="false">http://jonathan.dickinsons.co.za/blog/?p=230#comment-257</guid>
		<description>Could you please fix the link to the Console color scheme (.reg file)?</description>
		<content:encoded><![CDATA[<p>Could you please fix the link to the Console color scheme (.reg file)?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on About by Johannes Rudolph</title>
		<link>http://jonathan.dickinsons.co.za/blog/about/comment-page-1/#comment-255</link>
		<dc:creator>Johannes Rudolph</dc:creator>
		<pubDate>Fri, 11 Feb 2011 16:27:17 +0000</pubDate>
		<guid isPermaLink="false">http://jonathan.dickinsons.co.za/blog/?page_id=2#comment-255</guid>
		<description>Hi Jonathan,

we at InishTech (www.inishtech.com) would like to support your efforts on Monoflector and are trying to get everyone interested sit at a round table. Could you please supply me with an email adress where I can reach you to forward you some more details?

Regards,
Johannes</description>
		<content:encoded><![CDATA[<p>Hi Jonathan,</p>
<p>we at InishTech (www.inishtech.com) would like to support your efforts on Monoflector and are trying to get everyone interested sit at a round table. Could you please supply me with an email adress where I can reach you to forward you some more details?</p>
<p>Regards,<br />
Johannes</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Cross-AppDomain Singleton in C# by Jonathan Dickinson</title>
		<link>http://jonathan.dickinsons.co.za/blog/2010/11/cross-domain-singleton-in-c/comment-page-1/#comment-253</link>
		<dc:creator>Jonathan Dickinson</dc:creator>
		<pubDate>Tue, 08 Feb 2011 08:10:32 +0000</pubDate>
		<guid isPermaLink="false">http://jonathan.dickinsons.co.za/blog/?p=217#comment-253</guid>
		<description>It should be possible with &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/dd630886.aspx&quot; rel=&quot;nofollow&quot;&gt;the appDomainManagerAssembly configuration element&lt;/a&gt;. I hacked a little untested code together. See if it works for you: https://gist.github.com/816076


 Wire in the PrimaryAppDomainManager via the configuration element I linked to.
 First line of Main() call PrimaryAppDomainManager.Initialize();
 The current domain (original startup in other words) is the primary domain because the .Net runtime wired in the domain manager for you.


I&#039;ll follow up when I get time.</description>
		<content:encoded><![CDATA[<p>It should be possible with <a href="http://msdn.microsoft.com/en-us/library/dd630886.aspx" rel="nofollow">the appDomainManagerAssembly configuration element</a>. I hacked a little untested code together. See if it works for you: <a href="https://gist.github.com/816076" rel="nofollow">https://gist.github.com/816076</a></p>
<p> Wire in the PrimaryAppDomainManager via the configuration element I linked to.<br />
 First line of Main() call PrimaryAppDomainManager.Initialize();<br />
 The current domain (original startup in other words) is the primary domain because the .Net runtime wired in the domain manager for you.</p>
<p>I&#8217;ll follow up when I get time.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

