Accessing Server-Side Data from Client Script: Using Ajax Web Services, Script References, and ...

Posted on Internet.com See other posts from Internet.com
Published on Thu, 25 Nov 2010 05:00:00 +0100 Indexed on 2010/12/21 5:00 UTC
Read the original article Hit count: 119

Filed under:
Today's websites commonly exchange information between the browser and the web server using Ajax techniques. In a nutshell, 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. The server processes this request and, perhaps, returns data that the browser can then seamlessly integrate into the web page. Typically, the information exchanged between the browser and server is serialized into JSON, an open, text-based serialization format that is both human-readable and platform independent.Adding such targeted, lightweight Ajax capabilities to your ASP.NET website requires two steps: first, you must create some mechanism on

© Internet.com or respective owner