سؤال

I'm writing a windows phone 8 app that authenticates to email using httpwebrequest. For some reason I'm getting an authentication error and I need to look at the traffic.

Is there a way to configure visual studio to see the raw http traffic when I debug from my phone?

For example, can I configure fiddler to look at the traffic? Are there any tricks to print to console the httpwebrequest?

هل كانت مفيدة؟

المحلول

Nothing with Visual Studio. You can use Fiddler though. Just connect your device to the same WiFi as your PC, on the device Settings > Wifi > long tap on your network and tap Edit. Turn proxy on and type in your PC IP address and use 8888 as port. Open Fiddler and you are done. Remember to go to FIddler settings and allow the detection for remote devices:

Tools > Fiddler options > Connections > Allow remote computers to connect

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top