Community of VE/MapPoint Users and Developers
This is a discussion on Virtual Earth Application Upgrade Testing with Fiddler within the Virtual Earth Blogs forums, part of the Blogs category; With the imminent deprecation of Virtual Earth Versions 3, 4 and 5 (August 31, 2008 ) I thought it timely ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Virtual Earth Application Upgrade Testing with Fiddler With the imminent deprecation of Virtual Earth Versions 3, 4 and 5 (August 31, 2008 ) I thought it timely to point out Fiddler's useful capability for testing your applications' upgrade path to Version 6.1 (the current version). Oh, and, what a great way to remind you about the imminent deprecation and auto-upgrade from v6 to v6.1, so hopefully this will help move things along. The good thing is that this will work for all future releases, so you can keep the tool installed and just change the Virtual Earth control endpoint to test against. Testing Virtual Earth version backward compatibility using Fiddler You can use the following steps to quickly check what a customer’s VE v6.0 application/site will look like using v6.1 without making any code changes (or any versions of VE for that matter). 1. Install Fiddler from here. 2. Open Fiddler. In the menu, click on Rules->Customize Rules 3. Search for OnBeforeRequest(oSession: Session) in the file that opens 4. Add the following in this function after the brace { if ((oSession.url.toLowerCase()=="dev.virtualearth.net/mapcontrol/v6/mapcontrol.js") || (oSession.url.toLowerCase()=="dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6")) { * oSession.url = "DEV.VIRTUALEARTH.NET/MAPCONTROL/mapcontrol.ashx?V=6.1"; } 5. Save the file and close it 6. Leave Fiddler open. 7. Clear the browser cache. 8. Go to the customer’s VE v6.0 application/site.* You should see DEV.VIRTUALEARTH.NET/MAPCONTROL/mapcontrol.ashx?V=6.1 in your Fiddler HTTP sessions list. 9. Fiddler tip if using Firefox a. In FF, click on Tools-> Options->Network->Settings and change the proxy settings to look like the following: Less than 3 months left. Get cracking! CP Click here to view the article. Last edited by Eric Frost; 07-09-2008 at 08:59 PM. |
![]() |
| Tags |
| application, fiddler, testing, upgrade, virtual earth |
| ||||
| Posted By | For | Type | Date | |
| MapPoint Download - MP2K Magazine | This thread | Refback | 07-09-2008 10:27 PM | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Virtual Earth Auto-Upgrade Postponed | VirtualEarth MSDN Blog | Virtual Earth Blogs | 0 | 06-13-2008 04:12 AM |
| My First Virtual Earth 6.1 Application | VirtualEarth MSDN Blog | Virtual Earth Blogs | 0 | 04-11-2008 05:12 PM |
| Virtual Earth Application for Realtors | Eric Frost | News and Announcements | 0 | 12-12-2007 11:59 AM |
| Virtual Earth Application | Eric Frost | MapPoint Web Service and Virtual Earth | 3 | 11-17-2006 05:11 PM |
| MSDN Article: ode your Application to Delvier the World with Virtual Earth APIs | Winwaed | MapPoint Web Service and Virtual Earth | 0 | 08-09-2006 09:03 AM |