Re: Windows Communication Foundation



Hello, Allen!

You can also ask on WCF newsgroup

microsoft.public.windows.developer.winfx.indigo

You wrote on Fri, 23 Mar 2007 10:04:25 +0100:

AB> When i try to instance ServiceHost it's throw an
AB> System.InvalidOperationException with Message like 'Contract Require
AB> Duplex but on Binding Configuration is not Supported or is not been
AB> Configured'

AB> How Can I use Streamed TransportMode and Duplex Communication Service?

AB> Xml Configuration:

AB> <configuration>
AB> <system.serviceModel>
AB> <behaviors>
AB> <serviceBehaviors>
AB> <behavior name="NewBehavior">
AB> <serviceMetadata />
AB> </behavior>
AB> </serviceBehaviors>
AB> </behaviors>
AB> <bindings>
AB> <netTcpBinding>
AB> <binding name="NewBinding0" transferMode="Streamed" />
AB> </netTcpBinding>
AB> </bindings>
AB> <services>
AB> <service behaviorConfiguration="NewBehavior"
AB> name="CallBackService.CallBackService">
AB> <endpoint address="CallBackService"
AB> binding="netTcpBinding" bindingConfiguration="NewBinding0"
AB> contract="CallBackService.ICallBackService" />
AB> <endpoint address="CallBackService/mex"
AB> binding="mexTcpBinding"
AB> bindingConfiguration="" contract="IMetadataExchange"
AB> />
AB> <host>
AB> <baseAddresses>
AB> <add baseAddress="net.tcp://acquleobook" />
AB> </baseAddresses>
AB> </host>
AB> </service>
AB> </services>
AB> </system.serviceModel>
AB> </configuration>

AB> P.S.

AB> I'm using for callback One-Way OperationContract due to fix WinForms
AB> Main Thread Deadlock.


With best regards, Vadym Stetsyak.
Blog: http://vadmyst.blogspot.com


.



Relevant Pages

  • Re: I want to force 1/2 duplex from my network card. How?
    ... > ethernet card. ... It is currently running 100 MB full duplex. ... >> NIC support is configured as a module on your system). ... configuration stays on /etc/modules.conf. ...
    (Fedora)
  • Re: RS-485 arrangements
    ... duplex only if there are only two devices attached. ... point-to-multipoint configuration, you are correct that it looks effectively ... A point-to-point FDX configuration is usually used when you need high ...
    (sci.electronics.design)
  • Re: duplex negotiation
    ... same setup and same configuration at 70 other sites and have not seen ... the duplex on the switch only to full then the link was running 100/ ... If one side of a connection is set to auto-negotiate and the other ... If you manually set both sides to 100/full you need to watch the ...
    (comp.dcom.sys.cisco)
  • Re: Windows Communication Foundation
    ... AB> When i try to instance ServiceHost it's throw an ... AB> Duplex but on Binding Configuration is not Supported or is not been ... AB> How Can I use Streamed TransportMode and Duplex Communication Service? ... With best regards, Vadym Stetsyak. ...
    (microsoft.public.dotnet.framework)
  • Re: CRC & INPUT Errors
    ... I checked one of the remote router's ethernet interface and it wasn't ... link (you should have seen Collisions & Late Collisions, ... what it had for a Duplex configuration). ... the preferable planned configuration, I think. ...
    (comp.dcom.sys.cisco)

Loading