Accessing Server-Side Data from Client Script: Using WCF Services with jQuery and the ASP.NET Ajax Library
Posted
on 4 Guys From Rolla
See other posts from 4 Guys From Rolla
Published on
Indexed on
2010/12/06
16:57 UTC
Read the original article
Hit count: 627
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 article 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 serve 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. Read on to learn more!
Read More >
© 4 Guys From Rolla or respective owner