WCF Proxy Generator

Generates WCF proxy classes from endpoints defined in Web.config file, using the ServiceModel Metadata Utility Tool from Microsoft.

https://github.com/gaui/WCF-Proxy-Generator

When you add a Service Reference in Visual Studio, the following files are generated:

  • Service.disco
  • Service.wsdl
  • configuration.svcinfo
  • configration91.svcinfo
  • Reference.cs
  • Reference.svcmap

4/6 of these files have the URL hardcoded in them. Merging branches with accidental changes done to these files, can be a real headache.

Also when you have many web services on many different environments (test, staging, live), you always have to ensure that all references are correct and up to date.

So I decided to make it easier and automate it, so all references to all web services are always correct and up to date.