Basic example of WCF Services with Mono. WCF is Windows Communication Foundation.
- Open the
WcfMonoService.sln
file with either MonoDevelop, Xamarin Studio or Visual Studio. - Build the solution
- Start the solution
It should start two console applications - service and client.
WcfMonoClient/
Console application - consumes the service.WcfMonoService/
Console application - hosts the WCF service.
Service/client configuration is written in App.config files for both client and service.
- netNamedPipeBinding
- wsDualHttpBinding
- basicHttpBinding
- netTcpBinding
Notes:
- Tested only on Xamarin (Windows) and MonoDevelop (Linux)
- Might be necessary to run service as administrator.
- wsDualHttpBinding doesn't seem to be implemented in linux yet, raising NotImplementedException.