How to check .net application on proxy?

I need to support the use of a proxy server in our application that uses WCF connections.

We do not have a proxy server in our network, and I do not want to disrupt our corporate network by requesting the installation of a proxy server. I was thinking about installing a proxy server on a local virtual machine and setting up Internet Explorer to challenge this proxy.

I do not know what proxy software to use (I do not want to install the ISA server), and I do not know how to configure it.

Does anyone have any suggestions for easy-to-use software that will require authentication for any WCF services, and do you have any guidance that you might need to know when testing software against a proxy server?

+7
c # proxy wcf
source share
2 answers

Take a look at Fiddler: http://www.fiddlertool.com . It installs itself as a proxy server on your local computer, routing all requests through it.

+6
source share

The difficulty of testing that it works with a proxy server will be that it does not connect directly, bypassing the proxy server in some cases. You can install some kind of proxy software, but if you also have direct access to the Internet, then for everyone you know, your application may fail when this direct access is blocked.

You can try to simulate a firewall by creating a virtual machine with a host-only network, that is, configure your virtual network card to connect only to the host machine. Then you can run the application on this virtual machine and configure it to use a proxy server running on the host. Disclaimer: I have not actually tried this myself, but theoretically it should work.

+1
source share

All Articles