SlideShare une entreprise Scribd logo
1  sur  13
Local Touch – Global Reach




   Intro to SignalR + Awesome Mobile Possibilities !



Samidip Basu
Solutions Lead | MSFT Mobility
Email: Samidip.Basu@us.sogeti.com
Twitter: @samidip
Info: http://samidipbasu.info
Blog: http://samidipbasu.com

Sogeti USA
8425 Pulsar Place, Suite 300 | Columbus, OH 43240.
www.us.sogeti.com




                                                                   www.us.sogeti.com
Central Ohio Windows Phone User Group
http://cowpug.org
http://meetup.com/cowpug
@cowpug
3rd Monday @ TechColumbus
http://www.m3conf.com/
@m3conf
SilverlightShow (www.silverlightshow.net) – online
portal for everything Silverlight, XAML and Windows
Phone, 10K+ members.

* daily news                  * tutorials
* exclusive articles          * forums
* free webinars               * events
* ebooks                      * newsletters


 CompletIT (www.completit.com) – Silverlight and
 Windows Phone trainings, consultations and
 development company, founder of SilverlightShow.

 * Individual and group, on-site and online trainings
 * Standard and custom course schedules
 * Trainings by Silverlight MVP, MCT
Why do we need real-time?

 New email

 Twitter/Facebook updates

 Stock Ticker/Live Auctions

 Game Scores

 Real-time Notifications

 Turn-by-Turn Games

 Collaboration

 Progress Bars

 And obviously, Chat
Existing Technologies?
 HTTP – purely Request/Response protocol

 Internet – not real-time; stateless; services don’t call your app

 Consumption model .. But we’ve learnt tricks

 Periodic/Ajax Polling – not real-time, bandwidth misuse




                             Image courtesy @maartenballiauw
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 SignalR
 An 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 (Damian Edwards & David Fowler) .. Not
  officially MSFT product, but OSS

 https://github.com/SignalR/SignalR
 http://jabbr.net/#/rooms/signal

 SignalR 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 Demos !

 Whoa .. What happened here?

 Client calls server; Server calls client; seamlessly

 No polling, at least in our code

 Server maintains Clients .. Broadcast to all, group or
  individual clients

 Low level – PersistentConnection; more control

 Abstraction – Hub; easier to use
Where does this stand?

 Other technologies have solved this problem

 Socket.IO is a client-side Jscript library that talks to node.js

 Nowjs supports namespace sync between client-server

 Primary 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 iOS




http://dyknow.github.com/SignalR-ObjC/
SignalR Client for Mono (Android)




http://blog.rthand.com/post/2012/03/14/SignalR-client-on-Mono-for-Android.aspx
Local Touch – Global Reach




Questions?

Thank you !!




                             www.us.sogeti.com

Contenu connexe

Tendances

Developing cross platform mobile applications with phone gap for windows phone
Developing cross platform mobile applications with phone gap for windows phoneDeveloping cross platform mobile applications with phone gap for windows phone
Developing cross platform mobile applications with phone gap for windows phone
Colin Eberhardt
 
快快樂樂利用 PhoneGap 打造屬於自己的 App
快快樂樂利用 PhoneGap 打造屬於自己的 App快快樂樂利用 PhoneGap 打造屬於自己的 App
快快樂樂利用 PhoneGap 打造屬於自己的 App
ericpi Bi
 
Retour d’expérience sur Couchbase par James Nocentini
Retour d’expérience sur Couchbase par James NocentiniRetour d’expérience sur Couchbase par James Nocentini
Retour d’expérience sur Couchbase par James Nocentini
CocoaHeads France
 
Kendo UI 101
Kendo UI 101Kendo UI 101
Kendo UI 101
Sam Basu
 

Tendances (20)

Hybrid Mobile Development and MobileFirst
Hybrid Mobile Development and MobileFirstHybrid Mobile Development and MobileFirst
Hybrid Mobile Development and MobileFirst
 
Developing cross platform mobile applications with phone gap for windows phone
Developing cross platform mobile applications with phone gap for windows phoneDeveloping cross platform mobile applications with phone gap for windows phone
Developing cross platform mobile applications with phone gap for windows phone
 
PhoneGap - Now and the Future
PhoneGap - Now and the FuturePhoneGap - Now and the Future
PhoneGap - Now and the Future
 
快快樂樂利用 PhoneGap 打造屬於自己的 App
快快樂樂利用 PhoneGap 打造屬於自己的 App快快樂樂利用 PhoneGap 打造屬於自己的 App
快快樂樂利用 PhoneGap 打造屬於自己的 App
 
Retour d’expérience sur Couchbase par James Nocentini
Retour d’expérience sur Couchbase par James NocentiniRetour d’expérience sur Couchbase par James Nocentini
Retour d’expérience sur Couchbase par James Nocentini
 
