I made a ASP.NET Core webSocket server and started it in local IIS Express.
The relevant code looks like the following:
[HttpGet("/ws")]