Skip to content

Instantly share code, notes, and snippets.

This is nice to have when you're working on a .Net project that runs inside of a Parallels/VirtualBox VM. Even more important if you are building a mobile site which needs to run on an iPhone. The iPhone emulator does not run in Windows, so during development it is useful to have the Visual Studio server visible to the host operating system.

These instructions were found over here on StackOverflow.

Use Fiddler 2 as a Reverse Proxy to listen on any port (8080 or 8888) and forward those requests to Visual Studio's built-in web server.

Follow the Fiddler setup instructions. The only tricky part here is to use regedit to set a new registry key, a new DWORD named ReverseProxyForPort inside HKEYCURRENTUSER\SOFTWARE\Microsoft\Fiddler2. In this case we set the value to 3480, which is the default server port in Visual S

// Reset Zoom
self.resetZoom = function() {
var objects = canvas.getObjects();
for (var i in objects) {
var scaleX = objects[i].scaleX;
var scaleY = objects[i].scaleY;
var left = objects[i].left;
var top = objects[i].top;