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 – how to bring to life an imagined news site


E-newspapers have a great potential to increase the user experience by applying something like SignalR. When doing so, they also accidently make their solution more scalable as they don't have to rely on what a lot of sites do already: a timer that reloads the entire page every so often. Having a number of clients connected to the site, it's much more efficient to just push out any news that gets published, rather than having all of these refresh all the content every so often. The goal is therefore to create a sample of how an e-newspaper could utilize SignalR. With any connected client that receives breaking news, we can improve the user experience by pushing the news to the user. There are obviously quite a few other things one could do, but let's just keep to this. Again, similar to Chapter 2, Overheating the Discussion, we will utilize the top-level abstraction called a hub. As a developer, this gives us a far more productive way...