SignalR Real-time Application Cookbook
- Length: 292 pages
- Edition: 1
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2014-04-16
- ISBN-10: 1783285958
- ISBN-13: 9781783285952
- Sales Rank: #2542012 (See Top 100 Books)
Use SignalR to create real-time, bidirectional, and asynchronous applications based on standard web technologies
Overview
- Build high performance real-time web applications.
- Broadcast messages from the server to many clients simultaneously.
- Implement complex and reactive architectures.
In Detail
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 is based on standard web technologies but its usage is not limited to ASP.NET web applications: in fact, it comes with client libraries to perform connections from either JavaScript or different types of .NET applications. SignalR is a great tool which enables you to build modern, interactive and efficient applications based on web technologies.
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.
Table of Contents
Chapter 1: Understanding the Basics
Chapter 2: Using Hubs
Chapter 3: Using the JavaScript Hubs Client API
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