By mswatcher
via weblogs.asp.net
Submitted: Dec 12 2012 / 07:39
In this blog post, I will demonstrate how to write unit tests for an ASP.NET MVC action method, which handles both Ajax request and normal HTTP Request. I will write a unit test for specifying the behavior of an Ajax request and will write another unit test for specifying the behavior of a normal HTTP request. Both Ajax request and normal request will be handled by a single action method.
Tweet
SaveShareSend
Tags: .net, ajax, frameworks, web design
Add your comment