แก้ไข

แชร์ผ่าน


AJAX Integration and JSON Support

The Windows Communication Foundation (WCF) support for ASP.NET Asynchronous JavaScript and XML (AJAX) and the JavaScript Object Notation (JSON) data format allow WCF services to expose operations to AJAX clients. AJAX clients are Web pages running JavaScript code and accessing these WCF services using HTTP requests. The topics in this section provide information about this support and about how to implement it.

For more information about ASP.NET AJAX and its integration with ASP.NET 2.0, see ASP.NET AJAX Overview.

In This Section

Creating WCF Services for ASP.NET AJAX
Describes how a WCF service can be exposed to AJAX clients by adding the appropriate AJAX endpoint either through configuration or by using a service host factory customized to generate a service host that configures the AJAX endpoint automatically.

Creating WCF AJAX Services without ASP.NET
Describes how to create a WCF service without using ASP.NET.

Support for JSON and Other Data Transfer Formats
Describes the support of the JSON format typically used (instead of XML) for messaging with ASP.NET AJAX services.

How to: Migrate AJAX-Enabled ASP.NET Web Services to WCF
Describes how to migrate an AJAX-enabled ASP.NET Web service to a WCF Web service.

See also