February 2011

You are browsing the site archives for February 2011.

I love Sonos for controlling music in my house.  I was recently confused because a new laptop couldn’t locate my network when running the software configuration wizard.

It turned out that it was trying to use the wrong network interface.  VMWare Workstation adds a “Virtual Ethernet Adapter” for each physical adapter you have.  In the off chance your wizard won’t connect, temporarily disabling the virtual adapters should do the trick.

I just added a new project to CodePlex:


.NET Proxy consists of two components: an ASPX page for proxying requests to other servers and a Javascript class for issuing cross-domain requests using the same syntax as XMLHttpRequest.  I see it being useful for two scenarios:

SSL Proxy


Requests for http://example.com would become requests for netproxy.aspx?http://example.com.

Javascript Proxy

Another common goal is to incorporate content from third-party sites, but Javascript has a “same origin policy” restriction meaning you can only access files on your own domain. With this proxy, you can GET content from or POST content to any server in the world using the familiar XMLHttpRequest syntax. All methods and properties are wrapped, meaning only the object declaration needs to be changed.


// Pass in the URL for our proxy ASPX page
var bingProxy = new netProxy("netProxy.aspx");
bingProxy.onreadystatechange = function() {
if (bingProxy.readyState == 4)
alert('Source code for http://bing.com:\r\n\r\n' + bingProxy.responseText);
bingProxy.open("GET", "http://bing.com", true);

It’s released under the MIT License, meaning you can do pretty much anything you want with it.