ProgrammerGuide.Net | Step by Step Programmer Guide

How to configure Reliability In WCF Services? | WCF Interview Question

Reliability can be configured in the client config file by adding reliableSession under binding tag.



      <service name = "MyService">


            address  = "net.tcp://localhost:8888/MyService"

            binding  = "netTcpBinding"

            bindingConfiguration = "ReliableCommunication" 

            contract = "IMyContract"






         <binding name = "ReliableCommunication">

            <reliableSession enabled = "true"/> 





Reliability is supported by following bindings only

  • NetTcpBinding 
  • WSHttpBinding 
  • WSFederationHttpBinding 
  • WSDualHttpBinding
Please click here for related products on Amazon!


Add comment

Want to Check Celebrities News?