Download presentation
Presentation is loading. Please wait.
Published byRosaline French Modified over 9 years ago
5
SignalR on Old-school Servers & Clients When some lower-common denominator polling mechanism is needed Web Server HTML Client Got Data? Here’s some data
6
SignalR on Modern Servers & Clients When WebSockets or some other real-time layer is supported Web Server HTML Client I can party in real time. Can you?
7
A more high-level pipeline built upon the Connection API that allows your client and server to call methods on each other directly Hub Represents a simple endpoint for sending single-recipient, grouped, or broadcast messages Connection A backplane allows you to scale your application to multiple servers. With a backplane enabled, each application instance sends messages to the backplane, and the backplane forwards them to the other application instances. Backplane
10
Any sufficiently advanced technology is indistinguishable from magic - Arthur C. Clarke
11
A hub is a.NET class that inherits from Microsoft.AspNet.SignalR.Hub Since Hubs are called on the client by name, the name can be customized if needed The Clients property of a Hub class exposes dynamic properties useful for targeting specific clients Hub classes also have virtual methods useful for responding to connected/disconnected events
12
Clients.All.doWork()
13
Clients.Caller.doWork()
14
Clients.Others.doWork()
15
Clients.Users(“Brady”).doWork()
30
How do Backplanes Work? What does SignalR do without a backplane?
31
How do Backplanes Work? Here’s how the Backplane solves the problem
36
www.microsoft.com/learning http://developer.microsoft.com http://microsoft.com/technet http://channel9.msdn.com/Events/TechEd
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.