Where’s Your Endpoint Now?
It quickly dawned upon my tiny intellect, however, that in a Web Part project, there is no config file in which to define the bindings and endpoints required by a Service Reference. What, then, was an enterprising young Web Part developer cum WCF consumer to do?
The kneejerk riposte from the usual gang of portal warriors is to just add the necessary bindings to the web.config of the target site when you deploy.
You know, like an animal.
Some of us, however, could very likely find ourselves in a Continuous Integration-type scenario in which performing repeated trauma surgery on config files across multiple environments is not an option.
[ from my Blog at Aptera ]