How to use Google,Live Search In asp.net web application
-
8 mai 2009 19:39Hi all,
I am building a small web application that needs to ger web, news and images results from google and live search,.
And i want to display the result in desired division i.e images, web,news different
Gagandeep Singh
Toate mesajele
-
8 mai 2009 20:48
Documentation on how to use Live Search API can be found here: http://msdn.microsoft.com/en-us/library/dd251056.aspx. Since you are using ASP.NET I would recommend using either the SOAP interface or, if you are aiming for an AJAX implementation, our JSON interface.
As for Google, they only have a JSON interface, so you have a choice of AJAX or you can write a WCF REST client for their service. Try searching on http://www.live.com/search?q=google+search+api for Google API resources.
Eric Carter - SDET II - Live Search API- Propus ca răspuns de Eric Carter MSFT 8 mai 2009 23:54
-
12 mai 2009 17:00Thanks eric, but can you explain me more what is the difference between SOAP and JSON INTERFACE
Gagandeep Singh -
12 mai 2009 17:36Proprietar
Please read the documentation.
You can fundamental information on what JSON is at http://www.json.org/, on what SOAP is at http://www.w3.org/TR/2007/REC-soap12-part0-20070427/
In the context of the Live Search API, there is absolutely no difference between any of the protocols - only the serialization format and the protocol to receive parameters change. The back end is the same.
HTH
--Alessandro- Marcat ca răspuns de AlessCOwner 12 mai 2009 17:36