Skip to content

Debugging Mobile App and WebApi Locally

Brian Runck edited this page Jun 17, 2016 · 1 revision

It can be tricky to get both the API and the Mobile App debugging locally. Here are a few notes to help you get going:

Running Xamarin Studio on the Mac with API in VM (Parallels etc)

As of right now the best instructions we have found are: http://rasmustc.com/blog/Consume-IISExpress-WebAPI-from-OSX/

Be sure to change the Port to 2077 (current port configured in webapi) when following the instructions above

Running both on a Windows Machine

The instructions in the link above are almost correct but instead don't add the last binding with the computer name to the applicationhost.config. When setting the firewall rule set the localport to 2077 (current port configured in webapi). I also had to change the configuration of the mobile client to point at the ip registered with netsh.

Another fast option is: https://github.com/icflorescu/iisexpress-proxy. Requires node.js installed.