0

I want to avoid the duplex Chanel in WCF and create callback service on client, pass the client address to server so the server can call the client any time. (maybe different binding etc.)

How can I pass the callback interface to the client? (I still want the server to manage this interface and to avoid put it in seperate DLL. Any Ideas? Thanks

Adiel
  • 331
  • 1
  • 4
  • 10
  • Why do you want to avoid a duplex binding? – Andrew Shepherd Sep 02 '10 at 02:48
  • The built-in mechanism open "service" on the client side. I have no control on this service, binding (automatic save as the main service), lifetime etc. If I create "normal" service on client I can send the properties to server and the roles being inverted. If the client shut down I can open it. I can use msmq as return channel and more... – Adiel Sep 02 '10 at 17:41

1 Answers1

0

Such interface can be passed only in shared assembly.

Ladislav Mrnka
  • 360,892
  • 59
  • 660
  • 670