Have a personal or library account? Click to login
SignalR: Real-time Application Development - Second Edition Cover

SignalR: Real-time Application Development - Second Edition

A fast-paced guide to develop, test, and deliver real-time communication in your .NET applications using SignalR

Paid access
|Sep 2025
Product purchase options

Key Features

    Book Description

    With technology trends, demands on software have changed with more and more skilled users. Over the past few years, with services such as Facebook, Twitter and push notifications on smartphones, users are now getting used to being up to date with everything that happens all the time. With SignalR, the applications stay connected and will generate notifications when something happens either from the system or by other users thus giving new opportunities to enter into this new, exciting world of real-time application development.
    This is a step-by-step guide that follows a practical approach helping you as a developer getting to get started with SignalR by learning its fundamentals. It will help you through building real-time applications using the new methods and functions in the SignalR framework. Starting from getting persistent connections with the server, you will learn the basics of connecting a client to the server and how the messaging works. This will be followed by setting up a hub on the server and consuming it from a JavaScript client. Next you will be taught how you can group connections together to send messages. We will then go on to know how you can have state in the client to handle specific operations like connecting or disconnecting. Then, moving on you will learn how to secure your SignalR connections using OWIN and scaling SignalR across multiple servers. Next you will learn building a client for WPF and building a client using Xamarin that targets Windows Phone, iPhone and Android. Lastly, you will learn how to monitor the traffic in SignalR using Fiddler, Charles and hosting SignalR using OWIN.

    What you will learn

    • Explore the basic knowledge and understanding of SignalR
    • Get to know how to connect client to the server
    • Connecting a client with a server and setting a hub
    • Creating group connections together
    • Understand how to have state in the client to have specific operations
    • Securing SignalR connections
    • How to scale SignalR across multiple servers
    • Building a client for WPF
    • Building a client using Xamarin targeting Windows, iPhone and Android
    • Get to grips with monitoring the traffic in SignalR using Fiddler for Windows and Charles for OSX
    • Setting up code to host SignalR using OWIN

    Who this book is for

    If you are a .Net developer with good understanding of the .Net platform then this is an ideal book for you to learn how to build real-time apps using the SignalR framework.

    Table of Contents

    1. Priming Ourselves
    2. Persistent Connections
    3. Hubs
    4. Groups
    5. State
    6. Security
    7. Scaling out
    8. Building a WPF .NET client
    9. Write once, deploy many
    10. Monitoring
    11. Hosting a server using self hosted Owin
    https://github.com/packtpublishing/signalr-real-time-application-development-second-edition
    PDF ISBN: 978-1-78528-862-3
    Publisher: Packt Publishing Limited
    Copyright owner: © 2015 Packt Publishing Limited
    Publication date: 2025
    Language: English
    Pages: 222