WCF Connection Test Utility

By | October 22, 2015

I wrote this wcf connection test utility because sometimes you need to configure and troubleshoot different service setups and just need a quick utility to answer the question is the service there and can you connect to it?

Plus its real handy when you don’t expose MEX endpoints but still wish to test the connections.

  1. Download the wcf test utility and extract the files.
  2. Copy the contract dll of the service you wish to test into the bin folder of the utility.
  3. In the app config app settings of the utility you will find 3 entries, ServiceContractAssembly, ServiceContract and ServiceOperation. Provide these so the utility can create a proxy to the service.
    wcftestconfig1
  4. The rest of the config is the normal system.servicemodel config. Supply the endpoint configuration details.wcftestconfig2
  5. Run the utility.
  6. Press ‘T’ to test the connection and configuration.
    wcftestresult

The WCF Test utility can be downloaded here.


Related

Ever heard of the ICommunicationObject Interface?

Leave a Reply

avatar

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  Subscribe  
Notify of