Net 4.5 Websocket Push Technology?

General Tech Technology & Software 3 years ago

9.29K 2 0 0 0

User submissions are the sole responsibility of contributors, with TuteeHUB disclaiming liability for accuracy, copyrights, or consequences of use; content is for informational purposes only and not professional advice.

Answers (2)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 3 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?

0 views
0 shares

profilepic.png
manpreet 3 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.

Similar Forum