Muokkaa

Jaa


AJAX

This section includes samples that demonstrate Asynchronous JavaScript and XML functionality.

In This Section

JSONP Demonstrates how to support JSON with Padding (JSONP) in WCF REST services.

JSON Serialization Demonstrates how to use the DataContractJsonSerializer to serialize and deserialize data in the JavaScript Object Notation (JSON) format.

Basic AJAX Service Demonstrates how to use WCF to create a basic ASP.NET Asynchronous JavaScript and XML (AJAX) service.

AJAX Service Using HTTP POST Demonstrates how to use WCF to create an ASP.NET Asynchronous JavaScript and XML (AJAX) service that uses HTTP POST.

AJAX Service Without Configuration Demonstrates how to use WCF to create a basic ASP.NET Asynchronous JavaScript and XML (AJAX) service.

AJAX Service Using Complex Types Demonstrates how to use WCF to create an ASP.NET Asynchronous JavaScript and XML (AJAX) service that creates instances of complex types.

AJAX Service with JSON and XML Demonstrates how to use WCF to create an Asynchronous JavaScript and XML (AJAX) service that returns either JavaScript Object Notation (JSON) or XML data.