title: Keeping a socket connection alive between stateless requests in asp.net web server
body: <p>I need some help with a concept:</p>
  
  <p>I have a ASP.NET web api .</p>
  
  <p>My clients make web calls to this web service. When the client logs into the service, my web api needs to open a tcp socket to a external server. This server provides access to services. Now web.Api is a stateless application. I cant go the option of connecting on every request.</p>
  
  <p>So I some how need to keep a socket per client open on the web server.</p>
  
  <p>I have no idea where to even start with something like this.</p>
  
  <p>Please could I get your input.</p>