How To Create One App For All Platforms using PhoneGap
How To Create One App For All Platforms using PhoneGapHow To Create One App For All Platforms using PhoneGap
How To Create One App For All Platforms using PhoneGap
 
Bridging the gap
Bridging the gapBridging the gap
Bridging the gap
 
.NET Drop 4
.NET Drop 4.NET Drop 4
.NET Drop 4
 
Reusable APIs
Reusable APIsReusable APIs
Reusable APIs
 
Discover more LINE Beacon applications
Discover more LINE Beacon applicationsDiscover more LINE Beacon applications
Discover more LINE Beacon applications
 
Phonegap
PhonegapPhonegap
Phonegap
 
Develop your website with ROR
Develop your website with RORDevelop your website with ROR
Develop your website with ROR
 
Symbolic: powerful web interface for Func
Symbolic: powerful web interface for FuncSymbolic: powerful web interface for Func
Symbolic: powerful web interface for Func
 
Faceweinar Brochure
Faceweinar BrochureFaceweinar Brochure
Faceweinar Brochure
 
Node frameworks talk_hackerdojo
Node frameworks talk_hackerdojoNode frameworks talk_hackerdojo
Node frameworks talk_hackerdojo
 
Cordova and PhoneGap Insights
Cordova and PhoneGap InsightsCordova and PhoneGap Insights
Cordova and PhoneGap Insights
 
Progressive Web Apps / GDG DevFest - Season 2016
Progressive Web Apps / GDG DevFest - Season 2016Progressive Web Apps / GDG DevFest - Season 2016
Progressive Web Apps / GDG DevFest - Season 2016
 
SOCCNX 2015 - Application Integration Blast
SOCCNX 2015 - Application Integration BlastSOCCNX 2015 - Application Integration Blast
SOCCNX 2015 - Application Integration Blast
 
JavaScript: a very short introduction
JavaScript: a very short introductionJavaScript: a very short introduction
JavaScript: a very short introduction
 
Kendo UI 101
Kendo UI 101Kendo UI 101
Kendo UI 101
 

En vedette (6)

SignalR Tune-up
SignalR Tune-upSignalR Tune-up
SignalR Tune-up
 
SignalR. Code, not toothpaste - TechDays Belgium 2012
SignalR. Code, not toothpaste - TechDays Belgium 2012SignalR. Code, not toothpaste - TechDays Belgium 2012
SignalR. Code, not toothpaste - TechDays Belgium 2012
 
SignalR for ASP.NET Developers
SignalR for ASP.NET DevelopersSignalR for ASP.NET Developers
SignalR for ASP.NET Developers
 
Object oriented design patterns for distributed systems
Object oriented design patterns for distributed systemsObject oriented design patterns for distributed systems
Object oriented design patterns for distributed systems
 
Real time web with SignalR
Real time web with SignalRReal time web with SignalR
Real time web with SignalR
 
SignalR: Add real-time to your applications
SignalR: Add real-time to your applicationsSignalR: Add real-time to your applications
SignalR: Add real-time to your applications
 

Similaire à SignalR + Mobile Possibilities

SignalR Powered X-Platform Real-Time Apps!
SignalR Powered X-Platform Real-Time Apps!SignalR Powered X-Platform Real-Time Apps!
SignalR Powered X-Platform Real-Time Apps!
Sam Basu
 
SignalR powered real-time x-plat mobile apps!
SignalR powered real-time x-plat mobile apps!SignalR powered real-time x-plat mobile apps!
SignalR powered real-time x-plat mobile apps!
Sam Basu
 
What's New with Windows Phone - FoxCon Talk
What's New with Windows Phone - FoxCon TalkWhat's New with Windows Phone - FoxCon Talk
What's New with Windows Phone - FoxCon Talk
Sam Basu
 
Azure + WP7 - CodePaLOUsa
Azure + WP7 - CodePaLOUsaAzure + WP7 - CodePaLOUsa
Azure + WP7 - CodePaLOUsa
Sam Basu
 
Fanug - Pragmatic Windows Phone Developer
Fanug - Pragmatic Windows Phone DeveloperFanug - Pragmatic Windows Phone Developer
Fanug - Pragmatic Windows Phone Developer
Sam Basu
 
Azure & WP7 at GRDevDay
Azure & WP7 at GRDevDayAzure & WP7 at GRDevDay
Azure & WP7 at GRDevDay
Sam Basu
 
Powering Apps with Live Services @ ThatConference
Powering Apps with Live Services @ ThatConferencePowering Apps with Live Services @ ThatConference
Powering Apps with Live Services @ ThatConference
Sam Basu
 
Powering Your Apps with Live Services
Powering Your Apps with Live ServicesPowering Your Apps with Live Services
Powering Your Apps with Live Services
Sam Basu
 
