Accessing Server-Side Data from Client Script: Using WCF Services with jQuery and the ASP.NET Ajax Library

Wednesday Nov 17th 2010 by Scott Mitchell
Share:

This ASP.NET tutorial shows how to expose server-side data using Windows Communication Foundation (WCF) Services and how to consume that data from client-side script using the ASP.NET Ajax Library and jQuery.

Today's websites commonly exchange information between the browser and the web server using Ajax techniques - the browser executes JavaScript code typically in response to the page loading or some user action. This JavaScript makes an asynchronous HTTP request to the server. which then processes the request and, perhaps, returns data that the browser can then seamlessly integrate into the web page. Two earlier articles - Accessing JSON Data From an ASP.NET Page Using jQuery and Using Ajax Web Services, Script References, and jQuery, looked at using both jQuery and the ASP.NET Ajax Library on the browser to initiate an Ajax request and both ASP.NET pages and Ajax Web Services as the entities on the web server responsible for servicing such Ajax requests.

This ASP.NET tutorial continues our examination of techniques for implementing lightweight Ajax scenarios in an ASP.NET website. Specifically, it examines how to use the Windows Communication Foundation, or WCF, to server data from the web server and how to use both the ASP.NET Ajax Library and jQuery to consume such services from the client-side. To read the entire article, Accessing Server-Side Data from Client Script: Using WCF Services with jQuery and the ASP.NET Ajax Library, click here.

Related Article

Share:
Home
Mobile Site | Full Site
Copyright 2017 © QuinStreet Inc. All Rights Reserved