title: Hosting a TCP socket service in ASP.NET 5
body: <p>I like ASP.NET Web API infrastructure for providing web based user interface.  </p>
  
  <p>I would like to host a true TCP/IP service that has nothing to do with HTTP protocol and it is not likely to benefit from middleware.</p>
  
  <p>How do I do that?  Do I create this service as a singleton and add it in ConfigureServices with services.AddSingleton(..?)?</p>
  
  <p>Details:  non-HTTP data upload protocol with SQLite database store, so there is no real DB in here.  Access data through REST api exposed by ASP.NET 5.</p>
  
  <p>Thank you</p>