Realtime signalR
-
Upload
david-voyles -
Category
Technology
-
view
46 -
download
5
Transcript of Realtime signalR
Real-time Communications
with SignalRDave Voyles
Technical Evangelist
Email: [email protected]
@DaveVoyles
Microsoft Azure
Agenda
1)Introduction to the real-time web
2)ASP.NET SignalR3)Building a real-time
Microsoft Azure
Client Browser
WebServer
Got Data?
Got Data?
Got Data?
Got Data?
Here’s some data!
Got Data?
Got Data?
Got Data?
Got Data?
Without real-time
Microsoft Azure
Client Browser
WebServer
I do real time, do you?
Absolutely!
With real-time
Let’s Party in Real-time!
Microsoft Azure
Client Browser
WebServer
Basically…
SignalR!!!
Microsoft Azure
Introducing SignalR• Abstraction over transports• Events instead of task/async• Connection management• Broadcast or target specific client
Microsoft Azure
What does SignalR do?
• Client to Server persistent connection over HTTP
• Easily build multi-user, real-time web applications
• Auto-negotiates transport
Microsoft Azure
SignalR Fallback
Long Polling
Forever Frames
Server Sent Events
Web Sockets
Microsoft Azure
What does SignalR do?
• Allows server-to-client push and RPC• Built async to scale to 1000’s of
connections• Scale out with Service Bus,
SQL Server & Redis• Open Source on GitHub
Microsoft AzureMicrosoft /web
®
Backplane
SignalR BackplanesLoad balancing via a common transport mechanism
Load B
ala
nce
r
Microsoft Azure
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Microsoft, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.