Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying SignalR Real-time Application Cookbook
  • Table Of Contents Toc
SignalR Real-time Application Cookbook

SignalR Real-time Application Cookbook

By : Roberto Vespa
4.6 (9)
close
close
SignalR Real-time Application Cookbook

SignalR Real-time Application Cookbook

4.6 (9)
By: Roberto Vespa

Overview of this book

Table of Contents (18 chapters)
close
close
SignalR Real-time Application Cookbook
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
3
Index

Setting up connection transport strategies


When a connection is made, a transport strategy must be put in place in order to properly move bits back and forth between the client and the server. SignalR can choose among different transport options as follows:

  • WebSocket: This is an HTML5-related protocol that provides full duplex communication channels over a single TCP connection and is available in modern web browsers and web servers

  • Server-Sent Events: This is a strategy based on the EventSource HTML5 support that allows a server to stream messages to the connected clients

  • Forever Frame: This is a strategy based on the use of a hidden iframe element, where the chunked encoding HTTP feature is used to send an indefinitely long stream of bytes

  • Long Polling: This is quite a basic technique that involves the opening of an HTTP connection and keeping it artificially alive to create the illusion of a persistent connection

Each one of these strategies is based on a specific underlying technology, which...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
SignalR Real-time Application Cookbook
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon