title: Create a websocket server in .net core console application
body: <p>Is there any way to create a .NET Core <em>console</em> application which can host a WebSocket server?</p>
  
  <p>I see a lot of stuff but only for using with ASP.NET Core dependency injection.</p>
  
  <p>The NuGet package I end up using must be .NET Core and not full .NET.</p>
  
  <p>If I can use <code>Microsoft.AspNetCore.WebSockets</code> in a console application, how would I do it?</p>