Searching the web using the smart-house application
The Bing Web Search API provides us with a search experience similar to what we find at http://bing.com/search. It returns results that are relevant to any queries.
A response for any request to this API will contain web pages, images, videos, and news articles. In a typical scenario, this is the API you would use for any of these searches.
Note that, in a real-life scenario, all requests should be made from a server-side application, not from a client, as we do in this example.
Note
If you have not already done so, sign up for the Bing Web Search API at https://portal.azure.com. You can read more on the API at https://azure.microsoft.com/en-us/services/cognitive-services/bing-web-search-api/.
Preparing the application for web searches
Before diving into the required technicalities for web searches, we are going to prepare our smart-house application.
Add a new View in the Views
folder called BingSearchView.xaml
. At the very least, this should...