WCF Error - Service ... has zero application (non-infrastructure) endpoints
In the book! "Microsoft Windows Communication Foundation Hands-on Beta Edition By Craig McMurtry, Marc Mercuri, Nigel Watling," formed in the first example, the following error (tested with Beta 2 ).
Service 'DerivativesCalculator.DerivativesCalculatorServiceType' has zero application (non-infrastructure) endpoints. This might be because no configuration file was found for your application, or because no service element matching the service name could be found in the configuration file, or because no endpoints were defined in the service element.
need to resolve this error is only in the app.config, in the name of the Service Contract and remove the assembly name.
before: contract = "Namespace.Type, assembly name"
after: contract = "Namespace.Type"