So I heard you like tunnels? [Ngrok]

Recently, I’ve been doing a lot of work with mobile applications and hosted APIs. This has lead to one or two frustrations when trying to test the APIs out on actual devices…

We have an Azure Mobile Service project which links to a Cordova driven mobile application.

I remember stumbling upon this piece of software a few months ago when I was questioning about how to show mobile apps to clients (forgetting that we deployed our web services onto AWS), but I never really got to use it too much or see it’s greater potential.

What we did

A way I’ve brought this to our workflow is to first, open up my IISExpress instance by adding a new line into my applicationHosts.config file as follows:

<site name="MvcMusicStore" id="2035164975">
<application path="/" applicationPool="Clr4IntegratedAppPool">
<virtualDirectory path="/" physicalPath="C:\Code\MvcMusicStore" />
<binding protocol="http" bindingInformation="*:59737:localhost" />
<binding protocol="http" bindingInformation="*:59737:" />
<!-- ^this is the new line! -->

Secondly, I simply point ngrok to my .net WebApi’s url

ngrok -subdomain=lee-api-test



We have a WebApi which is exposed to everyone, anywhere in the world and therefore my mobile application!

This saved me so much time that I donated some money to the developer of ngrok and unlocked the premium features of ngrok.

A BIG thanks to Alan Shreve (@inconshreveable) and I highly recommend you check out his blog.

– Lee


ngrok’s site:
Alan Shreve’s site:

Chocolatey goodness! [Chocolatey]

I’ve discovered a niche tool today, something rather powerful…


And I don’t mean the physical kind! (sorry :[) I mean the apt-get style installer for windows!

This tool provides simple package installation, removal  and updating! It even installs itself via a one-line powershell command that you can copy and paste into an elevated command prompt… Now that’s classy


I’ve not really had the opportunity to install many things via this tool yet, because I already had most of what I need. However I can definitely see myself enlisting it for future endeavours and possibly even submitting packages for my own things!

– Lee

Chocolatey’s site: