WCF/WF - Can I use both BasicHttpBinding and pollingDuplexbinding in a same project.. How..?

Asked By Neha Garg on 16-Mar-13 06:30 AM
hello friends,

I have developed a Silverlight application using WCF services for Insert, Update & Delete operations.

Now, i am using a Duplex functionality in WCF service using Duplex.dll. But at the time of calling the service i am getting the error. "

Contract requires Duplex, but Binding 'CustomBinding' doesn't support it or isn't configured properly to support it."


Can i implement basic and pollingduplex binding in same project.
Robbe Morris replied to Neha Garg on 17-Mar-13 08:36 AM
Duplex is typically for chat type applications and the WCF service would have a fairly elaborate set of logic to send and receive messages.  Why do you need that versus a standard basicHttpBinding end point for handling basic data manipulation web methods?