Net 4.5 Websocket Push Technology?

General Tech Technology & Software 2 years ago

0 2 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Posted on 16 Aug 2022, this text provides information on Technology & Software related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (2)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago

Among the improvements announced for WCF, I see this: Websockets https://forum.tuteehub.com/tag/support">support to enable true bidirectional communication over ports 80 and 443 with performance characteristics similar to the TCP transport.

That sounds suspiciously like the persistent HTTP 1.1 TCP connection could be used to push data to the client. Is that indeed implied or intended? Or is SignalR still the only MS-offered game for that feature?

profilepic.png
manpreet 2 years ago

NET 4.5 also includes WebSocket client and server (server on Win 8 only); the server includes asp.net and HttpListener implementations, both allowing push to clients. If you want WebSocket, personally I use that rather than WCF - less abstractions.

Until 4.5, I think you are correct as far as MS-provided implementations are concerned.

There are other implementations: SuperWebSocket should work fine. I hand-rolled the WebSocket implementation we use here - it wasn't overly taxing, although I'd like to replace it with HttpListener when that is available.

Re persistent http 1.1 tcp connections: It should be noted that once the initial handshake is complete, it is not a http connection; it is WebSocket over tcp.


0 views   0 shares

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.