<?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>GridPulse &#187; .NET</title>
	<atom:link href="http://www.gridpulse.com/category/development/net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gridpulse.com</link>
	<description>as stimulating as black coffee and just as hard to sleep after.</description>
	<lastBuildDate>Fri, 14 May 2010 19:19:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Get all the types contained in all the assemblies loaded, filtered by namespace</title>
		<link>http://www.gridpulse.com/2009/10/29/get-all-the-types-contained-in-all-the-assemblies-loaded-filtered-by-namespace/</link>
		<comments>http://www.gridpulse.com/2009/10/29/get-all-the-types-contained-in-all-the-assemblies-loaded-filtered-by-namespace/#comments</comments>
		<pubDate>Thu, 29 Oct 2009 09:05:49 +0000</pubDate>
		<dc:creator>Bogdan</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Unit testing]]></category>
		<category><![CDATA[AppDomain]]></category>
		<category><![CDATA[Assembly]]></category>
		<category><![CDATA[NUnit]]></category>

		<guid isPermaLink="false">http://www.gridpulse.com/?p=268</guid>
		<description><![CDATA[This quick snippet will give you all the types declared in all the assemblies loaded, filtered by namespace. List types = new List(); Assembly[] assemblies = AppDomain.CurrentDomain.GetAssemblies(); foreach (Assembly asm in assemblies) { IEnumerable asmTypes = from t in asm.GetTypes() where t.IsClass &#038;&#038; (t.Namespace != null &#038;&#038; t.Namespace.StartsWith(targetNamespace)) select t; types.AddRange(asmTypes); } I actually got [...]]]></description>
			<content:encoded><![CDATA[<p>This quick snippet will give you all the types declared in all the assemblies loaded, filtered by namespace.</p>
<pre class="prettyprint">
List<Type> types = new List<Type>();
Assembly[] assemblies = AppDomain.CurrentDomain.GetAssemblies();

foreach (Assembly asm in assemblies)
{
        IEnumerable<Type> asmTypes = from t in asm.GetTypes()
              where t.IsClass
                &#038;&#038; (t.Namespace != null &#038;&#038; t.Namespace.StartsWith(targetNamespace))
              select t;
        types.AddRange(asmTypes);
}
</pre>
<p>I actually got to this point because of the way <a href="http://www.nunit.org/index.php">NUnit</a> wraps an assembly in another AppDomain. </p>
<p>The snippet need <strong>Linq </strong>so it’s for <strong>3.5 </strong>or newer.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gridpulse.com/2009/10/29/get-all-the-types-contained-in-all-the-assemblies-loaded-filtered-by-namespace/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NanoDI, a small .NET Dependency Injection container</title>
		<link>http://www.gridpulse.com/2009/09/10/nanodi-a-small-net-dependency-injection-container/</link>
		<comments>http://www.gridpulse.com/2009/09/10/nanodi-a-small-net-dependency-injection-container/#comments</comments>
		<pubDate>Thu, 10 Sep 2009 23:50:19 +0000</pubDate>
		<dc:creator>Bogdan</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://www.gridpulse.com/?p=244</guid>
		<description><![CDATA[Some time ago I worked on some projects using ASP.NET that were mostly ASPX with some specialized ASHX&#8217;s (c# behind the scenes). The handlers just generated some graphs or exported Excel files, regular code monkey style, no architecture, no plan, just write it fast &#8211; quick dirty hack, quick buck &#8211; and I always thought [...]]]></description>
			<content:encoded><![CDATA[<p>Some time ago I worked on some projects using ASP.NET that were mostly ASPX with some specialized ASHX&#8217;s (c# behind the scenes).<br />
The handlers just generated some graphs or exported Excel files, regular code monkey style, no architecture, no plan, just write it fast &#8211; quick dirty hack, quick buck &#8211; and I always thought that these guys that accept .NET inferior stuff deserve what they get. </p>
<p>As time flew by, I started to get a taste of what .NET is all about, luring me to the dark side.</p>
<div style="border: 1px solid rgb(204, 204, 204); margin: 7px; padding: 5px; float: right;">
<img src="http://www.gridpulse.com/wp-content/uploads/2009/09/engine1.jpg" alt="engine1" title="engine1" width="216" height="325" class="aligncenter size-full wp-image-252" /></p>
<p><span style="font-size: 8px;">Photo by <a href="http://www.flickr.com/photos/b-tal/428943971/">B-tal</a></span>
</div>
<p>At the beginning I felt like &#8220;this is what evil must taste like&#8221;, but I quickly got accustomed to all the new things and now, I&#8217;m playing with .NET stuff again, mostly C#, trying to level my skills and having a lot of fun in the process. I built things like the quick and dirty <a href="http://www.gridpulse.com/2009/08/13/multi-font-viewer-on-xandertoolscom/" title="Multi font viewer">multi font viewer</a>, buggy and poor, mostly because nobody uses it.</p>
<p>Now, I wanted to start something bigger, and nicer (I won&#8217;t say what) and I felt that I needed to do it the right way, you know, MAINTAINABLE.<br />
I started looking for a DI container and I started with Spring and Pico. I&#8217;m pretty accustomed to pico and I&#8217;ve been using Spring since version 1 so I though I&#8217;d give them a try. Wrong, strange, alien, weird, huge, EVIL. </p>
<p>For what I wanted to do it really seemed this way. How&#8217;s about something that is 10 megs big because spring and dependencies is 7 megs big. And I&#8217;m not even going to use most of it, I just want some plain <a href="http://en.wikipedia.org/wiki/Dependency_injection">dependency injection</a> and maybe some tooling , like fast i18n.</p>
<p><b>Problem solved, evil destroyed</b><br />
I found the solution! Why not have some fun AND learn the inner workings of C# and .Net? Why not build my own?  So I did!</p>
<p><b>NanoDI</b> is a small dependency injection container and tooling for .NET C# projects that are small or that do not need the complexity of bigger IoC solutions.</p>
<p><b>NanoDI</b>&#8216;s goal is to be small, fast and clean.</p>
<p>Links:<br />
<a href="http://www.xandertools.com/nanodi"> Nano Dependency Injection home</a><br />
<a href="https://www.ohloh.net/p/nanodi"> NanoDI Ohloh.net project page</a><br />
<a href="http://code.google.com/p/nanodi/"> NanoDI Google Code project</a></p>
<p>The code is junky by my standards but I&#8217;m slowly refactoring as my c# skills get better. Next week I&#8217;m going to finish scoping and start working on proxies and interceptors. You can help too! </p>
<p>Have a taste, have fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gridpulse.com/2009/09/10/nanodi-a-small-net-dependency-injection-container/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Multi Font Viewer on xandertools.com</title>
		<link>http://www.gridpulse.com/2009/08/13/multi-font-viewer-on-xandertoolscom/</link>
		<comments>http://www.gridpulse.com/2009/08/13/multi-font-viewer-on-xandertoolscom/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 19:04:15 +0000</pubDate>
		<dc:creator>Bogdan</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://www.gridpulse.com/?p=217</guid>
		<description><![CDATA[Being a software developer sometimes involves more than just coding. This time it was a logo and a splash screen I did a while ago and I had a problem &#8211; I couldn&#8217;t remember what font I used. Of course, having a lot of fonts installed made it a nightmare. I googled a bit and [...]]]></description>
			<content:encoded><![CDATA[<p>Being a software developer sometimes involves more than just coding.<br />
This time it was a logo and a splash screen I did a while ago and I had a problem &#8211; I couldn&#8217;t remember what font I used.</p>
<p>Of course, having a lot of fonts installed made it a nightmare. </p>
<p><a href="http://twitter.com/gridpulse/status/3271079360"><br />
<img src="http://www.gridpulse.com/wp-content/uploads/2009/08/twittshot.jpg" alt="twittshot" title="twittshot" class="aligncenter size-full wp-image-218" /><br />
</a></p>
<p>I googled a bit and found a lot of shareware that allowed me to view multiple fonts and compare. I didn&#8217;t use any of it. Instead I used a nice piece of software called <a href="http://opcion.sourceforge.net/">Opcion</a>.</p>
<p>It solved my problem, although it acted a little strange plus, it was Java. I can handle it because I&#8217;m a Java developer.. but can anybody else?</p>
<p>After finishing the work I decided I could do something about it. So I did.</p>
<p>It&#8217;s called <b>Multi Font Viewer</b> and it&#8217;s free.</p>
<p>You can download it from: <a href="http://xandertools.com/utilities/multifontviewer">the Multi Font Viewer page at xandertools.com</a>.</p>
<p>If you want to take a look at the code or contribute visit the <a href="http://code.google.com/p/multifontviewer/"> Multi Font Viewer Google Code project</a>.</p>
<p>Best of luck and happy fonting!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gridpulse.com/2009/08/13/multi-font-viewer-on-xandertoolscom/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
