Chapter 9. Connecting to the Web

IN THIS CHAPTER, WE WILL:

• Connect to cross-domain servers, talk about permissions and how to work around them.

• Place simple web requests (download and upload) with the WebClient class.

• Understand and handle networking errors.

• Send more complex requests with the HttpWebRequest class and talk about differences with the WebClient class.

• Discover the new networking stack and understand why it was needed.

• Handle XML and JSON-based responses.

• Set up and communicate with WCF services.

Silverlight applications are historically tightly bound to the World Wide Web. After all, even in the case of the so-called out-of-the-browser applications that we will study in Chapter 14, “Enhancing Line of Business Applications ...

Get Silverlight™ 4 Unleashed 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.