Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Testing connectivity issues in Windows Phone 7 (using the emulator)

Is there a way in the Windows Phone 7 emulator to turn off the network connection (without yanking the cable and turning wi-fi off on my laptop)? I want to test the dropping of network connectivity without having a physical device or doing anything physical outside the emulator or the Windows Phone 7 SDK/Tools.

like image 672
Ryan Hayes Avatar asked May 03 '11 19:05

Ryan Hayes


1 Answers

As an alternative to physically disabling the network connection I also, sometimes, find it useful to redirect the network connections through Fiddler2. It's then possible to use breakpoints to intercept some connections. You can then use this add a delay before the server can respond. Or you can force a timeout.
I find this a useful approach when you want to test some connections failing but not others.

like image 169
Matt Lacey Avatar answered Jun 07 '23 09:06

Matt Lacey