Skip to content

Debugging WCFservices between the phone and local machine

March 30, 2012

As I continue travelling through the south of France I find a lot of time I don’t have an Internet connection so debugging a WCF service running on the laptop to the phone plugged in wont work with the standard setup. There is a solution however, all you have to do is install the Microsoft network loopback adapter card(software). It will probably just get a default 169.x.x.x ip address but that is okay, we just need a IP address somewhere. Update your local web.config with the machine name to use the same name in WCF client host name, I further installed the IIS Express edition to test with but you will have to update your config in C:\Users\user name here\Documents\IISExpress\config\applicationhost.config with the machine name so the service binds to that address on something like this   <binding protocol=”http” bindingInformation=”*:80:eee” />

Advertisements
No comments yet

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: