XML Code Samples (Hit Highlighting)
Bing
This topic contains code samples that produce an XML requests for the Web SourceType, illustrating the Hit Highlighting option. For more information, see Web SourceType (Bing, Version 2) and Hit Highlighting.
Requirements
-
A deployment computer with an Internet connection
-
The ability to send requests using Hyper Text Transfer Protocol (HTTP 1.1)
-
The ability to parse XML
Demonstrates
These code samples demonstrate how to:
-
Send a request to the Bing XML interface and the Web SourceType
-
Display the Bing response as results
The samples are written in both Visual Basic and C#.
Example
Show: