Chapter 6. Talking to Services

In this chapter, we will cover:

  • Connecting and reading from a standardized service
  • Persisting data using a standardized service
  • Configuring cross-domain calls
  • Working cross-domain from a trusted application
  • Reading XML using HttpWebRequest
  • Reading out an RSS feed
  • Aggregating RSS feeds
  • Talking with services in the Windows Azure cloud
  • Persisting data to and reading data from the Windows Azure cloud
  • Using socket communication

Introduction

Looking at the namespaces and classes in the Silverlight assemblies, it's easy to see that there are no ADO.NET-related classes available in Silverlight. Silverlight does not contain a DataReader, a DataSet or any option to connect to a database directly. Thus, it's not possible to define a connection ...

Get Silverlight 4 Data and Services Cookbook 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.