SignalR 101
Upcoming SlideShare
Loading in...5
×
 

SignalR 101

on

  • 712 views

This topic covers SignalR on a general level. The demo used for this talk was a modification of the default chat application to make it more descriptive and realistic in enterprise setting.

This topic covers SignalR on a general level. The demo used for this talk was a modification of the default chat application to make it more descriptive and realistic in enterprise setting.

Statistics

Views

Total Views
712
Views on SlideShare
709
Embed Views
3

Actions

Likes
1
Downloads
10
Comments
0

2 Embeds 3

http://www.linkedin.com 2
https://www.linkedin.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

CC Attribution-NonCommercial LicenseCC Attribution-NonCommercial License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

SignalR 101 SignalR 101 Presentation Transcript

  • MICROSOFT DEVELOPER PHILIPPINES TECHNICAL SHARINGSIGNALR101 Patrick Oliveros Microsoft MVP ASP.NET/IIS
  • The web evolved Event-based, real-time UI Partial page updates (Ajax), RIA Dynamic pages, forms Static HTML pages
  • Scenarios
  • Implementations Periodic Pooling Long Polling Server-Sent Events Web Sockets
  • Periodic Pooling Polling interval Cons: • Poll from time to time using Ajax • Delay in communications due to polling interval • Wastes bandwidth & latency 
  • Long Pooling Cons: • Poll but don’t respond untill there’s data • Poll again after data received or after the connection times out • Consumes server threads & connection resources 
  • Web Sockets (HTML 5) • Extension to HTTP • Provide raw sockets over HTTP • Full-duplex • Traverses proxies • It’s still a draft… • Not every proxy server supports it  • Not every webserver supports it  • Not every browser supports it  • They are raw sockets!
  • So What Now? Superman SignalR to the rescue!
  • Enter SignalR• ASP.NET SignalR is a new library for ASP.NET developer that makes it incredibly simple to add real-time web functionality to your applications• Async signaling library for .NET to help build real-time, multi-user interactive web applications ( aka persistent connection abstraction for .NET);
  • Enter SignalR
  • Transport Priority Web Sockets Server-Sent Events Forever Frame Long Polling
  • Demo
  • Resources • SignalR project page: http://www.signalr.net • SignalR on github: https://github.com/SignalR/SignalR
  • Thanks!