Invoking a service such as Bing.com

Many (large) websites expose services that we can use in our applications. Some of these expose a WSDL file and thus expose metadata that we can use to develop an application around them. One of these sites is Bing (www.bing.com), the search engine from Microsoft. The Bing API allows us to connect in several ways and interact with its services using many protocols. It also exposes a WSDL file to which we can connect from Visual Studio.

In this recipe, we'll build a Silverlight application that incorporates the services in Bing.

Getting ready

In this recipe, we're building the sample application from scratch. The finished solution for this recipe can be found in the Chapter07/SilverBing folder.

How to do it...

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.