Hi,
thanks for reporting this.
We are investigating, and try to fix it for the WCF release.
Looks like there is the same pb with Oran Dennison approach.
A solution is to comment the ServiceExporter definition in the configuration file and use the programmatic way :
See Program.cs file in the Spring.WcfQuickStart.ServerApp console project :
Code:
// Programmatically (You need to comment 'ServiceExporter' object definition in App.config)
using (ServiceHost serviceHost = new ServiceHost("calculator"))
{
serviceHost.Open();
Console.Out.WriteLine("Server listening...");
Console.Out.WriteLine("--- Press <return> to quit ---");
Console.ReadLine();
}
The problem is that ServiceExporter also start a ServiceHost, and it should not.
- Bruno