Returning JsonResult From ASP.NET MVC 2.0 Controller and Unit Testing

Posted on Dot net Slackers See other posts from Dot net Slackers
Published on Sat, 15 May 2010 00:00:00 GMT Indexed on 2010/05/15 6:44 UTC
Read the original article Hit count: 300

Filed under:
This post will show how to return a simple Json result from an ASP.NET MVC 2.0 web project.  It will show how to test that result inside a unit test and essentially pick apart the Json, just... This site is a resource for asp.net web programming. It has examples by Peter Kellner of techniques for high performance programming...

Did you know that DotNetSlackers also publishes .net articles written by top known .net Authors? We already have over 80 articles in several categories including Silverlight. Take a look: here.



Email this Article

© Dot net Slackers or respective owner

Returning JsonResult From ASP.NET MVC 2.0 Controller and Unit Testing

Posted on Dot net Slackers See other posts from Dot net Slackers
Published on Sat, 15 May 2010 00:00:00 GMT Indexed on 2010/05/15 4:44 UTC
Read the original article Hit count: 300

Filed under:
This post will show how to return a simple Json result from an ASP.NET MVC 2.0 web project.  It will show how to test that result inside a unit test and essentially pick apart the Json, just like a JavaScript (or other client) would do.  It seems like it should be very simple (and indeed, [...]...

Did you know that DotNetSlackers also publishes .net articles written by top known .net Authors? We already have over 80 articles in several categories including Silverlight. Take a look: here.



Email this Article

© Dot net Slackers or respective owner