none
Is there a different URL for the production usage of Bing Maps REST api than dev.virtualearth.net? Something like prod.virtualearth.net? RRS feed

  • Question

  • Is this the actual URL we should use in our applications? Starting with 'dev' made me question whether there is a 'prod' or some other url to use in our deployed applications.

    dev.virtualearth.net/REST/v1/

    Sunday, June 29, 2014 10:18 PM

Answers

  • No. The dev stands for "Developer API", and not "development environment". To keep things easy Bing Maps allows you to create different types of keys for accessing the service. A Basic or Trial key can be used for development (I recommend basic keys as trials expire after 90 days). Enterprise keys should only be used for production. Basic keys can also be used for production of apps that fall under the free terms of use. The reason keys are used rather than different end points is that this allows you to test your app on the same environment as you would have your production app. This ensures that the app will work the exact same in production as it does in staging/development. This also drastically reduces the amount of code changes required by some developers as they simply need to update the key and not all the end points to the Bing Maps services (something that in the past often resulted in one or two being missed and production issues occurring)

    http://rbrundritt.wordpress.com

    Monday, June 30, 2014 9:40 AM
  • The dev.virtualearth URL's are the production URL's. Bing Maps doesn't provide staging/non-production URL's. All the url's for the platform are production URL's. This was done several years ago as many developers either wanted to test their app in production, or forgot to move their app to production URL's when they went into production and had issues. It was decided to get rid of non-production URL's/staging environment and let all users access the production API and handle the usage by authentication key. If you use a trial or basic Bing Maps key then you will be limited to the free terms of use. These keys are typically used during the development phase of a project.

    http://rbrundritt.wordpress.com

    Thursday, June 11, 2015 5:13 PM
  • No real difference any more. The "ecn" was introduced when Bing Maps first startedusing a CDN for caching. This was only used for the V7 map control and map tiles. Not for the REST services. Bing Maps V8 uses a bing.com URL now and also uses a CDN, but doesn't need "ecn" in the URL. Virtual Earth is the name Bing Maps had before the Bing name was introduced in 2009.

    [Blog] [twitter] [LinkedIn]

    Wednesday, October 12, 2016 6:19 PM

All replies

  • No. The dev stands for "Developer API", and not "development environment". To keep things easy Bing Maps allows you to create different types of keys for accessing the service. A Basic or Trial key can be used for development (I recommend basic keys as trials expire after 90 days). Enterprise keys should only be used for production. Basic keys can also be used for production of apps that fall under the free terms of use. The reason keys are used rather than different end points is that this allows you to test your app on the same environment as you would have your production app. This ensures that the app will work the exact same in production as it does in staging/development. This also drastically reduces the amount of code changes required by some developers as they simply need to update the key and not all the end points to the Bing Maps services (something that in the past often resulted in one or two being missed and production issues occurring)

    http://rbrundritt.wordpress.com

    Monday, June 30, 2014 9:40 AM
  • I may have missed it from your answer, but I don't see you are answering the OP question.. what's the Bing Map REST production URL to use?

    Wednesday, June 10, 2015 9:08 PM
  • The dev.virtualearth URL's are the production URL's. Bing Maps doesn't provide staging/non-production URL's. All the url's for the platform are production URL's. This was done several years ago as many developers either wanted to test their app in production, or forgot to move their app to production URL's when they went into production and had issues. It was decided to get rid of non-production URL's/staging environment and let all users access the production API and handle the usage by authentication key. If you use a trial or basic Bing Maps key then you will be limited to the free terms of use. These keys are typically used during the development phase of a project.

    http://rbrundritt.wordpress.com

    Thursday, June 11, 2015 5:13 PM
  • A little late to the discussion but I've seen both 

    https://dev.virtualearth.net/

    and 

    https://ecn.dev.virtualearth.net/

    What's the difference?

    Tuesday, October 11, 2016 7:35 PM
  • No real difference any more. The "ecn" was introduced when Bing Maps first startedusing a CDN for caching. This was only used for the V7 map control and map tiles. Not for the REST services. Bing Maps V8 uses a bing.com URL now and also uses a CDN, but doesn't need "ecn" in the URL. Virtual Earth is the name Bing Maps had before the Bing name was introduced in 2009.

    [Blog] [twitter] [LinkedIn]

    Wednesday, October 12, 2016 6:19 PM