Bing AppID Validation
-
Tuesday, June 19, 2012 5:10 AMhi, i got message from bing devloper team that The Bing Search API has moved to the Windows Azure Marketplace.Developers with existing AppIDs can continue using Bing Search API 2.0 until August 1, 2012. On and after this date, Bing Search API 2.0 AppIDs will no longer return results. Developers can continue using the API by signing up for it in the Windows Azure Marketplace.
i read on this link https://datamarket.azure.com/dataset/5BA839F1-12CE-4CCE-BF57-A49D98D29A44 they are not mention source type translation.so i just want to ask you can i create new token from Windows Azure Marketplace. or it is not neccessary. and i have confusion about microsoft translator and bing search api.
here is code where i am using appid:-
Dim Input As String = "Hello"
Dim FrLang As String = "en"
Dim ToLang As String = "ar"
Dim url As String = String.Format("http://api.bing.net/xml.aspx?AppId="MY APPID"&Query={0}&Sources=Translation&Version=2.2&Translation.SourceLanguage={1}&Translation.TargetLanguage={2}", Input, FrLang, ToLang)
Dim WebClient As WebClient = New WebClient()
result = WebClient.DownloadString(url)
'then i parse string & find translatedterm........
All Replies
-
Tuesday, June 19, 2012 2:41 PMModerator
The methodology is a little different with the Azure Marketplace.
Take a look at this thread to show how to get a token and use it to call translator using VB.NET.
http://social.msdn.microsoft.com/Forums/en-US/microsofttranslator/thread/3f9a270e-3360-4aa1-9eb8-669145298d45- Marked As Answer by Laurence MoroneyMicrosoft Employee, Moderator Tuesday, June 19, 2012 2:41 PM
- Unmarked As Answer by RICKY_XXX Wednesday, June 20, 2012 4:05 AM
-
Wednesday, June 20, 2012 4:14 AMhello,as per my code mention above i am not using any service or api still my app id get no longer use after 1 Aug.ok is it paid service of window azure marketplace??and it is neccessary to create token from window marketplace for my code mention above.
-
Wednesday, June 20, 2012 5:17 AMModerator
Translator has a free subscription for up to 2 million characters per month.
This is the only way to access the translator service, so it is necessary to create a token from marketplace (see my link for code to do this) in order to access the translator API.
For Bing Search services, this is the guidance:
Developers with existing AppIDs can continue using Bing Search API 2.0 until August 1, 2012. On and after this date, Bing Search API 2.0 AppIDs will no longer return results. Developers can continue using the API by signing up for it in the Windows Azure Marketplace. Read the Migration Guide and FAQs to get started.- Marked As Answer by Laurence MoroneyMicrosoft Employee, Moderator Thursday, June 21, 2012 2:43 PM
-
Wednesday, June 20, 2012 9:13 AM
ok thanks for replay , what is charges for translation word.it is accourding to number of word or query .e.g:-
Dim Input As String = "Hello"
Dim FrLang As String = "en"
Dim ToLang As String = "ar"
Dim url As String = String.Format("http://api.bing.net/xml.aspx?AppId="MY APPID"&Query={0}&Sources=Translation&Version=2.2&Translation.SourceLanguage={1}&Translation.TargetLanguage={2}", Input, FrLang, ToLang) -
Wednesday, June 20, 2012 11:54 AMModerator
The translation cost is based on number of characters. So, Hello will translate to Salut, which is 5 characters long.
-
Wednesday, June 20, 2012 12:29 PMwill i get free subscription for 2 million character each month after 1 august 2012?
- Edited by RICKY_XXX Thursday, June 21, 2012 4:09 AM
-
Thursday, June 21, 2012 2:43 PMModeratorYes, that's the idea. It's the Bing App ID methodology that is going away, replaced by the Windows Azure Marketplace. The Marketplace approach gives you the free 2m character subscription.

