The samples in this section show how to use Asynchronous JavaScript and XML (AJAX).
In This Section
- JSON Serialization
-
Demonstrates how you can use DataContractJsonSerializer to serialize and deserialize data in the JavaScript Object Notation (JSON) format.
- Basic AJAX Service
-
Demonstrates how to use Windows Communication Foundation (WCF) to create a basic ASP.NET Asynchronous JavaScript (AJAX) service (a service that you can consume using JavaScript code from a Web browser client). The service uses the WebGetAttribute attribute to ensure that the service responds to HTTP GET requests and is configured to use the JSON data format for responses.
- AJAX Service Using HTTP POST
-
Demonstrates how to use WCF to create an AJAX service (a service that you can consume using JavaScript code from a Web browser client) that utilizes the HTTP POST verb.
- AJAX Service Without Configuration
-
Demonstrates how to use WCF to create an AJAX service (a service that you can access by using basic JavaScript code from a Web browser client) without using any configuration settings.
- AJAX Service Using Complex Types Sample
-
Demonstrates how to use WCF to create an AJAX service that creates complex types and sends them between service and client as JavaScript Object Notation (JSON).
- AJAX Service with JSON and XML Sample
-
Demonstrates how to use WCF to create an AJAX service that returns either JSON or XML data.
See Also
© 2007 Microsoft Corporation. All rights reserved.