Web Services for ASP.NET AJAX Applications

Let's start examining the steps required to build an ASP.NET AJAX service using an .asmx endpoint. The service is part of a server layer that your pages interact with using JavaScript.

Web Services as Application-Specific Services

ASP.NET doesn't just let you call into any SOAP-based Web services from JavaScript. When you take advantage of AJAX extensions for ASP.NET, you use JavaScript to place calls into some server code within the boundaries your own application and domain. In some way, the application server code must be exposed to the client. The way in which this happens depends on the capabilities of the platform. In ASP.NET 2.0 with AJAX Extensions installed, you can rely only on ASP.NET XML Web ...

Get Programming Microsoft® ASP.NET 3.5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.