Compartir a través de


Accessing HTTP and REST-Based Services Directly

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Some Web services can be accessed directly by Silverlight clients without going through a proxy. These services are described as HTTP-based services. They use human-readable metadata rather the machine-readable metadata that proxy-generation requires. HTTP-based services must be accessed directly using HTTP requests. The Silverlight control developer needs to be aware of the format and structure of the data returned. Some common formats include XML, JSON, and RSS or Atom. This section describes some of the convenient mechanisms for working with these data formats.

Other Web services describe their functionality using machine-readable metadata and are accessed through a proxy that is generated using a tool. For more information about using proxies, see Building and Accessing Services Using Proxies.

In This Section

  • Working with XML Data
    Describes the options available to Silverlight applications for parsing XML data from an HTTP-based Web service.
  • Working with JSON Data
    Describes the options available to Silverlight applications for parsing JSON data from an HTTP-based Web service.

Send comments about this topic to Microsoft.

Copyright © 2010 by Microsoft Corporation. All rights reserved.