The Live Search Web Service enables you to create applications that return results from the Live Search Engine. Applications are developed in any Microsoft .NET language for Windows or the Web.
Follow these steps to get started with the Live Search Web Service:
- Read the SDK on MSDN or download the SDK to your machine. The SDK documentation describes the core concepts, requirements, development guidelines, and class library for the Live Search Web Service. The SDK also contains sample code that demonstrates application development techniques using the Live Search Web Service.
- In your Visual Studio project, add a Web Reference to the Live Search Web Service WSDL at http://soap.search.live.com/webservices.asmx?wsdl.
- Point your browser to http://search.live.com/developer and click Create and Manage Application IDs.
- Sign in with your Windows Live ID. If you don’t have a Windows Live ID account, you can create one at the site.
- In the Application Name text box on the Get an App ID page, type a friendly name for your application.
- Click I Accept to indicate that you have read and accepted the Terms of Use. The Developer Provisioning System creates and registers a unique Application ID for your application. Copy the Application ID and paste it into your source code as the value for the AppID. For example, in Visual C#®, you would add the following code to your SearchRequest:
searchRequest.AppID = "185A8FADA7931D06D119C2FC1FF104";
Replace 185A8FADA7931D06D119C2FC1FF104 with your unique Application ID supplied by the Developer Provisioning System.
- Build and test your application.
Your use of the Live Search Web Service is limited by the Terms of Use specified in the Developer Provisioning System when you request an Application ID. Ensure that your application complies with the terms of this agreement before you retrieve results from the Live Search Engine.