Communicating with the web site


show more Communicating with the web site provides you with in-depth training on Developer. Taught by Walt Ritscher as part of the Visual Studio 2010 Essential Training show less
please wait ...

Communicating with the web site

I'd like to show you how to connect to web servers and retrieve information. The site I'm going to use for the project is bing.com. I'll start by looking at how Bing queries are formatted. As you can see, I have the Bing web site open and in the URL, I'm going to change the query string to show you how our queries really run against the Bing servers. I'm going to type the word "search" and then a question mark, and then the letter q= and then my search term, wpf, and press Enter. So let's examine this search query.

The search means you want to do a search, the q stands for query, and then the equal sign says to assign the WPF string to the query string. If I change this to another word, say "lynda", then you see I now have a different search query. Now, one of many interesting things that Bing does that a lot of the other search engines don't do is that if you put an ampersand here, and then say format=rss, it will return your search result...

Communicating with the web site
Video duration: 7m 15s 8h 9m Intermediate

Viewers:

Communicating with the web site provides you with in-depth training on Developer. Taught by Walt Ritscher as part of the Visual Studio 2010 Essential Training

please wait ...