<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>instancefactory Wiki Rss Feed</title><link>https://instancefactory.codeplex.com/</link><description>instancefactory Wiki Rss Description</description><item><title>Updated Wiki: Home</title><link>https://instancefactory.codeplex.com/wikipage?version=7</link><description>&lt;div class="wikidoc"&gt;&lt;b&gt;Project Description&lt;/b&gt;&lt;br&gt;
Provides an abstraction over dependency injection and IoC containers using the abstract factory design pattern. It was created as an alternative to the
&lt;a href="http://commonservicelocator.codeplex.com/"&gt;Common Service Locator&lt;/a&gt;, but it does not use the
&lt;a href="http://blog.ploeh.dk/2010/02/03/ServiceLocatorIsAnAntiPattern.aspx"&gt;service location anti-pattern&lt;/a&gt; and it provides support for
&lt;a href="http://blog.ploeh.dk/2010/09/29/TheRegisterResolveReleasePattern.aspx"&gt;releasing&lt;/a&gt; instances.&amp;nbsp; See this
&lt;a href="http://blog.tonysneed.com/2012/05/23/use-common-instance-factory-to-abstract-away-the-dependency-injection-container/"&gt;
blog post&lt;/a&gt; for more background information.&lt;br&gt;
&lt;br&gt;
Adapters are available for various dependency injection containers, such as &lt;a href="http://www.ninject.org/"&gt;
Ninject&lt;/a&gt; and &lt;a href="http://simpleinjector.codeplex.com/"&gt;SimpleInjector&lt;/a&gt;, with more to come shortly. There are also WCF extensions available for decoupling services from DI containers.&lt;br&gt;
&lt;br&gt;
&lt;b&gt;How to Get Common Instance Factory&lt;/b&gt;&lt;br&gt;
&lt;br&gt;
Binaries for the Common Instance Factory can be obtained from the &lt;a href="https://nuget.org/packages?q=commonintancefactory"&gt;
NuGet&lt;/a&gt; Gallery. First Install NuGet using the Visual Studio Extension Manager, then right-click on References and select &amp;quot;Manage NuGet Packages.&amp;quot; Find the Common Instance Factory by searching for &amp;quot;commoninstancefactory&amp;quot; then click Install.&lt;br&gt;
&lt;br&gt;
&lt;b&gt;Common Instance Factory Adapters&lt;/b&gt;&lt;br&gt;
&lt;br&gt;
Next, you will need to select one or more adapters for the Common Instance Factory. These can also be found in the
&lt;a href="https://nuget.org/packages?q=commonintancefactory"&gt;NuGet&lt;/a&gt; Gallery by searching for &amp;quot;commoninstancefactory&amp;quot;. Select an adapter for the dependency injection container you wish to use. To date there are adapters for Ninject and SimpleInjector - but
 there are more to come!&lt;br&gt;
&lt;br&gt;
To use Common Instance Factory, first initialize the container you wish to use, then pass it to the constructor of the container-specific instance factory for the adapter you selected, specifying a type which has dependencies you wish to resolve using the container.
 That's it!&amp;nbsp; Download the &lt;a href="https://instancefactory.codeplex.com/releases/view/88235"&gt;
samples&lt;/a&gt; to see it all in action.&lt;br&gt;
&lt;br&gt;
&lt;b&gt;WCF Extensions&lt;/b&gt;&lt;br&gt;
&lt;br&gt;
If you are using the Common Instance Factory to decouple WCF services from dependency injection containers, then be sure to get the WCF extensions for Common Instance Factory from NuGet, as well as one or more container-specific WCF adapters.&lt;br&gt;
&lt;br&gt;
&lt;b&gt;Samples&lt;/b&gt;&lt;br&gt;
&lt;br&gt;
For a sample of using the Common Instance Factory, visit the &lt;a href="https://instancefactory.codeplex.com/releases/view/88235"&gt;
Download&lt;/a&gt; page or download the source and samples.&lt;br&gt;
&lt;br&gt;
&lt;b&gt;Additional Information&lt;/b&gt;&lt;br&gt;
&lt;br&gt;
Check back here for examples and tutorials. Also be sure to visit Tony Sneed's blog:
&lt;a href="http://blog.tonysneed.com"&gt;http://blog.tonysneed.com&lt;/a&gt;. &lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>tonysneed</author><pubDate>Wed, 23 May 2012 17:23:07 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20120523052307P</guid></item><item><title>Updated Wiki: Temporary Post Used For Theme Detection (0a6ab33f-c640-4b25-9d02-7d53333a9ac1 - 3bfe001a-32de-4114-a6b4-4005b770f6d7)</title><link>https://instancefactory.codeplex.com/wikipage?title=Temporary Post Used For Theme Detection (0a6ab33f-c640-4b25-9d02-7d53333a9ac1 - 3bfe001a-32de-4114-a6b4-4005b770f6d7)&amp;version=1</link><description>&lt;div class="wikidoc"&gt;
&lt;p&gt;This is a temporary post that was not deleted. Please delete this manually. (74baa8c0-1b18-4aeb-9700-16e70cefccdc - 3bfe001a-32de-4114-a6b4-4005b770f6d7)&lt;/p&gt;
&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>tonysneed</author><pubDate>Wed, 23 May 2012 16:17:58 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Temporary Post Used For Theme Detection (0a6ab33f-c640-4b25-9d02-7d53333a9ac1 - 3bfe001a-32de-4114-a6b4-4005b770f6d7) 20120523041758P</guid></item><item><title>Updated Wiki: Temporary Post Used For Theme Detection (e5d260b9-b7e1-49f2-9d6d-0e621c4197ef - 3bfe001a-32de-4114-a6b4-4005b770f6d7)</title><link>https://instancefactory.codeplex.com/wikipage?title=Temporary Post Used For Theme Detection (e5d260b9-b7e1-49f2-9d6d-0e621c4197ef - 3bfe001a-32de-4114-a6b4-4005b770f6d7)&amp;version=1</link><description>&lt;div class="wikidoc"&gt;
&lt;p&gt;This is a temporary post that was not deleted. Please delete this manually. (5cb1e1e5-5843-487e-a238-1abeb9956077 - 3bfe001a-32de-4114-a6b4-4005b770f6d7)&lt;/p&gt;
&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>tonysneed</author><pubDate>Wed, 23 May 2012 16:12:33 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Temporary Post Used For Theme Detection (e5d260b9-b7e1-49f2-9d6d-0e621c4197ef - 3bfe001a-32de-4114-a6b4-4005b770f6d7) 20120523041233P</guid></item></channel></rss>