Integrating virtual earth customer identification feature in our web application
The recent virtual earth map control provides users the chance to integrate a customer identification feature into their application. This feature provides customers chance to view reports.
For integrating the virtual earth Platform customer identification feature into our web application, first we have to use out virtual earth credentials to get a token. This token consists of encrypted information, which includes the end-clients IP address and our virtual earth platform developer account ID.
Set the token in the map control instance, which is loaded in the client’s browser and after this requests are made to virtual earth from our application which are identified as requests made from you. These requests are logged by virtual earth platform and then you can view virtual earth platform logs reports on the virtual earth platform customer services site.
The detailed description of these steps is described in the following section.
Signing up for a developer account: If you want to make use of customer identification feature then you have to sign up for a virtual earth platform developer account. To sign up for an account you require a windows live ID. You can get the access for the virtual earth platform customer services site when you set up your virtual earth platform developer account. When you will give first visit to the customer services site you are asked to set up your virtual earth platform developer account password.
Adding a reference in virtual earth platform token service: A token should be retrieved from virtual earth platform before the loading of the virtual earth map control into the end-client’s browser. Virtual earth platform offers you a safe SOAP API that consists of GetClientToken method for accomplishing this. For making use of virtual earth platform token service, you require your virtual earth platform credentials, which should contain your developer account ID and your developer account password. Microsoft offers staging environment for testing your application and it also offers production environment.
Staging environment: You can make use of staging environment for developing and testing new applications.
Production environment: The production environment is scaled for the virtual earth platform customers. You can make use of this production environment if your application is displayed to the public via internet including beta, live, prerelease and environment types of applications. To have access for the production environment, you should be a licensed customer.
If you are making use of ASP.net for building your application then you should insert a web reference in your web application to the virtual earth platform staging token service.
Retrieving a token: The GetClient Token method brings a Token Specification object consists of two pieces of information:
Client’s IP address: You are able to extract this kind of information from the client HTTP headers by making use of request.getRemoteHost () method.
The time length of token: tokens are always issued for a particular time length. You have to mention a number of minutes range from 15 to 480.
Technorati Tags: Microsoft, virtual earth, using virtual earth, features of virtual earth,
Tags: Microsoft Virtual Earth
























