<?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: Returning JsonResult From ASP.NET MVC 2.0 Controller and Unit Testing</title>
	<atom:link href="http://peterkellner.net/2010/05/14/unit-test-jsonresult-aspnet-mvc-reflection/feed/" rel="self" type="application/rss+xml" />
	<link>http://peterkellner.net/2010/05/14/unit-test-jsonresult-aspnet-mvc-reflection/</link>
	<description>Microsoft Focussed, JavaScript (ExtJS, SenchaTouch &#38; Windows 8 Metro)</description>
	<lastBuildDate>Wed, 08 Feb 2012 21:38:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: brakes</title>
		<link>http://peterkellner.net/2010/05/14/unit-test-jsonresult-aspnet-mvc-reflection/comment-page-1/#comment-28414</link>
		<dc:creator>brakes</dc:creator>
		<pubDate>Wed, 27 Oct 2010 20:14:04 +0000</pubDate>
		<guid isPermaLink="false">http://peterkellner.net/2010/05/14/unit-test-jsonresult-aspnet-mvc-reflection/#comment-28414</guid>
		<description>O thanks for the link Peter, I was looking at the code and found this page which also lead me to the post by Heartattack. Thanks!</description>
		<content:encoded><![CDATA[<p>O thanks for the link Peter, I was looking at the code and found this page which also lead me to the post by Heartattack. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://peterkellner.net/2010/05/14/unit-test-jsonresult-aspnet-mvc-reflection/comment-page-1/#comment-27662</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Wed, 26 May 2010 02:02:43 +0000</pubDate>
		<guid isPermaLink="false">http://peterkellner.net/2010/05/14/unit-test-jsonresult-aspnet-mvc-reflection/#comment-27662</guid>
		<description>Please see the comment just added at the top of this post with a referral to a great post by HeartattacK on the same subject.</description>
		<content:encoded><![CDATA[<p>Please see the comment just added at the top of this post with a referral to a great post by HeartattacK on the same subject.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DBJ</title>
		<link>http://peterkellner.net/2010/05/14/unit-test-jsonresult-aspnet-mvc-reflection/comment-page-1/#comment-27642</link>
		<dc:creator>DBJ</dc:creator>
		<pubDate>Thu, 20 May 2010 00:56:25 +0000</pubDate>
		<guid isPermaLink="false">http://peterkellner.net/2010/05/14/unit-test-jsonresult-aspnet-mvc-reflection/#comment-27642</guid>
		<description>@Peter: Visual studio unit test project, begs the question ;o)
qunit.js gives me the opportunity to apply the testing methodology to my RIA projects, quite successfully. Pardon é moi, but I can not see what is the advantage of VS/C# unit tests? Or better validity? 

PHP: yes it is simpler but then it is too simple too. I am doing XML and JSON using ASP since 2001. I have no issue with C#. ASP.NET+MVC is tragic over-engineering, I think. Based on wrong kind of OO, I also dare to think. 
MVVM is better, but then curiously it is classified as &quot;UI architectural pattern&quot; ?</description>
		<content:encoded><![CDATA[<p>@Peter: Visual studio unit test project, begs the question ;o)<br />
qunit.js gives me the opportunity to apply the testing methodology to my RIA projects, quite successfully. Pardon é moi, but I can not see what is the advantage of VS/C# unit tests? Or better validity? </p>
<p>PHP: yes it is simpler but then it is too simple too. I am doing XML and JSON using ASP since 2001. I have no issue with C#. ASP.NET+MVC is tragic over-engineering, I think. Based on wrong kind of OO, I also dare to think.<br />
MVVM is better, but then curiously it is classified as &#8220;UI architectural pattern&#8221; ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://peterkellner.net/2010/05/14/unit-test-jsonresult-aspnet-mvc-reflection/comment-page-1/#comment-27641</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Thu, 20 May 2010 00:23:52 +0000</pubDate>
		<guid isPermaLink="false">http://peterkellner.net/2010/05/14/unit-test-jsonresult-aspnet-mvc-reflection/#comment-27641</guid>
		<description>Hi DBJ,

I totally agree that the html page would be simpler and definitely makes the case for having browser based testing.  My idea here is to have test testing itself run all in c# in a visual studio unit test project.  That&#039;s the reason for all the ugly encoding and decoding of javascript.

I do see the simplicity of php and do like that.  unit testing though really is for another purpose.  I think you&#039;d have the same fundadmental problems using php if you wanted to test without a browswer in the picture.  That is, just test the controller logic.

Thanks for you comments!</description>
		<content:encoded><![CDATA[<p>Hi DBJ,</p>
<p>I totally agree that the html page would be simpler and definitely makes the case for having browser based testing.  My idea here is to have test testing itself run all in c# in a visual studio unit test project.  That&#8217;s the reason for all the ugly encoding and decoding of javascript.</p>
<p>I do see the simplicity of php and do like that.  unit testing though really is for another purpose.  I think you&#8217;d have the same fundadmental problems using php if you wanted to test without a browswer in the picture.  That is, just test the controller logic.</p>
<p>Thanks for you comments!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DBJ</title>
		<link>http://peterkellner.net/2010/05/14/unit-test-jsonresult-aspnet-mvc-reflection/comment-page-1/#comment-27640</link>
		<dc:creator>DBJ</dc:creator>
		<pubDate>Thu, 20 May 2010 00:17:22 +0000</pubDate>
		<guid isPermaLink="false">http://peterkellner.net/2010/05/14/unit-test-jsonresult-aspnet-mvc-reflection/#comment-27640</guid>
		<description>Correct me if I am wrong, but would  it be simpler, and a bit more valid, if this is tested from an html page, using JavaScript only?
(side note:
On the server side, I am totally lost trying to answer why is it done as it is done? Not your code Peter, but this whole &quot;MVC2 solution&quot;. Certainly &quot;over-engineering&quot; has been elevated to new heights by ASP.NET &quot;evangelists&quot; here. No wonder PHP is so successful , yet in the same time &quot;inferior&quot; to ASP.NET.
)</description>
		<content:encoded><![CDATA[<p>Correct me if I am wrong, but would  it be simpler, and a bit more valid, if this is tested from an html page, using JavaScript only?<br />
(side note:<br />
On the server side, I am totally lost trying to answer why is it done as it is done? Not your code Peter, but this whole &#8220;MVC2 solution&#8221;. Certainly &#8220;over-engineering&#8221; has been elevated to new heights by ASP.NET &#8220;evangelists&#8221; here. No wonder PHP is so successful , yet in the same time &#8220;inferior&#8221; to ASP.NET.<br />
)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://peterkellner.net/2010/05/14/unit-test-jsonresult-aspnet-mvc-reflection/comment-page-1/#comment-27632</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Wed, 19 May 2010 00:57:01 +0000</pubDate>
		<guid isPermaLink="false">http://peterkellner.net/2010/05/14/unit-test-jsonresult-aspnet-mvc-reflection/#comment-27632</guid>
		<description>If anyone knows how to solve the Controller Test side using a &#039;non&#039; reflector type solution (such as .net 4.0 dynamic type), I&#039;d love to see that.  Please post a comment with details.  -Thanks</description>
		<content:encoded><![CDATA[<p>If anyone knows how to solve the Controller Test side using a &#8216;non&#8217; reflector type solution (such as .net 4.0 dynamic type), I&#8217;d love to see that.  Please post a comment with details.  -Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced)
Database Caching 9/25 queries in 0.154 seconds using disk

Served from: peterkellner.net @ 2012-02-10 06:40:46 -->
