Been using the WCF Test Client for years now, testing externally hosted webservices that I consume.
I have often cursed about the inabillity to save a standard confuguration with settings about the bindings, as I for some of the methods needs to increse the maxRecievedMessageSize byond the standard 65536 - as well as occasionally other settings.
I would normally have to use the scvConfigEditor to update each time. But I lived with that.
UNFORTUNATLY - after updating to windows 10 and re-installing everything I can no longer edit the config file. Or I can edit, but the service will not reload with the new settings as it would before. I have tried editing the file manually also, and I have tried to refresh the service after saving both with the editor and manually..
Would anybody know the reason or a fix for this?
I had the same problem and compared my new installation to my old working installation.
First you have to deselect
Always regenerate config when launching servicesfromTools->Optionand exit WCF Test Client.I found that the new installation was missing the
AddressToConfigMapping.xmlfile inC:\Users\<user>\Documents\Test Client Projects\15.0\CachedConfigfolder, which I had to create.The content of the AddressToConfigMapping.xml file should be:
Then you can then edit the config file in scvConfigEditor and save the file to
C:\Users\<user>\Documents\Test Client Projects\15.0\CachedConfig\Client.dll.configand replace the content of the address element with the service you are testing.Now the saved configuration should be loaded, when you add the service in the WCF Test Client.
If you have to test multiple services, it is possible to add additional entries for different services with different configuration in the
AddressToConfigMapping.xmlfile.