O'Reilly logo

Microsoft Silverlight 5 Data and Services Cookbook by Kevin Dockx, Gill Cleeren

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Invoking a service such as Bing.com

Applies to Silverlight 3, 4 and 5

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 Chapter08/SilverBing ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required