Service has no zero application
Salut
j ai juste creer un nouveau service wcf, sans rien modifier ;
dans mon service windows je fais :
Code:
1 2 3 4
|
ServiceHost serviceHost = null;
serviceHost = new ServiceHost(typeof(Service1));
serviceHost.Open(); |
je recois l erreur suivante :
Citation:
Service 'MySecretNamespace.Service1' 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.
merci