1
shouts

Testing JsonResult in Asp.net MVC « Code: Impossible

posted by StevesSteves 364 days, 9 hours, 43 minutes ago
Wednesday, March 18, 2009 5:36:48 PM GMT

So lately I’ve been working on a project using Asp.net MVC and TDD to build a web 2.0 application. It’s a twitter-like application that I started a while ago but due to my failure to test everything I lost about 99% of my work and had to start over from scratch.

But this was sort of a good thing because it gave me a chance to revisit a lot of things that I wasn’t very happy with the first time around. I just got done adding the ability for users to post new messages via AJAX.

In the first version of the application a user would type their status into a textbox, click submit and the page would refresh with their new message at the top of their user wall. Although functional this wasn’t exactly very “web 2.0″-ish.

category: ASP.NET | clicked: 10 | | source: codeimpossible.com | show counter code
tags: ASP.NET, ASP.NET MVC, ASPNETMVC, JSON, unit testing

No comments yet, be the first one to post comment.

To post your comment please login or signup