This example shows how an ActionResult can return a JSON response.

Click $link to call the server using Ajax.