<?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; C#</title>
	<atom:link href="http://siliconz.com/blog/tag/c/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>
		<item>
		<title>Good libraries for the .NET developer &#8211; Today: IOC and Validation</title>
		<link>http://siliconz.com/blog/2009/01/15/good-libraries-for-the-net-developer-today-ioc-and-validation/</link>
		<comments>http://siliconz.com/blog/2009/01/15/good-libraries-for-the-net-developer-today-ioc-and-validation/#comments</comments>
		<pubDate>Thu, 15 Jan 2009 07:49:12 +0000</pubDate>
		<dc:creator>rlopes</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[IOC]]></category>
		<category><![CDATA[StructureMap]]></category>

		<guid isPermaLink="false">http://sili.co.nz/blog/?p=121</guid>
		<description><![CDATA[




Today I decided to blog 2 of my findings for .Net development.
Also I&#8217;m using my blog like a knowledge base to keep my good findings, ideas and tips and tricks.
Often we look at the existing solutions before reinventing the wheel. Sometimes we do reinvent the wheel anyway because a third party library miss some of [...]]]></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>Today I decided to blog 2 of my findings for .Net development.<br />
Also I&#8217;m using my blog like a knowledge base to keep my good findings, ideas and tips and tricks.</p>
<p>Often we look at the existing solutions before reinventing the wheel. Sometimes we do reinvent the wheel anyway because a third party library miss some of the features we need, or for fun sake. But there are gems already in the wild.<span id="more-121"></span></p>
<p>First, IOC/DI (Inversion Of Control/Dependency Injection):</p>
<ul>
<li><a title="StructureMap" href="http://codebetter.com/blogs/jeremy.miller/archive/2009/01/11/structuremap-2-5-2-is-released.aspx" target="_blank">StructureMap 2.5.2</a> from Jeremy D. Miller has just been released. This IOC library has been there for a long time and it is a very mature product. The author is very clever and I think StructureMap is far easier to integrate to a project than Microsoft options.</li>
</ul>
<p>&nbsp;</p>
<p>Second, validation (for ASP.NET MVC):</p>
<ul>
<li><a title="xVal" href="http://blog.codeville.net/2009/01/10/xval-a-validation-framework-for-aspnet-mvc/" target="_blank">xVal</a> is a validation framework I just discovered. What I liked with this framework is the promise of building a strong validation layer by picking up a server-side solution and a client-side solution. There is several possible options for both sides and xVal provides the glue between the two. The idea is to define the validation rules for each field as attributes and the system uses the same rules for both server-side and client-side validation. Very good.</li>
</ul>
<p>&nbsp;</p>
<p>Here it is for today. There is more parts needed than this while creating an ASP.NET MVC project in particular, and I will continue to blog about the stack of tools and libraries that we need to create a well architectured application.</p>
<p>Signing off,</p>
<p>Richard Lopes</p>
]]></content:encoded>
			<wfw:commentRss>http://siliconz.com/blog/2009/01/15/good-libraries-for-the-net-developer-today-ioc-and-validation/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Hello, you have been ripped off !</title>
		<link>http://siliconz.com/blog/2009/01/09/hello-you-have-been-ripped-off/</link>
		<comments>http://siliconz.com/blog/2009/01/09/hello-you-have-been-ripped-off/#comments</comments>
		<pubDate>Thu, 08 Jan 2009 21:27:30 +0000</pubDate>
		<dc:creator>rlopes</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[EntitySpaces]]></category>
		<category><![CDATA[MyGeneration]]></category>
		<category><![CDATA[ripoff]]></category>

		<guid isPermaLink="false">http://sili.co.nz/blog/?p=107</guid>
		<description><![CDATA[

Hi,
Sometimes you get a reminder of how nasty our business can be. Like every other business there is people trying to benefit from your work, stealing your ideas, attacking you behind your back and so on&#8230;
Of course these people often lack the originality, the skills and top of their lack of morality and respect.
This morning [...]]]></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>
<p>Hi,</p>
<p>Sometimes you get a reminder of how nasty our business can be. Like every other business there is people trying to benefit from your work, stealing your ideas, attacking you behind your back and so on&#8230;<br />
Of course these people often lack the originality, the skills and top of their lack of morality and respect.<span id="more-107"></span></p>
<p>This morning I got an unexpected email from someone I really respect for his work: <a title="EntitySpaces Team blog" href="http://www.entityspaces.net/blog/" target="_blank">Mike Griffin</a> of <a title="EntitySpaces" href="http://www.entityspaces.net/Portal/Default.aspx" target="_blank">EntitySpaces</a> fame (by the way, ES2009 looks terrific !). You may know him since he pioneered with a few others the OR/M in the .Net World and maybe from <a title="MyGeneration" href="http://www.mygenerationsoftware.com/portal/default.aspx" target="_blank">MyGeneration</a> a tool I used a lot. I&#8217;m just sorry he contacted me for such a sad story.<br />
He kindly warned me that my old favourite article on CodeProject was ripped off and copyrighted by a guy on Dreamincode.net.<br />
You can see here the 2002 original: <a title="CodeProject" href="http://www.codeproject.com/KB/recipes/command_line.aspx" target="_blank">http://www.codeproject.com/KB/recipes/command_line.aspx</a><br />
And before they delete it the 2008 ripoff: <a title="Dreamincode" href="http://www.dreamincode.net/forums/showtopic47895.htm" target="_blank">http://www.dreamincode.net/forums/showtopic47895.htm</a></p>
<p>Amazing no ? Actually I liked the layout of Psychocoder version of my article. I was suprised by Mike Griffin email and feel more curious than angry. The ripper copyright is even more restrictive than the original which is unacceptable. Overall I feel sorry for the guy that did that. He is harming my work. He is apparently a moderator of Dreamincode.net which cast a bad shadow on the website. He is trying hard to build his presence on Dreamicode.net and there is probably no bad ways to achieve his goal (and win the 25$ ?). It could be interresting to investigate further his contributions to find other possible ripoff.</p>
<p>This is quite a strange way to start the day.</p>
<p>Richard Lopes</p>
<p><em><strong>Edit:</strong> Chris Kenworthy the owner of the site <a title="Dream.In.Code" href="http://www.dreamincode.net/" target="_blank">Dream.In.Code</a> took the matter very seriously and resolved the issue promptly and efficiently. Actually it has been resolved the same day I was informed. Shortly after publishing this post he already had taken adequate action. Thank you very much Chris.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://siliconz.com/blog/2009/01/09/hello-you-have-been-ripped-off/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>My very first .Net articles</title>
		<link>http://siliconz.com/blog/2008/12/17/my-very-first-net-articles/</link>
		<comments>http://siliconz.com/blog/2008/12/17/my-very-first-net-articles/#comments</comments>
		<pubDate>Wed, 17 Dec 2008 00:22:09 +0000</pubDate>
		<dc:creator>rlopes</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[C#]]></category>

		<guid isPermaLink="false">http://sili.co.nz/blog/?p=73</guid>
		<description><![CDATA[

10 print "Hello World !"
20 goto 10
&#62; run
I&#8217;m trying to turn this blog into my personal technical hub.
To do so, I already linked it to my Facebook and twitter accounts, and I also have a FriendFeed account linking to my blog, Facebook, Twitter and LinkedIn accounts. But the real happenings occur here, on this blog.
Today&#8217;s [...]]]></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>
<p><code>10 print "Hello World !"<br />
20 goto 10<br />
&gt; run</code></p>
<p>I&#8217;m trying to turn this blog into my personal technical hub.<br />
To do so, I already linked it to my Facebook and twitter accounts, and I also have a FriendFeed account linking to my blog, Facebook, Twitter and LinkedIn accounts. But the real happenings occur here, on this blog.</p>
<p>Today&#8217;s topic is about linking back to my old .Net articles. They are pretty simple stuff, but they have been quite successful and still relevant today. Thanks to <a title="Code Project" href="http://www.codeproject.com" target="_blank">CodeProject</a> for the exposure. Thanks also to all the gentlemen you used my code and gave me credits. This is very much appreciated and I&#8217;m going to write new articles soon and give away code and solutions.<span id="more-73"></span></p>
<p>Ok, here are buried from the past (2002 !) my very first .Net articles:</p>
<ul>
<li><a title="Copy directories" href="http://www.codeproject.com/KB/files/copydirectoriesrecursive.aspx" target="_blank">http://www.codeproject.com/KB/files/copydirectoriesrecursive.aspx</a></li>
<li><a title="Xml errors log" href="http://www.codeproject.com/KB/cs/xml_error_log.aspx" target="_blank">http://www.codeproject.com/KB/cs/xml_error_log.aspx</a></li>
<li><a title="Command line parser" href="http://www.codeproject.com/KB/recipes/command_line.aspx" target="_blank">http://www.codeproject.com/KB/recipes/command_line.aspx</a></li>
</ul>
<p>&nbsp;</p>
<p>This brings back good memories <img src='http://siliconz.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  !</p>
<p>See you,</p>
<p>Richard Lopes</p>
]]></content:encoded>
			<wfw:commentRss>http://siliconz.com/blog/2008/12/17/my-very-first-net-articles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

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