[Mono-list] The type or namespace name `WebHttpBinding' could not be found. Are you missing an assembly reference?
jordan at jordanzimmerman.com
Sun Apr 17 20:49:33 UTC 2016
I’m a total mono newbie and am trying to play around with WCF. While other bindings are compiling without problem, WebHttpBinding is not working. I’ve used the Add NuGet packages to add anything I can think of but the code still doesn’t compile. I downloaded everything today so I assume I have the latest greatest everything. Note, I’m running on a MacBook Pro with El Capitan.
Here are my imports:
Here’s the line of code:
selfHost.AddServiceEndpoint(typeof(ICalculator), new WebHttpBinding(), "CalculatorService");
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-list