IBM Mobile portal experience
IBM Mobile portal experienceIBM Mobile portal experience
IBM Mobile portal experience
Vincent Perrin
 
Biztalk Server 2006
Biztalk Server 2006Biztalk Server 2006
Biztalk Server 2006
ipaciti
 
Webinar WebRTC HTML5 (english)
Webinar WebRTC HTML5 (english)Webinar WebRTC HTML5 (english)
Webinar WebRTC HTML5 (english)
Quobis
 

Similaire à SignalR + Mobile Possibilities (20)

SignalR Powered X-Platform Real-Time Apps!
SignalR Powered X-Platform Real-Time Apps!SignalR Powered X-Platform Real-Time Apps!
SignalR Powered X-Platform Real-Time Apps!
 
SignalR powered real-time x-plat mobile apps!
SignalR powered real-time x-plat mobile apps!SignalR powered real-time x-plat mobile apps!
SignalR powered real-time x-plat mobile apps!
 
What's New with Windows Phone - FoxCon Talk
What's New with Windows Phone - FoxCon TalkWhat's New with Windows Phone - FoxCon Talk
What's New with Windows Phone - FoxCon Talk
 
Azure + WP7 - CodePaLOUsa
Azure + WP7 - CodePaLOUsaAzure + WP7 - CodePaLOUsa
Azure + WP7 - CodePaLOUsa
 
Fanug - Pragmatic Windows Phone Developer
Fanug - Pragmatic Windows Phone DeveloperFanug - Pragmatic Windows Phone Developer
Fanug - Pragmatic Windows Phone Developer
 
Azure & WP7 at GRDevDay
Azure & WP7 at GRDevDayAzure & WP7 at GRDevDay
Azure & WP7 at GRDevDay
 
WP7 & Azure
WP7 & AzureWP7 & Azure
WP7 & Azure
 
Webrtc in Real world
Webrtc in Real world Webrtc in Real world
Webrtc in Real world
 
Powering Apps with Live Services @ ThatConference
Powering Apps with Live Services @ ThatConferencePowering Apps with Live Services @ ThatConference
Powering Apps with Live Services @ ThatConference
 
Powering Your Apps with Live Services
Powering Your Apps with Live ServicesPowering Your Apps with Live Services
Powering Your Apps with Live Services
 
Building Real time Application with Azure SignalR Service
Building Real time Application with Azure SignalR ServiceBuilding Real time Application with Azure SignalR Service
Building Real time Application with Azure SignalR Service
 
IBM Mobile portal experience
IBM Mobile portal experienceIBM Mobile portal experience
IBM Mobile portal experience
 
TRWResume-10-2016
TRWResume-10-2016TRWResume-10-2016
TRWResume-10-2016
 
Biztalk Server 2006
Biztalk Server 2006Biztalk Server 2006
Biztalk Server 2006
 
Yatoto-technical
Yatoto-technicalYatoto-technical
Yatoto-technical
 
Detailed-Resume-Rebai-Hamida
Detailed-Resume-Rebai-HamidaDetailed-Resume-Rebai-Hamida
Detailed-Resume-Rebai-Hamida
 
Introduction to SignalR
Introduction to SignalRIntroduction to SignalR
Introduction to SignalR
 
Widgets Final
Widgets FinalWidgets Final
Widgets Final
 
WebRTC Summit (June 2014) - WebRTC Interoperability (and why it is important)
WebRTC Summit (June 2014) - WebRTC Interoperability (and why it is important)WebRTC Summit (June 2014) - WebRTC Interoperability (and why it is important)
WebRTC Summit (June 2014) - WebRTC Interoperability (and why it is important)
 
Webinar WebRTC HTML5 (english)
Webinar WebRTC HTML5 (english)Webinar WebRTC HTML5 (english)
Webinar WebRTC HTML5 (english)
 

Plus de Sam Basu

Plus de Sam Basu (20)

Surfing in Maui
Surfing in MauiSurfing in Maui
Surfing in Maui
 
Modern Cross-Platform Dev with .NET 6
Modern Cross-Platform Dev with .NET 6Modern Cross-Platform Dev with .NET 6
Modern Cross-Platform Dev with .NET 6
 
Conversational Bots
Conversational BotsConversational Bots
Conversational Bots
 
Real Time Apps with SignalR Core
Real Time Apps with SignalR CoreReal Time Apps with SignalR Core
Real Time Apps with SignalR Core
 
State of Mobile Development
State of Mobile DevelopmentState of Mobile Development
State of Mobile Development
 
.NET Today & Tomorrow @ Beer City Code
.NET Today & Tomorrow @ Beer City Code.NET Today & Tomorrow @ Beer City Code
.NET Today & Tomorrow @ Beer City Code
 
Essential Tools for Xamarin Developers
Essential Tools for Xamarin DevelopersEssential Tools for Xamarin Developers
Essential Tools for Xamarin Developers
 
