8.7 Summary
In this chapter you were introduced to the concept of interface-based programming as it applies to .NET Web services. You learned how to develop Web services based on interfaces by separating the WSDL binding definition from the Web service implementation, then using wsdl.exe to generate Web service implementations from a WSDL document. You also learned how to implement multiple interfaces (bindings) using a single class and what the resulting WSDL looks like. Finally, you saw how clients can program against interfaces and how to dynamically read the Web service's URL from a configuration file rather than hard-coding it in the client.