Book Image

SignalR Blueprints

By : Einar Ingerbrigsten
Book Image

SignalR Blueprints

By: Einar Ingerbrigsten

Overview of this book

Table of Contents (18 chapters)
SignalR Blueprints
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
9
Debugging or Troubleshooting
Index

The goal – an imagined dashboard


A counterpart to any application is often a part of monitoring its health. Is it running? and are there any failures? Getting this information in real time when the failure occurs is important and also getting some statistics from it is interesting. From a SignalR perspective, we will still use the hub abstraction to do pretty much what we have been doing, but the goal is to give ideas of how and what we can use SignalR for. Another goal is to dive into the architectural patterns, making it ready for larger applications. MVVM allows better separation and is very applicable for client development in general.

By the end of the chapter, you'll have the knowledge about MVVM, how to apply it in JavaScript, and also get the feel of how one can architect SPAs with SignalR at the heart.

A question that you might ask yourself is, why KnockoutJS instead of something like AngularJS? It boils down to personal preference to a certain degree. AngularJS is described as an...