SignalR Real-time Application Cookbook
|Also available on:|
- Build high performance real-time web applications
- Broadcast messages from the server to many clients simultaneously
- Implement complex and reactive architectures
Book DetailsLanguage : English
Paperback : 345 pages [ 235mm x 191mm ]
Release Date : April 2014
ISBN : 1783285958
ISBN 13 : 9781783285952
Author(s) : Roberto Vespa
Topics and Technologies : All Books, Web Development, Cookbooks, Open Source
Table of Contents
Chapter 1: Understanding the Basics
Chapter 2: Using Hubs
Chapter 4: Using the .NET Hubs Client API
Chapter 5: Using a Persistent Connection
Chapter 6: Handling Connections
Chapter 7: Analyzing Advanced Scenarios
Chapter 8: Building Complex Applications
Appendix A: Creating Web Projects
Appendix B: Insights
Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.
What you will learn from this book
- Build SignalR servers
- Use the Hubs API
- Use the Persistent Connection API
- Handle connection lifetime
- Successfully authorize requests
- Scale up and scale out your SignalR applications
- Master how to handle errors
- Understand the difference between proxy-full and proxy-less approaches
- Extend SignalR with custom services
- Solve complex real-time scenarios with the help of advanced ready-made examples
SignalR is a recent addition to ASP.NET which allows you to add real-time functionalities to your applications. SignalR enables bi-directional communication between client and server over HTTP, transparently using a variety of systems to ensure you're always provided with the experience of a persistent connection. This way SignalR enables servers to push information down to the connected clients through a very simple and streamlined API.
SignalR Real-time Application Cookbook is a practical, hands-on guide that provides a number of clear step-by-step recipes that will gradually enable you to add SignalR as an innovative, effective and useful item in your toolbox. This book will move from simple examples down to complex use cases, going through a comprehensive overview of the library. This book clarifies how SignalR works and how it’s structured, exposing the main concepts by taking you down a path from simple to advanced recipes. Along the way you will learn how to perform a set of common tasks, and at the end of the book you will find a set of ready-made solutions for more complex scenarios.
With this book, you will learn how to create bi-directional connections using the available APIs. You will also learn the differences between them and how to choose the most appropriate API for your requirements. You will also learn how to perform authorization, how to deal with cross-domain scenarios, how to scale up and scale out your applications, and how to hook into the library to extend its behavior.
SignalR Real-time Application Cookbook will teach you everything you need to know to become easily and quickly productive in all the main scenarios covered by this useful library.
This book contains illustrated code examples to help you create real-time, asynchronous, and bi-directional client-server applications. Each recipe will concentrate on one specific aspect of application development with SignalR showing you how that aspect can be used proficiently.
Who this book is for
Different levels of developers will find this book useful. Beginners will be able to learn all the fundamental concepts of SignalR, quickly becoming productive in a difficult arena. Experienced programmers will find in this book a handy and useful collection of ready-made solutions to common use cases, which they will be able to enhance as needed. Developers can also use the book as a quick reference to the most important SignalR features. No previous practical experience either with SignalR or with real-time communication in general is required.