I just started learning to write a server for my game with asp.net core.
I am trying to establish a websocket connection between the Unity game client and the asp.net core server.
I made a new asp.net core API project and added a new controller with this code in it.