❔ convert http into ws? asp.net core web api
Hello Everyone!
i'm new into C# and I wonder how to create a websocket server in asp.net core web api? Here is some screenshots
7 Replies
that screenshot of the controller is not really readable
$code
To post C# code type the following:
```cs
// code here
```
Get an example by typing
$codegif
in chat
For longer snippets, use: https://paste.mod.gg/any relevant info in the network tab?
like, what's the actual error there?
Also: consider bit using websockets directly, take a look at SignalR
yeah signalr takes care of stuff automagically. unless you specifically need websockets, go with that
Iirc you can configure SignalR to use ws only
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.