0

I hope this is not a bad question rising but I want to learn this concept with good example then only I can start my Realtime work.

I'm new to this WebSocket[TCP connection] concept and I have read some ( this and this) content regarding this concept and I got bit basic knowledge on this but my query is, I'm unable to find the sample example tutorial on this concept(in asp.net web form using c#) that is how to create websocket(server side) and how to receive that data(from client side) basic communication between server side and client side.

Please suggest me how to work with websocket and give me basic example.

I'm very beginner in programming language.

1
  • may be this link is what you are looking for Commented Dec 22, 2022 at 9:27

1 Answer 1

0

Use SignalR

SignalR is framework to communicate in real-time without polling (keep asking if there is any data to send) between server and client (browsers). Web socket is the main protocol to use in SignalR when web socket is available. If web socket is not available then SignalR will use different way to push data specially from server to the client.

https://www.c-sharpcorner.com/article/signalr-chat-app-with-asp-net-webform-and-bootstrap/

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.