Exercise 1: Create a Bing Maps Account
In this Exercise, you will create a Bing Maps Account so that you can use the Bing Maps Silverlight control and API to render maps in a Web application. In later exercises, you will use the resulting API key to run the control.
Task 1 – Registering a Bing Maps Developer Account
In this task, you will register for a Bing Maps developer account. If you already have a developer account, you may skip to Task 2.
- Open Internet Explorer and browse to https://www.bingmapsportal.com.
- In the New User section, click Create.
- On the Create an account page, complete the Account details section and click Save.
- Log off the Portal by clicking the Log Off link.
Task 2 – Creating an Application Key
In this task, you will create a unique application key for use in your development environment. Bing Maps identifies applications with a key. You will pass this key in your requests for Bing Maps services
- Open a browser and browse to https://www.bingmapsportal.com.
- In the Existing User section, click Sign In. Enter the Windows Live credentials that you used to create your account.
- In the Map APIs section of the navigation, choose Create or view keys.
- On the My keys page in the Create key section, enter an application name and URL suitable for your application, for example:
- Application Name: Windows Phone Demo
- Application URL: http://fbawp7
- Application Type: Developer
- Click Submit.
- Your unique application key will be displayed below the Create key section.
.png)
Figure 1Bing Maps Application Key
- Copy the key to the clipboard.