title: Add reference to netNamedPipeBinding WCF in .net core
body: <p>Well, this will be a bit long :)</p>
  
  <p>I have a project using asp.net core 1.1.2, using .net framework. I want to do a inter process communication (IPC) with an windows service. This windows service has a self-hosted WCF service. I was thinking about using <code>netNamedPipeBinding</code>, because the communication is on the same machine only.</p>
  
  <p>I am trying to add reference to my named pine in my asp.net core project. I right click on "Dependencies" -> "Add connected service" -> "Microsoft WCF Web Service Reference Provider - Preview". Then i insert my named pipe address: "net.pipe://localhost/mynamedpipe/". Then i click on "Go". Then I get this error message:</p>
  
  <blockquote>
    <p>An error occurred while attempting to find services at
    'net.pipe://localhost/mynamedpipe/'. The service Uri is not valid:
    'net.pipe://localhost/mynamedpipe/'</p>
  </blockquote>
  
  <p>I have created a console application and, using the old wizard ("Add Services Reference"), I successfully configured it. And it works as expected.</p>
  
  <p>So my question is, how can I add reference in my .net core project to my <code>netNamedPipeBinding</code> WCF?</p>
  
  <p>My second question is, based on my previous description, is this the best approach for IPC or is better use other binding?</p>
  
  <p>Thanks a lot</p>