Modern Web Tour
Modern Web TourModern Web Tour
Modern Web Tour
 
Flying High with Xamarin!
Flying High with Xamarin!Flying High with Xamarin!
Flying High with Xamarin!
 
Xamarin Roadshow
Xamarin RoadshowXamarin Roadshow
Xamarin Roadshow
 
Flying High with Xamarin
Flying High with XamarinFlying High with Xamarin
Flying High with Xamarin
 
ASP.NET Tech Stack talk @ Houston TechFest
ASP.NET Tech Stack talk @ Houston TechFestASP.NET Tech Stack talk @ Houston TechFest
ASP.NET Tech Stack talk @ Houston TechFest
 
Lap Around ASPNet Core - PGHDotNet
Lap Around ASPNet Core - PGHDotNetLap Around ASPNet Core - PGHDotNet
Lap Around ASPNet Core - PGHDotNet
 
Lap Around ASPNet Core - HDC
Lap Around ASPNet Core - HDCLap Around ASPNet Core - HDC
Lap Around ASPNet Core - HDC
 
Free Your On-Premises Data
Free Your On-Premises DataFree Your On-Premises Data
Free Your On-Premises Data
 
Lap around ASP.NET 5 - Dayton UG
Lap around ASP.NET 5 - Dayton UGLap around ASP.NET 5 - Dayton UG
Lap around ASP.NET 5 - Dayton UG
 
A Lap around ASP.NET 5 - VConf
A Lap around ASP.NET 5 - VConfA Lap around ASP.NET 5 - VConf
A Lap around ASP.NET 5 - VConf
 
A Lap around ASP.NET 5 - CONDG
A Lap around ASP.NET 5 - CONDGA Lap around ASP.NET 5 - CONDG
A Lap around ASP.NET 5 - CONDG
 
Modern .NET Apps - TelerikNext
Modern .NET Apps - TelerikNextModern .NET Apps - TelerikNext
Modern .NET Apps - TelerikNext
 
Modern .NET Apps - Codestock
Modern .NET Apps - CodestockModern .NET Apps - Codestock
Modern .NET Apps - Codestock
 

Dernier

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 

Dernier (20)

Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 

SignalR + Mobile Possibilities

  • 1. Local Touch – Global Reach Intro to SignalR + Awesome Mobile Possibilities ! Samidip Basu Solutions Lead | MSFT Mobility Email: Samidip.Basu@us.sogeti.com Twitter: @samidip Info: http://samidipbasu.info Blog: http://samidipbasu.com Sogeti USA 8425 Pulsar Place, Suite 300 | Columbus, OH 43240. www.us.sogeti.com www.us.sogeti.com
  • 2. Central Ohio Windows Phone User Group http://cowpug.org http://meetup.com/cowpug @cowpug 3rd Monday @ TechColumbus
  • 4. SilverlightShow (www.silverlightshow.net) – online portal for everything Silverlight, XAML and Windows Phone, 10K+ members. * daily news * tutorials * exclusive articles * forums * free webinars * events * ebooks * newsletters CompletIT (www.completit.com) – Silverlight and Windows Phone trainings, consultations and development company, founder of SilverlightShow. * Individual and group, on-site and online trainings * Standard and custom course schedules * Trainings by Silverlight MVP, MCT
  • 5. Why do we need real-time?  New email  Twitter/Facebook updates  Stock Ticker/Live Auctions  Game Scores  Real-time Notifications  Turn-by-Turn Games  Collaboration  Progress Bars  And obviously, Chat
  • 6. Existing Technologies?  HTTP – purely Request/Response protocol  Internet – not real-time; stateless; services don’t call your app  Consumption model .. But we’ve learnt tricks  Periodic/Ajax Polling – not real-time, bandwidth misuse Image courtesy @maartenballiauw
  • 7. 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
  • 8. Enter SignalR  An 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 (Damian Edwards & David Fowler) .. Not officially MSFT product, but OSS  https://github.com/SignalR/SignalR  http://jabbr.net/#/rooms/signal  SignalR 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
  • 9. Live Demos !  Whoa .. What happened here?  Client calls server; Server calls client; seamlessly  No polling, at least in our code  Server maintains Clients .. Broadcast to all, group or individual clients  Low level – PersistentConnection; more control  Abstraction – Hub; easier to use
  • 10. Where does this stand?  Other technologies have solved this problem  Socket.IO is a client-side Jscript library that talks to node.js  Nowjs supports namespace sync between client-server  Primary 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
  • 11. SignalR Client for iOS http://dyknow.github.com/SignalR-ObjC/
  • 12. SignalR Client for Mono (Android) http://blog.rthand.com/post/2012/03/14/SignalR-client-on-Mono-for-Android.aspx
  • 13. Local Touch – Global Reach Questions? Thank you !! www.us.sogeti.com