Microsoft Developer Network > Forums Home > Windows Live Developer Forums Forums > Bing Maps: Map Control Development > Using ApplicationID instead of Token Service in Virtual Earth Silverlight Control
Ask a questionAsk a question
 

AnswerUsing ApplicationID instead of Token Service in Virtual Earth Silverlight Control

  • Wednesday, October 28, 2009 11:09 PMRoyClem Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    According to this link, since I'm using the Silverlight Map control, I don't need to use the Token service to return a token when using the Virtual Earth Web Services.  Instead, all I need do is create a Credentials object that contains the ApplicationID.

    Thus: 

    var geocodeRequest = new GeocodeService.GeocodeRequest
    {
         Credentials = new GeocodeService.Credentials { ApplicationId = "943fd0414ead4ff2b6f9e8254e21235d" },
      };

    My question is, what is the source for the ApplicationID value? I have a web service account id to use the Bings Map Token Service, but it looks nothing like the above.

    Thanks!

Answers

  • Saturday, October 31, 2009 2:45 PMRichard_BrundrittMVP, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    I would recommend waiting until the Silverlight control is officially released as the application id you will get will be tied to the CTP release and when the Silverlight control is released the CTP credentials will more than likely disabled. This would in turn break your app.
    Windows Live Developer MVP - http://rbrundritt.spaces.live.com

All Replies

  • Saturday, October 31, 2009 2:45 PMRichard_BrundrittMVP, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    I would recommend waiting until the Silverlight control is officially released as the application id you will get will be tied to the CTP release and when the Silverlight control is released the CTP credentials will more than likely disabled. This would in turn break your app.
    Windows Live Developer MVP - http://rbrundritt.spaces.live.com