<?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>Lars Wilhelmsen &#187; Tinyject</title>
	<atom:link href="http://www.larswilhelmsen.com/category/tinyject/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.larswilhelmsen.com</link>
	<description>Computer Software Guy Living Between the Edge and Corner Cases</description>
	<lastBuildDate>Wed, 11 Jan 2012 13:05:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/>		<item>
		<title>Tinyject &#8211; IoC in an Evening</title>
		<link>http://www.larswilhelmsen.com/2008/10/09/tinyject-ioc-in-an-evening/</link>
		<comments>http://www.larswilhelmsen.com/2008/10/09/tinyject-ioc-in-an-evening/#comments</comments>
		<pubDate>Thu, 09 Oct 2008 15:52:33 +0000</pubDate>
		<dc:creator>larsw</dc:creator>
				<category><![CDATA[IoC]]></category>
		<category><![CDATA[Pet+Projects]]></category>
		<category><![CDATA[Tinyject]]></category>

		<guid isPermaLink="false">http://larsw.wordpress.com/2008/10/09/tinyject-ioc-in-an-evening/</guid>
		<description><![CDATA[Last night, while hacking on the Aggressive project, I where in the need of a container. My initial idea was to try out Autofac, but since I was offline at the moment, I quickly hacked together a small container myself. Since I actually thought the look&#38;feel of the interface was exactly what I wanted, I [...]]]></description>
			<content:encoded><![CDATA[<p>Last night, while hacking on the <a href="http://www.codeplex.com/Aggressive" target="_blank">Aggressive project</a>, I where in the need of a container. My initial idea was to try out <a href="http://code.google.com/p/autofac" target="_blank">Autofac</a>, but since I was offline at the moment, I quickly hacked together a small container myself. Since I actually thought the look&amp;feel of the interface was exactly what I wanted, I decided to put the source code in a separate project and give it a name; Tinyject. The code can be found <a href="http://larsw-public.s3.amazonaws.com/LarsW.Tinyject-1.0.zip" target="_blank">here</a> and is licensed under&#160; the <a href="http://www.apache.org/licenses/LICENSE-2.0.html" target="_blank">Apache License 2.0</a>.</p>
<p>Features:</p>
<ul>
<li>A <strong>Register()</strong> method in different flavors (including generic versions) for registering concrete types &amp; interfaces in the type map.       <br />The Register() methods return <em>this</em>, so they can be chained. </li>
<li>A <strong>Resolve()</strong> method in different flavors (including generic versions) for resolving new and existing instances of registered types. </li>
<li>An idea of instance lifetime; Transient &amp; Singleton. </li>
<li>Property, field and constructor injection. </li>
<li>The container implements System.IDisposable, and can be used in a using() { … } scope. </li>
<li>A static, thread-safe wrapper, TinyjectStatic. </li>
<li>A small number of xUnit-based unit tests to check the integrity of the stuff. </li>
</ul>
<p>That’s it. At the moment there is no configuration system – and no extensibility points, but I believe the 2.0 version – maybe developed tonight after the baby swimming, will contain a simple extensible configuration model.</p>
<p>If anyone want to design a logo for it – please go ahead <img src='http://www.larswilhelmsen.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p> <a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2flarswilhelmsen.com%2f2008%2f10%2f09%2ftinyject-ioc-in-an-evening%2f"><img alt="kick it on DotNetKicks.com" src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2flarswilhelmsen.com%2f2008%2f10%2f09%2ftinyject-ioc-in-an-evening%2f" border="0" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.larswilhelmsen.com/2008/10/09/tinyject-ioc-in-an-evening/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

