title: WCF .NET Core - WsHttpBinding Configuration project.json
body: <p>How do I configure wsHttpBinding with .NET core, Should I configure in Project.json file ? Before .NET Core the configuration is like below</p>
  
  <pre><code>&lt;system.serviceModel&gt;
  &lt;bindings&gt;
    &lt;wsHttpBinding&gt;
      &lt;binding name="IService_Endpoint"&gt;
        &lt;security mode="None" /&gt;
      &lt;/binding&gt;
    &lt;/wsHttpBinding&gt;
  &lt;/bindings&gt;
  &lt;client&gt;
    &lt;endpoint address="http://serviceURL/Service.svc"
        binding="wsHttpBinding" bindingConfiguration="IService_Endpoint"
        contract="IService" name="IService_Endpoint" /&gt;
  &lt;/client&gt;
  </code></pre>
  
  <p></p>
  
  <p>I found an article which works looks like I am looking for but its BasicHttpBinding, I need wsHttpBinding.</p>
  
  <pre><code>ChannelFactory&lt;IGetPeopleService&gt; factory = null;  
  IGetPeopleService serviceProxy = null;  
  Binding binding = null;
  
  binding = new BasicHttpBinding(BasicHttpSecurityMode.None);  
  factory = new ChannelFactory&lt;IGetPeopleService&gt;(binding, new EndpointAddress("http://localhost/people.svc"));  
  serviceProxy = factory.CreateChannel();
  
  var result = serviceProxy.GetPeopleData(100);
  </code></pre>