title: What is the best way of communicating from web->web api->console app and back again?
body: <p>I'm starting up a little code project to learn from the process, but I am not sure what's the best way of communicating between the different parts.</p>
  
  <ul>
  <li>First, I have a pure html/js client where the users need to get live updates frequently.</li>
  <li>Secondly, I'm considering having a web api application running to provide data.</li>
  <li>Thirdly I have a console application running, that needs to communicate with the web api application.</li>
  </ul>
  
  <p>So I'm thinking about using WebSockets all the way from client->web api->console app, but I have trouble making it work. I can make the console app work as a server, but I can't figure out how to make the web api work as a client, so that when it spins up, creates a connection to the console app, and keeps it open for communication, while it delivers data to the clients upon requests.</p>
  
  <p>I tried with different implementations and I have ended up with SignalR, as it seems like that's what people use today :)</p>
  
  <p>Since I have all these problems getting a connection I am wondering if there are better ways of sending data that fulfills my requirements?
  If WebSocket (using SignalR) is the way to go, can you provide some links with working examples? I have tried all the top links from Google with no success ^^</p>
  
  <p>Thanks in advance</p>