Exposing our functionality through hubs makes it easier to consume on the client, at least on JavaScript based clients, due to the proxy generation. It basically brings it to the client as if it was on the client. With the hub, you also get the ability to call the client from the server in a more natural manner. We've also seen how focused and more maintainable our code gets in the client. One of the things often important for applications is the ability to filter out messages so you only get messages relevant for your context. In the next chapter, groups will cover this; groups is the technique used in SignalR to accomplish this.
SignalR: Real-time Application Development - Second Edition
By :
SignalR: Real-time Application Development - Second Edition
By:
Overview of this book
Table of Contents (19 chapters)
SignalR – Real-time Application Development Second Edition
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
The Primer
Persistent Connections
State
Security
Scaling Out
Building a WPF .NET Client
Write Once, Deploy Many
Hosting a Server Using Self-hosted OWIN
Index
Customer Reviews