Chapter 7. Talking to WCF and ASMX Services

In this chapter, we will cover:

  • Invoking a service that exposes data
  • Invoking a service such as Bing.com
  • Handling faults when calling a service
  • Optimizing performance using binary XML
  • Using duplex communication
  • Using duplex communication with the net.tcp protocol
  • Debugging WCF service errors with Silverlight
  • Ensuring that data is encrypted
  • Securing service communication using message-based security
  • Uploading files to a WCF service
  • Displaying images as a stream from a WCF service
  • Hooking into proxy creation using slsvcutil.exe
  • Calling a WCF service from Silverlight using ChannelFactory

Introduction

When building services in .NET, most developers will choose WCF (Windows Communication Foundation). WCF was introduced ...

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.