Synopses & Reviews
- Topics include: Introduction to async development; HTTP and real-time communications; SignalR technology fundamentals; persistent connections and hubs; multiplatform real-time applications; advanced topics
- Learn how SignalR uses Websockets when supported by the browser and the server and falls back to other techniques and technologies when it is not
- Exploit the API for connection management (e.g. connect and disconnect events), grouping connections, and authorization.
About the Author
Jose Aguilar is a computer systems engineer with 15+ years of industry experience, primarily with Microsoft technologies. He's a recognized expert who regularly writes articles on ASP.NET MVC and other topics related to software development and works as an independent consultant and developer.
Table of Contents
Introduction; Who should read this book; Who should not read this book; Organization of this book; Conventions and features in this book; System requirements; Code samples; Acknowledgments; Errata and book support; We want to hear from you; Stay in touch; Chapter 1: Internet, asynchrony, multiuser...wow!; Chapter 2: HTTP: You are the client, and you are the boss; 2.1 HTTP operations; 2.2 Polling: The answer?; 2.3 Push: The server takes the initiative; Chapter 3: Introducing SignalR; 3.1 What does SignalR offer?; 3.2 Two levels of abstraction; 3.3 Supported platforms; 3.4 OWIN and Katana: The new kids on the block; 3.5 Installing SignalR; Chapter 4: Persistent connections; 4.1 Implementation on the server side; 4.2 Implementation on the client side; 4.3 Transport negotiation; 4.4 Adjusting SignalR configuration parameters; 4.5 Complete example: Tracking visitors; Chapter 5: Hubs; 5.1 Server implementation; 5.2 Client implementation; 5.3 Complete example: Shared drawing board; Chapter 6: Persistent connections and hubs from other threads; 6.1 Access from other threads; 6.2 External access using hubs; Chapter 7: Real-time multiplatform applications; 7.1 Multiplatform SignalR servers; 7.2 Multiplatform SignalR clients; Chapter 8: Deploying and scaling SignalR; 8.1 Growing pains; 8.2 Scalability in SignalR; 8.3 Scaling on backplanes; 8.4 Custom backplanes; 8.5 Improving performance in SignalR services; Chapter 9: Advanced topics; 9.1 Authorization in SignalR; 9.2 An extensible framework; 9.3 Dependency Injection; 9.4 Unit testing with SignalR; 9.5 Intercepting messages in hubs; 9.6 Integration with other frameworks; About the author;