<?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>Just Programmer &#187; Moq</title>
	<atom:link href="http://siliconz.com/blog/tag/moq/feed/" rel="self" type="application/rss+xml" />
	<link>http://siliconz.com/blog</link>
	<description>Because code matters</description>
	<lastBuildDate>Wed, 18 Nov 2009 15:36:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Libraries for .Net: today Mocking and IOC</title>
		<link>http://siliconz.com/blog/2009/02/06/libraries-for-net-today-mocking-and-ioc/</link>
		<comments>http://siliconz.com/blog/2009/02/06/libraries-for-net-today-mocking-and-ioc/#comments</comments>
		<pubDate>Thu, 05 Feb 2009 21:06:39 +0000</pubDate>
		<dc:creator>rlopes</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Autofac]]></category>
		<category><![CDATA[IOC]]></category>
		<category><![CDATA[mock]]></category>
		<category><![CDATA[Moq]]></category>

		<guid isPermaLink="false">http://sili.co.nz/blog/?p=165</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<!-- Chitika|Premium - WordPress Plugin --><div class="chitika-adspace above"><script type="text/javascript"><!--
ch_client = "griffonrl";
ch_type = "mpu";
ch_width = 468;
ch_height = 120;
ch_color_bg = "";
ch_color_title = "";
ch_color_site_link = "";
ch_color_text = "";
ch_non_contextual = 4;
ch_vertical = "premium";
ch_font_title = "Tahoma";
ch_font_text = "Tahoma";
ch_sid = "wordpress-plugin";
var ch_queries = new Array( );
var ch_selected=Math.floor((Math.random()*ch_queries.length));
if ( ch_selected < ch_queries.length ) {
ch_query = ch_queries[ch_selected];
}
//--></script>
<script  src="http://scripts.chitika.net/eminimalls/amm.js" type="text/javascript"></script></div>
<div style="float: right;margin: 12px;"><script type="text/javascript"><!--
google_ad_client = "pub-1503764426555348";
/* 234x60, created 12/16/08 */
google_ad_slot = "6722202365";
google_ad_width = 234;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div><p>Since I moved to C# 3.0 and .NET 3.5, I have witness the power of the new features of the language and they bring easier and faster development. However we are still using a lot of libraries, frameworks, API dating back to the .NET 2.0 era and most of them are not yet using all the goodness of the latest .Net and C# iteration.</p>
<p>I found 2 libraries though that are build with the latest version of .Net and make use of the powerful features of Linq and C# 3.0 like lambda and expression trees.<span id="more-165"></span></p>
<p>If you are doing TDD (Test Driven Development), you are using a framework like <a title="MbUnit" href="http://www.mbunit.com/" target="_blank">MbUnit</a>, <a title="NUnit" href="http://www.nunit.org/" target="_blank">NUnit</a> or else but you may also be using a mocking framework like <a title="Rhino Mocks" href="http://ayende.com/projects/rhino-mocks.aspx " target="_blank">Rhino Mocks</a> to mock your objects. If you are doing mocking and you look for an easier to use and very clean solution, consider <a title="Moq" href="http://code.google.com/p/moq/" target="_blank">Moq</a> the new kid in town. Give it a try and enjoy the fast learning curve.</p>
<p>The second library is once again an IOC/DI library (Inversion of Control/Dependency Injection). See<a title="IOC and Validation" href="http://sili.co.nz/blog/2009/01/good-libraries-for-the-net-developer-today-ioc-and-validation/"> this post</a> for another good IOC library. This new one is probably smaller and less bloated than the big names, but it offers an easy and clever syntax with features. Look at <a title="Autofac" href="http://code.google.com/p/autofac/" target="_blank">Autofac</a>. Again it leverages all the goodness introduced in C# 3.0 and .NET 3.5. In a programmer point of view, this translates into a time saver and cleaner code.</p>
<p>That&#8217;s all for today.</p>
<p>Richard Lopes</p>
]]></content:encoded>
			<wfw:commentRss>http://siliconz.com/blog/2009/02/06/libraries-for-net-today-mocking-and-ioc/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 0.469 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2010-06-02 03:42:58 -->
<!-- Compression = gzip -->