<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Niels R. &#187; .NET</title>
	<atom:link href="http://lxit.be/tag/net/feed/" rel="self" type="application/rss+xml" />
	<link>http://lxit.be</link>
	<description>... LXIT.be ...</description>
	<lastBuildDate>Tue, 17 Aug 2010 19:04:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>Vici Project support has moved to StackExchange</title>
		<link>http://lxit.be/programming/vici-project-support-has-moved-to-stackexchange/</link>
		<comments>http://lxit.be/programming/vici-project-support-has-moved-to-stackexchange/#comments</comments>
		<pubDate>Wed, 18 Nov 2009 16:39:03 +0000</pubDate>
		<dc:creator>Niels R.</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[The Web]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[support]]></category>
		<category><![CDATA[Vici Project]]></category>

		<guid isPermaLink="false">http://lxit.be/?p=93</guid>
		<description><![CDATA[We all love Stack Overflow, so when Joel Spolsky told the world that the platform would be made publicity available we move the Vici Project support to StackExchange. All questions regarding Vici MVC, Vici CoolStorage, Vici Parser, Vici WinService and &#8230; <a href="http://lxit.be/programming/vici-project-support-has-moved-to-stackexchange/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>We all love <a title="Stack Overflow" href="http://stackoverflow.com/">Stack Overflow</a>, so when <a title="Joel on Software" href="http://www.joelonsoftware.com/">Joel Spolsky</a> told the world that the platform would be made publicity available we move the <a title="A collection of free tools for building next-generation online applications for .NET." href="http://viciproject.com">Vici Project</a> support to StackExchange.</p>
<p>All questions regarding <a title="An open source ASP.NET MVC framework" href="http://viciproject.com/mvc">Vici MVC</a>, <a title="An open source object relation mapper (ORM) for .NET" href="http://viciproject.com/coolstorage">Vici CoolStorage</a>, <a title="A .NET library for late-bound expression parsing and template rendering." href="http://viciproject.com/parser">Vici Parser</a>, <a title="A lightweight .NET library for creating Windows services." href="http://viciproject.com/winservice">Vici WinService</a> and all other future Vici projects can be viewed and answered on <a title="Vici Project support pages" href="http://vici.stackexchange.com">http://vici.stackexchange.com</a>.</p>
<p>The old <a title="Vici Project support pages" href="http://support.viciproject.com">http://support.viciproject.com</a> URL will redirect you to the new support location.</p>
]]></content:encoded>
			<wfw:commentRss>http://lxit.be/programming/vici-project-support-has-moved-to-stackexchange/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GetHashCode() on a 32-bit vs a 64-bit platform</title>
		<link>http://lxit.be/programming/gethashcode-on-a-32-bit-vs-a-64-bit-platform/</link>
		<comments>http://lxit.be/programming/gethashcode-on-a-32-bit-vs-a-64-bit-platform/#comments</comments>
		<pubDate>Fri, 20 Feb 2009 12:40:05 +0000</pubDate>
		<dc:creator>Niels R.</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[.NET 2.0]]></category>
		<category><![CDATA[CorFlags.exe]]></category>
		<category><![CDATA[GetHashCode]]></category>

		<guid isPermaLink="false">http://lxit.be/?p=66</guid>
		<description><![CDATA[If you compile your .NET application with the standard &#8220;Any CPU&#8221; option, it will run as a 32-bit process on a 32-bit OS and as a 64-bit process on a 64-bis process. When you use GetHashCode() the generated hashes on &#8230; <a href="http://lxit.be/programming/gethashcode-on-a-32-bit-vs-a-64-bit-platform/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you compile your .NET application with the standard &#8220;Any CPU&#8221; option, it will run as a 32-bit process on a 32-bit OS and as a 64-bit process on a 64-bis process.</p>
<p>When you use GetHashCode() the generated hashes on the 32-bit platform will differ from the hashes on the 64-bit platform&#8230;</p>
<p>The solution is either to not use the GetHashCode() the way you do it, or if you can&#8217;t change the way your program works you can run it in 32-bit mode by setting the 32-bit flag in the executable&#8217;s headers using <em>CorFlags.exe</em>.</p>
<p>Set the 32-bit flag:<code lang="dos">CorFlags.exe YourApplication.exe /32BIT+</code></p>
<p>Remove the 32-bit flag:<code lang="dos">CorFlags.exe YourApplication.exe /32BIT-</code></p>
<p>More info about <em>CoreFlags.exe</em> on MSDN: <a title="MSDN Library - CorFlags Conversion Tool (CorFlags.exe)" href="http://msdn.microsoft.com/en-us/library/ms164699(VS.80).aspx">http://msdn.microsoft.com/en-us/library/ms164699(VS.80).aspx</a></p>
]]></content:encoded>
			<wfw:commentRss>http://lxit.be/programming/gethashcode-on-a-32-bit-vs-a-64-bit-platform/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>GetHashCode() in .NET 1.1 vs .NET 2.0</title>
		<link>http://lxit.be/uncategorized/gethashcode-in-net-11-vs-net-20/</link>
		<comments>http://lxit.be/uncategorized/gethashcode-in-net-11-vs-net-20/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 12:42:15 +0000</pubDate>
		<dc:creator>Niels R.</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[.NET 1.1]]></category>
		<category><![CDATA[.NET 2.0]]></category>
		<category><![CDATA[GetHashCode]]></category>

		<guid isPermaLink="false">http://lxit.be/?p=64</guid>
		<description><![CDATA[notepadd When migrating GarageTV from .NET 1.1 to .NET 3.5 I ran in a &#8220;strange&#8221; problem. It seems that there is a SearchBarrel table containing the links between keywords and posts (and some other info like keyword weight etc), so &#8230; <a href="http://lxit.be/uncategorized/gethashcode-in-net-11-vs-net-20/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>notepadd</p>
<p>When migrating GarageTV from .NET 1.1 to .NET 3.5 I ran in a &#8220;strange&#8221; problem.</p>
<p>It seems that there is a SearchBarrel table containing the links between keywords and posts (and some other info like keyword weight etc), so when a search is made you simply do a select using this table.</p>
<p>But&#8230; the keyword is hashed using String.GetHashCode() and that&#8217;s stored in the DB. Not clever it seems, because the GetHashCode() in .NET 2.0+ differs from the .NET 1.1 version.</p>
<blockquote><p>Quote from <a title="MSDN Library - Object.GetHashCode Method" href="http://msdn.microsoft.com/en-us/library/system.object.gethashcode.aspx">MSDN</a>: <em>&#8220;<strong>Prior to the .NET Framework version 2.0</strong>, the hash code provider was based on the <strong>System.Collections.IHashCodeProvider</strong> interface. <strong>Starting with version 2.0</strong>, the hash code provider is based on the <strong>System.Collections.IEqualityComparer</strong> interface.&#8221;</em></p></blockquote>
<p>And for your information I&#8217;ve found an implementation of the GetHashCode() of the .NET 1.1 version, so you can use this method in .NET 2.0 projects.</p>
<p><code lang="csharp"><br />
Int32 HashString(String szStr)<br />
{<br />
ulong hash = 5381;</p>
<p>foreach (int ch in szStr)<br />
{<br />
hash = ((hash &lt;&lt; 5) + hash) ^ (ulong)ch;<br />
}</p>
<p>return (Int32)hash;<br />
}</code></p>
<p>So&#8230; enjoy.</p>
]]></content:encoded>
			<wfw:commentRss>http://lxit.be/uncategorized/gethashcode-in-net-11-vs-net-20/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>.NET Podcasts &#8211; Polymorphic Podcast</title>
		<link>http://lxit.be/programming/net-podcasts-polymorphic-podcast/</link>
		<comments>http://lxit.be/programming/net-podcasts-polymorphic-podcast/#comments</comments>
		<pubDate>Thu, 09 Oct 2008 13:36:09 +0000</pubDate>
		<dc:creator>Niels R.</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[podcast]]></category>

		<guid isPermaLink="false">http://lxit.be/?p=16</guid>
		<description><![CDATA[Since I&#8217;m cycling to work I should start using my MP3 player a little more. I came across Polymorphoc Podcast today and I think I&#8217;m gonna give it a try. The busy jingle-jangle introduction during the first minute-and-a-half or so &#8230; <a href="http://lxit.be/programming/net-podcasts-polymorphic-podcast/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Since I&#8217;m cycling to work I should start using my MP3 player a little more. I came across <a href="http://polymorphicpodcast.com/" title="Polymorphoc Podcast">Polymorphoc Podcast</a> today and I think I&#8217;m gonna give it a try.</p>
<p>The busy jingle-jangle introduction during the first minute-and-a-half or so is annoying and I really dislike the voice of the host, but you can&#8217;t get everything like the way you want, eh!</p>
<p>Website: <a href="http://polymorphicpodcast.com/" title="Polymorphoc Podcast">Polymorphoc Podcast</a><br />
Feed: <a href="http://polymorphicpodcast.com/podcast/feed/" title="Polymorphoc Podcast Feed">Podcast Feed</a></p>
]]></content:encoded>
			<wfw:commentRss>http://lxit.be/programming/net-podcasts-polymorphic-podcast/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

