difference between jsonresult and actionresult
Reference from-. http://iforinterview.blogspot.in/2010/12/what-is-difference-between-jsonresult.html. 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. In ASP.NET MVC, incoming browser requests gets mapped to a controller action method.
So without wasting time, letâs get the difference in one sentence: âActionResult is an abstract parent class from which ViewResult class has been derivedâ. So when you see MVC controller and action codes as shown below: