Re: Windows Communication Foundation
- From: "Vadym Stetsyak" <vadym_s@xxxxxxx>
- Date: Fri, 23 Mar 2007 12:38:20 +0200
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
.
- Follow-Ups:
- Re: Windows Communication Foundation
- From: Allen Bradley
- Re: Windows Communication Foundation
- References:
- Windows Communication Foundation
- From: Allen Bradley
- Windows Communication Foundation
- Prev by Date: Windows Communication Foundation
- Next by Date: .NET Runtime error
- Previous by thread: Windows Communication Foundation
- Next by thread: Re: Windows Communication Foundation
- Index(es):
Relevant Pages
|
Loading