I am integrating bing search API in my C# Class Library project and it is not working! Could you help me with it?
I am following the 'Bing APi Migration Guide' located
here and have downloaded a copy of BingSearchContainer.cs from here.
Here is the code in my application
URL - https://api.datamarket.azure.com/Bing/Search/
Subscription - 5000 transactions/month on Bing Search API
The webQuery.Execute method is not working and I am not getting the expected results
Firstly, the webQuery has a '()' appended at the end of the URL. After calling the bingContainer.Web methof, the query is something like https://api.datamarket.azure.com/Bing/Search/Web()?Query='iphone
Here is the output that I received on executing the Query.. I am not seeing any results in it
Why you add this "()" to your query string?
I follow the migrate guide and it works for me.
Your bingContainer.Web method should look similar to this:
var webQuery = bingContainer.Web("XBox",
"Moderate", 0, 0,
After processing the line above, examine the property:
...to review the results returned.
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.
Would you like to participate?