Code Samples for the Live Search API

This section includes two sample applications, which you can use to test your AppID and to learn more about the Live Search Web Service Application Programming Interface (API). Both samples are written in Microsoft Visual C# 2005 for the Microsoft Visual Studio 2005 development environment. The sample topics include complete instructions for setting up and running the samples.

  • The Basic Console Application (C#) uses default input parameters and a hard-coded query string to demonstrate the basic functionality of the Live Search Web Service API.

  • The Comprehensive Windows Forms Application (C#) enables you to submit queries to, and return results from, the Live Search Web Service through an interactive Windows Forms that exposes all of the functionality available through the API. The source code is well-commented, and demonstrates how to configure requests and process responses from the search engine.

You can modify the code in both applications to produce useful applications, or use them as a learning tool to better understand the API.

See Downloadable Code Samples (Search) for links to samples describing how to call the Live Search Web Service API in a variety of programming languages.

Page view tracker