<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Mocking and Dependency Injection in ASP.NET MVC</title>
	<atom:link href="http://www.emadibrahim.com/2008/08/27/mocking-and-dependency-injection-in-aspnet-mvc/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.emadibrahim.com/2008/08/27/mocking-and-dependency-injection-in-aspnet-mvc/</link>
	<description>web development, tech reviews, tips, tricks, blogging</description>
	<lastBuildDate>Sun, 07 Mar 2010 18:27:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: eibrahim</title>
		<link>http://www.emadibrahim.com/2008/08/27/mocking-and-dependency-injection-in-aspnet-mvc/comment-page-1/#comment-948</link>
		<dc:creator>eibrahim</dc:creator>
		<pubDate>Wed, 13 Jan 2010 10:02:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.emadibrahim.com/2008/08/27/mocking-and-dependency-injection-in-aspnet-mvc/#comment-948</guid>
		<description>I don&#039;t remember but I think it had to do with wrong DLL versions.  I think.</description>
		<content:encoded><![CDATA[<p>I don&#39;t remember but I think it had to do with wrong DLL versions.  I think.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: eibrahim</title>
		<link>http://www.emadibrahim.com/2008/08/27/mocking-and-dependency-injection-in-aspnet-mvc/comment-page-1/#comment-890</link>
		<dc:creator>eibrahim</dc:creator>
		<pubDate>Wed, 13 Jan 2010 02:02:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.emadibrahim.com/2008/08/27/mocking-and-dependency-injection-in-aspnet-mvc/#comment-890</guid>
		<description>I don&#039;t remember but I think it had to do with wrong DLL versions.  I think.</description>
		<content:encoded><![CDATA[<p>I don&#39;t remember but I think it had to do with wrong DLL versions.  I think.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://www.emadibrahim.com/2008/08/27/mocking-and-dependency-injection-in-aspnet-mvc/comment-page-1/#comment-889</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Fri, 08 Jan 2010 23:28:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.emadibrahim.com/2008/08/27/mocking-and-dependency-injection-in-aspnet-mvc/#comment-889</guid>
		<description>I have seen that you had some issue with MbUnit in Visual Studio.&lt;br&gt;I am getting this message &quot;no test were run because no tests are loaded&quot;&lt;br&gt;Do you remember how you fixed it?</description>
		<content:encoded><![CDATA[<p>I have seen that you had some issue with MbUnit in Visual Studio.<br />I am getting this message &#8220;no test were run because no tests are loaded&#8221;<br />Do you remember how you fixed it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: eibrahim</title>
		<link>http://www.emadibrahim.com/2008/08/27/mocking-and-dependency-injection-in-aspnet-mvc/comment-page-1/#comment-823</link>
		<dc:creator>eibrahim</dc:creator>
		<pubDate>Tue, 07 Jul 2009 11:24:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.emadibrahim.com/2008/08/27/mocking-and-dependency-injection-in-aspnet-mvc/#comment-823</guid>
		<description>Good question.  I actually don&#039;t test it and I have forgotten to add a few&lt;br&gt;items before but unfortunately, it is a runtime error.  What I would rather&lt;br&gt;do but I am too lazy to is have this information loaded from a configuration&lt;br&gt;file instead, so if you forget to add something, you can just edit the&lt;br&gt;config file without having to recompile/re-deploy.&lt;br&gt;&lt;br&gt;Ninject doesn&#039;t support config files which is ironically why I like it.&lt;br&gt;&lt;br&gt;A solution would be to create a test everytime you add an &quot;injectable&quot; class&lt;br&gt;to test if it is getting loaded/injected properly or not.  This should be a&lt;br&gt;simple IsNotNull test.  (I think).</description>
		<content:encoded><![CDATA[<p>Good question.  I actually don&#39;t test it and I have forgotten to add a few<br />items before but unfortunately, it is a runtime error.  What I would rather<br />do but I am too lazy to is have this information loaded from a configuration<br />file instead, so if you forget to add something, you can just edit the<br />config file without having to recompile/re-deploy.</p>
<p>Ninject doesn&#39;t support config files which is ironically why I like it.</p>
<p>A solution would be to create a test everytime you add an &#8220;injectable&#8221; class<br />to test if it is getting loaded/injected properly or not.  This should be a<br />simple IsNotNull test.  (I think).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adrian Grigore</title>
		<link>http://www.emadibrahim.com/2008/08/27/mocking-and-dependency-injection-in-aspnet-mvc/comment-page-1/#comment-822</link>
		<dc:creator>Adrian Grigore</dc:creator>
		<pubDate>Tue, 07 Jul 2009 08:47:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.emadibrahim.com/2008/08/27/mocking-and-dependency-injection-in-aspnet-mvc/#comment-822</guid>
		<description>One more thing I only thought about once I was implementing your technique in my project: How do you test your StandardModule.Load bindings? I&#039;m sure I&#039;ll forget adding one of those sooner or later.</description>
		<content:encoded><![CDATA[<p>One more thing I only thought about once I was implementing your technique in my project: How do you test your StandardModule.Load bindings? I&#39;m sure I&#39;ll forget adding one of those sooner or later.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adrian Grigore</title>
		<link>http://www.emadibrahim.com/2008/08/27/mocking-and-dependency-injection-in-aspnet-mvc/comment-page-1/#comment-821</link>
		<dc:creator>Adrian Grigore</dc:creator>
		<pubDate>Mon, 06 Jul 2009 11:26:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.emadibrahim.com/2008/08/27/mocking-and-dependency-injection-in-aspnet-mvc/#comment-821</guid>
		<description>Excellent post! I&#039;ve been looking for a way to DRY up my own code as well and your post led me on the right way.</description>
		<content:encoded><![CDATA[<p>Excellent post! I&#39;ve been looking for a way to DRY up my own code as well and your post led me on the right way.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
