Presentation is loading. Please wait.

Presentation is loading. Please wait.

SignalR on Old-school Servers & Clients When some lower-common denominator polling mechanism is needed Web Server HTML Client Got Data? Here’s some.

Similar presentations


Presentation on theme: "SignalR on Old-school Servers & Clients When some lower-common denominator polling mechanism is needed Web Server HTML Client Got Data? Here’s some."— Presentation transcript:

1

2

3

4

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

8

9

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()

16

17

18

19

20

21

22

23

24

25

26

27

28

29

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

32

33

34

35

36 www.microsoft.com/learning http://developer.microsoft.com http://microsoft.com/technet http://channel9.msdn.com/Events/TechEd

37

38


Download ppt "SignalR on Old-school Servers & Clients When some lower-common denominator polling mechanism is needed Web Server HTML Client Got Data? Here’s some."

Similar presentations


Ads by Google