• Save
SignalR Intro + WPDev
Upcoming SlideShare
Loading in...5
×
 

SignalR Intro + WPDev

on

  • 2,206 views

 

Statistics

Views

Total Views
2,206
Views on SlideShare
2,204
Embed Views
2

Actions

Likes
2
Downloads
0
Comments
0

1 Embed 2

https://twitter.com 2

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

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 Intro + WPDev SignalR Intro + WPDev Presentation Transcript

  • Local Touch – Global Reach Intro to SignalR + Awesome Mobile Possibilities !Samidip BasuSolutions Lead | MSFT MobilityEmail: Samidip.Basu@us.sogeti.comTwitter: @samidipInfo: http://samidipbasu.infoBlog: http://samidipbasu.comSogeti USA8425 Pulsar Place, Suite 300 | Columbus, OH 43240.www.us.sogeti.com www.us.sogeti.com
  • Central Ohio Windows Phone User Grouphttp://cowpug.orghttp://meetup.com/cowpug@cowpug3rd Monday @ TechColumbus
  • Why do we need real-time?New emailTwitter/Facebook updatesStock Ticker/Live AuctionsGame ScoresReal-time NotificationsTurn-by-Turn GamesCollaborationProgress BarsAnd obviously, Chat
  • Existing TechnologiesHTTP – purely Request/Response protocolInternet – stateless; servers don’t call your app backConsumption model .. But we’ve learnt tricksPeriodic/Ajax Polling – not real-time, bandwidth misuse Image courtesy
  • Existing Technologies ..Contd. Use plugins like SL/Flash – to access sockets Native Web Sockets help – but low level & support flaky Long Polling – server does not respond unless X happens, client polls after data receive or time-out Image courtesy @maartenballiauw
  • Enter SignalRAn async, persistent connection/signalling library for .NET ... aids in building real time, multi-user connected applications.Persistent client-server connection over best transport .. Abstracts away the transport layer.From ASP.NET team-members (Damian Edwards & David Fowler) .. Not officially MSFT product, but OSS Booyah https://github.com/SignalR/SignalRhttp://jabbr.net/#/rooms/signalSignalR is broken up into a few packages on NuGet: SignalR - Package for SignalR.Server and SignalR.Js SignalR.Server - Server components needed for SignalR endpoints SignalR.Js - Javascript client for SignalR SignalR.Client - .NET client for SignalR SignalR.WP7 & SignalR.Silverlight – For the cool folks  SignalR.WebSockets - WebSocket Transport for SignalR
  • Live DemosWhoa .. What happened here?Client calls server; Server calls client; seamlesslyNo polling, at least in our codeServer maintains Clients .. Broadcast to all, group or individual clientsLow level – PersistentConnection; more controlAbstraction – Hub; easier to use
  • Where does this fit?Other technologies have solved this problemSocket.IO is a client-side Jscript library that talks to node.jsNowjs supports namespace sync between client-serverPrimary SignalR advantages → Simplicity & ease of use → Works natively in .NET → Works out of browser → Supports Web Sockets through a NuGet package [ASP.NET 4.5/IIS 8 on Win8 only] WebSocket is a web technology providing for multiplexing bi-directional, full-duplex communications channels over a single TCP connection. Still being standardized. → Works on other platforms
  • SignalR Client for iOShttp://dyknow.github.com/SignalR-ObjC/
  • SignalR Client for Monohttp://blog.rthand.com/post/2012/03/14/SignalR-client-on-Mono-for-Android.aspx
  • Local Touch – Global ReachQuestions?Thank you !!@samidip www.us.sogeti.com