title: WCF Sessions in Mono
body: <p>Which binding should I choose to enable sessions following is my service interface:</p>
  
  <pre><code>[ServiceContract(SessionMode=SessionMode.Required)]
  public interface IAkessaAbstractionService
  {
  
      [OperationContract(IsInitiating=true)]
      LoginDTO Login(string Username, byte[] Password, bool ForcefulLogin);
  
      [OperationContract(IsInitiating=false)]
      string[] names();
  
  }
  </code></pre>
  
  <p>when I use WSHttpBinding() as basicHttpBinding doesn't support sessions, I get the following error:</p>
  
  <p><strong>Exception during finishing channel acceptance.
  System.NotSupportedException: Channel type System.ServiceModel.Channels.IReplySessionChannel is not supported
  at etc etc....</strong></p>
  
  <p>and when I use WSDualHttpBinding() it throws the following error:</p>
  
  <p><strong>System.NotImplementedException: The requested feature is not implemented.
  at System.ServiceModel.WSDualHttpBinding.CreateBindingElements () [0x00000] in :0 at System.ServiceModel.Channels.CustomBinding..ctor (System.ServiceModel.Channels.Binding binding) [0x00000] in :0</strong></p>
  
  <p>I am using mono version 2.10.2.</p>