What is the difference between JSONResult and ActionResult in MVC ?

In ASP.NET MVC, incoming browser requests gets mapped to a controller action method. The action method returns a type of ActionResult in response to the browser request.

JSONResult is returned by asynchronous posting inside the application by Jquery.This is used to populate data with out refreshing the page.

1 comments:

blogspot said...
This comment has been removed by the author.

Post a Comment

Related Posts Plugin for WordPress, Blogger...