O'Reilly logo
  • Marcus Kraus thinks this is interesting:

Leveraging Default Endpoints

Before support for default endpoints, if you called Open() on the ServiceHost object, and you had not yet specified at least one <endpoint> element in your configuration file, the runtime would throw an exception. And you would get a similar result if you called AddServiceEndpoint() in code to specify an endpoint. However, with the release of .NET 4.5, every WCF service is automatically provided with default endpoints that capture commonplace configuration details for each supported protocol.

If you were to open the machine.config file for .NET 4.5, you would find a ne...