<?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>jba blog &#187; .net</title>
	<atom:link href="http://jbablog.com/tag/net/feed/" rel="self" type="application/rss+xml" />
	<link>http://jbablog.com</link>
	<description>the personal blog of John BouAntoun</description>
	<lastBuildDate>Fri, 18 Nov 2011 01:18:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Outlook add-in new explorer hook bug</title>
		<link>http://jbablog.com/2009/09/outlook-add-in-new-explorer-hook-bug/</link>
		<comments>http://jbablog.com/2009/09/outlook-add-in-new-explorer-hook-bug/#comments</comments>
		<pubDate>Mon, 21 Sep 2009 23:18:07 +0000</pubDate>
		<dc:creator>jba</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[outlook]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://jbablog.com/?p=334</guid>
		<description><![CDATA[Found this over on Noam Lampert&#8217;s blog, originally form monologue. I remember running into this bug when writing a rather trivial outlook add-in that registered a toolbar on all new explorers. At the time I was so far under time pressure that I just caved and changed the toolbar installer to install it on all [...]]]></description>
			<content:encoded><![CDATA[<p>Found <a href="http://noamlampert.blogspot.com/2009/09/outlook-new-explorer-hook.html">this</a> over on Noam Lampert&#8217;s blog, originally form <a href="http://go-mono.com/monologue/">monologue</a>.</p>
<p>I remember running into this bug when writing a rather trivial outlook add-in that registered a toolbar on all new explorers. At the time I was so far under time pressure that I just caved and changed the toolbar installer to install it on all toolbars by default (worked around the bug). I didn&#8217;t think that it might be a garbage collection issue. Good spot by Noam and co.</p>
<p>Short version: Any new explorer callbacks will get garbage collected unless you actually create an explicit reference to the Application.Explorers that you manage in your add-in.</p>
<p>So you would replace this:</p>
<pre>Application.Explorers.NewExplorer += new ExplorersEvents_NewExplorerEventHandler(Explorers_NewExplorer);</pre>
<p>with this:</p>
<div>
<pre>Explorers <span style="white-space: pre;"></span><span style="font-family: 'courier new';">explorers = Application.Explorers;</span></pre>
</div>
<div>
<pre><span style="white-space: pre;"></span><span style="font-family: 'courier new';">explorers.NewExplorer += new ExplorersEvents_NewExplorerEventHandler(Explorers_NewExplorer);</span></pre>
</div>
]]></content:encoded>
			<wfw:commentRss>http://jbablog.com/2009/09/outlook-add-in-new-explorer-hook-bug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Toolkit for ADO.Net Data Services</title>
		<link>http://jbablog.com/2009/08/php-toolkit-for-ado-net-data-services/</link>
		<comments>http://jbablog.com/2009/08/php-toolkit-for-ado-net-data-services/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 22:33:34 +0000</pubDate>
		<dc:creator>jba</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[mono]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://jbablog.com/?p=328</guid>
		<description><![CDATA[Found this interesting link on this post over on monologue. Basically it&#8217;s a PHP toolkit to get access to the data exposed by ADO.Net Data Services, which exposes data in a RESTful manner.]]></description>
			<content:encoded><![CDATA[<p>Found this <a href="http://blogs.msdn.com/interoperability/archive/2009/08/21/a-new-bridge-for-php-developers-to-net-through-rest-php-toolkit-for-ado-net-data-services.aspx">interesting link</a> on this <a href="http://monoblog.blogspot.com/2009/08/php-toolkit-for-adonet-data-services.html">post</a> over on <a href="http://go-mono.com/monologue">monologue</a>.</p>
<p>Basically it&#8217;s a PHP toolkit to get access to the data exposed by ADO.Net Data Services, which exposes data in a RESTful manner.</p>
]]></content:encoded>
			<wfw:commentRss>http://jbablog.com/2009/08/php-toolkit-for-ado-net-data-services/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Managed Port of Sqlite</title>
		<link>http://jbablog.com/2009/08/managed-port-of-sqlite/</link>
		<comments>http://jbablog.com/2009/08/managed-port-of-sqlite/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 22:44:43 +0000</pubDate>
		<dc:creator>jba</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[mono]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://jbablog.com/?p=324</guid>
		<description><![CDATA[Over on Miggie&#8217;s blog, a post about a line-by-line port of Sqlite to C#. It obviously takes a performance hit (something like 5 times slower) but think of all the opportunities it opens up. I&#8217;m thinking mainly about Windows Phone development using Compact Framework and no longer needing the external Sqlite dll linkage (figuring out [...]]]></description>
			<content:encoded><![CDATA[<p>Over on <a href="http://tirania.org/blog/">Miggie&#8217;s blog</a>, a post about a <a href="http://tirania.org/blog/archive/2009/Aug-06.html">line-by-line port of Sqlite to C#</a>.</p>
<p>It obviously takes a performance hit (something like 5 times slower) but think of all the opportunities it opens up. I&#8217;m thinking mainly about Windows Phone development using Compact Framework and no longer needing the external Sqlite dll linkage (figuring out which one to use was a nightmare).</p>
<p>Miggie mentions using it in Silverlight apps, which is an awesome idea, or in medium trust ASP.Net servers. The Silverlight use will have to wait till they pull all the P/Invokes out of it, which doesn&#8217;t seem to be too far off, as is the possibility for some performance improvements by capitalising on the .Net Framework features instead of being a line-by-line port from C.</p>
]]></content:encoded>
			<wfw:commentRss>http://jbablog.com/2009/08/managed-port-of-sqlite/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Silverlight 3 released</title>
		<link>http://jbablog.com/2009/07/silverlight-3-released/</link>
		<comments>http://jbablog.com/2009/07/silverlight-3-released/#comments</comments>
		<pubDate>Sun, 12 Jul 2009 23:05:09 +0000</pubDate>
		<dc:creator>jba</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://jbablog.com/?p=301</guid>
		<description><![CDATA[Over on Scott Gu&#8217;s Blog, Silverlight 3&#8242;s release has been announced. Highlights include better font support, accelerated video and 3D support and bit-stream manipulation allowing you to right custom codecs. As well Silverlight 3 now supports H.264, MPEG-4 video and AAC audio. Silverlight 3 also sports out-of-browser capabilities as well as a whole plethora of [...]]]></description>
			<content:encoded><![CDATA[<p>Over on <a href="http://weblogs.asp.net/scottgu/">Scott Gu&#8217;s</a> Blog, <a href="http://weblogs.asp.net/scottgu/archive/2009/07/10/silverlight-3-released.aspx">Silverlight 3&#8242;s release</a> has been announced.</p>
<p>Highlights include better font support, accelerated video and 3D support and bit-stream manipulation allowing you to right custom codecs. As well Silverlight 3 now supports H.264, MPEG-4 video and AAC audio.</p>
<p>Silverlight 3 also sports out-of-browser capabilities as well as a whole plethora of new UI controls, and whole lot more business application development focused features.</p>
<ul>
<li>VS2008 tools for Silverlight 3 <a href="http://www.microsoft.com/downloads/details.aspx?familyid=9442b0f2-7465-417a-88f3-5e7b5409e9dd&amp;displaylang=en">download here</a>.</li>
<li>Silverlight toolkit with extra controls <a href="http://silverlight.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=24246">download here</a>.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://jbablog.com/2009/07/silverlight-3-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Retargeting P/Invoke to managed code</title>
		<link>http://jbablog.com/2009/07/retargeting-pinvoke-to-managed-code/</link>
		<comments>http://jbablog.com/2009/07/retargeting-pinvoke-to-managed-code/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 23:00:23 +0000</pubDate>
		<dc:creator>jba</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[mono]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://jbablog.com/?p=287</guid>
		<description><![CDATA[Chris Toshok over on monologue post&#8217;s about minvoke, a tool to retarget p/invokes out of unmanged land and into managed code. The potential of this tool is absolutely awesome. As I understood it, the primary reason is to enable the guys to shoe-horn portability onto .Net apps with over-zealous p/invokes into windows api calls. Makes [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://squeedlyspooch.com/blog/">Chris Toshok</a> over on <a href="http://go-mono.com/monologue/">monologue</a> post&#8217;s about <a href="http://squeedlyspooch.com/blog/2009/06/29/minvoke-forcing-portability/">minvoke</a>, a tool to retarget p/invokes out of unmanged land and into managed code.</p>
<p>The potential of this tool is absolutely awesome. As I understood it, the primary reason is to enable the guys to shoe-horn portability onto .Net apps with over-zealous p/invokes into windows api calls. Makes sense.</p>
<p>But that&#8217;s not the only reason you&#8217;d use it. You could use this tool to force managed applications that call into native land to be completely managed, enabling you to ensure that the .Net security model is applied to every aspect of the code, or simply freeing yourself of the need to have developers around that can develop in more than just .Net.</p>
<p>As stupid as that sounds, it&#8217;s getting increasingly hard to find developers around that understand more than one language/framework. Even those that do, generally only understand multiple web-development languages. So if you ever find yourself in a situation where you are working on a Winforms app that needs to interface with a device of some sort you&#8217;d be <em>shit out of luck</em>.</p>
]]></content:encoded>
			<wfw:commentRss>http://jbablog.com/2009/07/retargeting-pinvoke-to-managed-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I&#8217;ll be on a panel at ReMIX 09</title>
		<link>http://jbablog.com/2009/05/ill-be-on-a-panel-at-remix-09/</link>
		<comments>http://jbablog.com/2009/05/ill-be-on-a-panel-at-remix-09/#comments</comments>
		<pubDate>Thu, 14 May 2009 13:36:56 +0000</pubDate>
		<dc:creator>jba</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[mono]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://jbablog.com/?p=249</guid>
		<description><![CDATA[So I&#8217;ll be on a panel at ReMIX 09 titled, &#8220;Sibling Rivalry or Love: Microsoft and Open source.&#8220;. Should be an interesting discussion, totally looking forward to it.]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="size-medium wp-image-250 aligncenter" title="ReMIX 09 Australia" src="http://jbablog.com/wp/wp-content/uploads/2009/05/remix_au_logo-300x66.gif" alt="ReMIX 09 Australia" width="300" height="66" /></p>
<p>So I&#8217;ll be on a panel at <a href="http://www.microsoft.com/australia/remix/agenda/schedule.aspx">ReMIX 09</a> titled, <em>&#8220;Sibling Rivalry or Love: Microsoft and Open source.</em><em>&#8220;.</em></p>
<p>Should be an interesting discussion, totally looking forward to it.</p>
]]></content:encoded>
			<wfw:commentRss>http://jbablog.com/2009/05/ill-be-on-a-panel-at-remix-09/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mono 2.2 Released</title>
		<link>http://jbablog.com/2009/01/mono-22-released/</link>
		<comments>http://jbablog.com/2009/01/mono-22-released/#comments</comments>
		<pubDate>Wed, 14 Jan 2009 23:42:23 +0000</pubDate>
		<dc:creator>jba</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[mono]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://jbablog.com/2009/01/mono-22-released/</guid>
		<description><![CDATA[Mono 2.2 has been released with a plethora of updates. One of the more interesting updates is the increase to performance they seem to have gotten from changing the code generation engine.]]></description>
			<content:encoded><![CDATA[<p>Mono 2.2 has been <a href="http://www.mono-project.com/Release_Notes_Mono_2.2">released</a> with a plethora of updates. One of the more interesting updates is the increase to performance they seem to have gotten from changing the code generation engine.</p>
]]></content:encoded>
			<wfw:commentRss>http://jbablog.com/2009/01/mono-22-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mono gets accessibility</title>
		<link>http://jbablog.com/2009/01/mono-gets-accessibility/</link>
		<comments>http://jbablog.com/2009/01/mono-gets-accessibility/#comments</comments>
		<pubDate>Tue, 06 Jan 2009 00:50:59 +0000</pubDate>
		<dc:creator>jba</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[mono]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://jbablog.com/2009/01/138/</guid>
		<description><![CDATA[According the Miguel, Mono gets support for accessibility using ATK in linux as the underlying framework.]]></description>
			<content:encoded><![CDATA[<p>According the <a href="http://tirania.org/blog/archive/2009/Jan-05.html">Miguel</a>, Mono gets support for accessibility using ATK in linux as the underlying framework.</p>
]]></content:encoded>
			<wfw:commentRss>http://jbablog.com/2009/01/mono-gets-accessibility/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Which equality methods to override and when in C#</title>
		<link>http://jbablog.com/2008/12/which-equality-methods-to-override-and-when-in-c/</link>
		<comments>http://jbablog.com/2008/12/which-equality-methods-to-override-and-when-in-c/#comments</comments>
		<pubDate>Sun, 30 Nov 2008 23:00:59 +0000</pubDate>
		<dc:creator>jba</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://jbablog.com/?p=114</guid>
		<description><![CDATA[A great, relatively brief post over on monologue that oulines which of the equality methods/operators to override when.]]></description>
			<content:encoded><![CDATA[<p>A great, relatively brief <a href="http://themonkeysgrinder.blogspot.com/2008/11/equality-now.html">post</a> over on <a href="http://go-mono.com/monologue">monologue</a> that oulines which of the equality methods/operators to override when.</p>
]]></content:encoded>
			<wfw:commentRss>http://jbablog.com/2008/12/which-equality-methods-to-override-and-when-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sorting Collections without implementing IComparable</title>
		<link>http://jbablog.com/2008/11/sorting-collections-without-implementing-icomparable/</link>
		<comments>http://jbablog.com/2008/11/sorting-collections-without-implementing-icomparable/#comments</comments>
		<pubDate>Thu, 27 Nov 2008 06:59:51 +0000</pubDate>
		<dc:creator>jba</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://jbablog.com/?p=109</guid>
		<description><![CDATA[This is an old but a goodie from Albert over on his blog. It uses delegates to allow inline sorting of Generic collections based on the specific types without having implemented IComparable in the type being sorted.]]></description>
			<content:encoded><![CDATA[<p><a mce_href="http://adallow.wordpress.com/2008/10/06/sorting-systemcollectionsgenericlist/" href="http://adallow.wordpress.com/2008/10/06/sorting-systemcollectionsgenericlist/">This</a> is an old but a goodie from Albert over on his <a mce_href="http://adallow.wordpress.com/" href="http://adallow.wordpress.com/">blog</a>. It uses delegates to allow inline sorting of Generic collections based on the specific types without having implemented IComparable in the type being sorted.</p>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://jbablog.com/2008/11/sorting-collections-without-implementing-icomparable/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

