How To Configure Reliability While Communicating With WCF Services

How To Configure Reliability While Communicating With WCF Services


  • 16 Feb, 2012

    Reliability can be configured in the client config file by adding reliableSession under binding tag.<system.serviceModel> <services> <service name = "MyService"> <endpoint address = "net.tcp://localhost:8888/MyService" binding = "netTcpBinding" bindingConfiguration = "ReliableCommunication" contract = "IMyContract" /> </service> </services> <bindings> <netTcpBinding> <binding name = "ReliableCommunication"> <reliableSession enabled = "true"/> </binding> </netTcpBinding> </bindings></system.serviceModel>Reliability is supported by following bindings onlyNetTcpBindingWSHttpBindingWSFederationHttpBindingWSDualHttpBinding

    Comments Received:
    Please give your suggestions and feedback:

2009-2016 downloadmela.com. All rights reserved.