How to integrate JSON web services in an ASP.NET AJAX web application: a brief tutorial.

In this brief tutorial, we'll see how to leverage the ASP.NET AJAX infrastructure to call remote JSON web services from client script.

In the first part, JSON and its main advantages will be introduced,

in the second part, we'll see how to call a remote JSON web service from client script, with the use of a proxy service. We'll see how the ASP.NET AJAX framework makes calling local web services from client script a very easy task, and how tidily this is done. We'll also get introduced to some useful methods of the AJAX Client Library.

Finally, in the third part, we'll see how to elaborate the JSON response returned from the web service in the server side code of our proxy, before sending it back to the client. To do this, we'll see how to leverage the ASP.NET AJAX infrastructure both on the server and on the client side, to serialize / deserialize data to / from JSON.

  1. JSON in ASP.NET Ajax: First words
  2. JSON in ASP.NET Ajax: Part 2. Calling a remote JSON Web Service from client script
  3. JSON in ASP.NET Ajax: Part 3. Server side deserialization and elaboration of JSON data returned from a Web Service.
Technorati Tag: , , , , , ,

kick it on DotNetKicks.com Digg!

Comments

# re: How to integrate JSON web services in an ASP.NET AJAX web application: a brief tutorial.
Gravatar Great piece
Left by Michael Potikian on 3/13/2008 7:31 PM

Leave Your Comment

Title*
Name*
Email (never displayed)
 (will show your gravatar)
Url
Comment*

Please add 8 and 3 and type the answer here:

Preview Your Comment.