In order to view the control you need to install Silverlight 2 RTW for you Browser.
You will be prompted to download or can install it from here: http://silverlight.net

To setup and develop with this project you will need to be running Visual Studio 2008 and Install the bits for Silverlight2 RTW development.
Follow the sets from here:
http://silverlight.net/GetStarted/

When you open the solution you must currently set the startup project to one of the web projects and the startup page to default.aspx in your solution.
There is currently 3 web projects for you to choose from:
  • "\Prototype\DeepEarthPrototypeWeb" is where test new functionlaity, full of example buttons.
  • "\Examples\VirtualEarth\VEDeepEarthExampleWeb" is the completed functionality for Virtual Earth.
  • "\Examples\OpenStreetMap\OSMDeepEarthExampleWeb" is an alternate Tile Provider - OpenStreetMaps.
  • "\Examples\LocalMaps\LocalMapsExampleWeb" is a Local Tile Provider - small local tile set located in the \LocalMapsExampleWeb\ClientBin\bluemarble folder.

In order to run a Virtual Earth project you need to get a Developer Account with Microsoft Virtual Earth and get an ID and Password. You need to put these credientals into the web.config file for VE project. The OpenStreetMap example does not need this.

*You need to get a Virtual Earth Web Service (VEWS) ID and password
by setting up a developer account at https://mappoint-css.live.com/mwssignup
in order to use VE tiles and services. A free 90 day account takes about 2 hours
to be provisioned.*

Here are two 20min videos to guide you through the solution:
http://silverlight.services.live.com/31868/DeepEarthCodeAboutPart1/video.wmv
http://silverlight.services.live.com/31868/DeepEarthCodeAboutPart2/video.wmv

Having problems connecting to VE from inside a corporate network?

1) IPV6 - If you have IPV6 installed then the TileServer is trying to use ::1 as the local IP address and this will fail. Remove the ::1 entry from your hosts file to fix this.
2) If your corporate network uses a proxy server then you may need to put the proxy information in your web.config. For example, my network has the proxy set by a script so I needed the following:

<system.net>
<defaultProxy>
<proxy usesystemdefault="False" scriptLocation="URL to script"/>
</defaultProxy>
</system.net>

3) TokenService currently does a catch(Exception). If you change that to catch(Exception ex) then you will be able to see a meaningful error message. Workitem 3560 tracks adding that permamently



Last edited Jan 14, 2009 at 2:29 AM by soulsolutions, version 9

Comments

soulsolutions Feb 16, 2010 at 10:55 PM 
The silverlight streaming service that hosted those videos was closed unfortuneatly.
We're still in the process of creating a brand new release with easier to understand samples.
The whole Virtual Earth token thing is now obsolute, the new Bing Maps ApplicationID is super simple to use.
Expect a brand new release very soon with full Silverlight 3 support, the latest Bing Maps control and a really good set of examples :)

amberwine Feb 16, 2010 at 5:41 PM 
This is a fascinating and useful project but its a real shame that the solution is difficult to build with loads of build errors. Also, the two links to the tutorial videos (above ) appear to be broken. Some examples of the problems in building include:

1. Ambiguous reference to MouseWheelEventArgs (easy to fix by adding a using statement to DeepEarth.Controls.MouseControl.cs)
2. The 4 Service references in DeepEarth.Provider.VirtualEarth that dont update properly. (much more obscure - I tried Update Service Reference but to no avail. It seemed to fix the problem, but the broken references returned almost immediately. Perhaps because I dont have a VEWS ID yet???)

It would be great to have a version that was not so dependent upon Virtual Earth - e.g. one that used OpenStreetMaps by default ought to be easier to get up and running without the necessity to apply for an ID and password for Virtual Earth. What happens when the VE ID expires after 90 days? Will they give you another or is that it?