Slide 1

Slide 1 text

SignalR: Awesome in Real- Time with ASP.NET David Fowler Senior Developer Microsoft Corporation

Slide 2

Slide 2 text

What is SignalR? Web UI that updates in real-time Push messages to connected clients An existing name for HTTP push techniques Equivalent technology on node.js

Slide 3

Slide 3 text

demo Just show me teh codez…

Slide 4

Slide 4 text

Real-time != Chat

Slide 5

Slide 5 text

What is SignalR? Real-time, persistent connection abstraction over HTTP

Slide 6

Slide 6 text

Simplicity: two-level API Low level Raw strings up and down Broadcast to all clients, groups or individuals Connect, Reconnect & Disconnect

Slide 7

Slide 7 text

demo Connections vs. Hubs

Slide 8

Slide 8 text

Reach: but what about WebSockets? You use ASP.NET 4.5 on Windows Server 2012 AND Client uses IE10 or latest Chrome, FF, Safari AND Your load balancer/reverse proxy supports it AND Client proxy server/NAT supports it AND Everybody between client & server supports it AND You’re happy coding against raw sockets AND You manage scale-out yourself

Slide 9

Slide 9 text

demo Transport negotiation

Slide 10

Slide 10 text

Reach: clients for everybody! JavaScript (jQuery) .NET 3.5/4.0/4.5 Silverlight 4/5 Windows Phone 7/7.1 WinRT iOS (community maintained) MonoTouch (community maintained)

Slide 11

Slide 11 text

demo Mixed-clients

Slide 12

Slide 12 text

Performance: throughput & scale Very high performance on a single box 100,000’s of messages per second Very low memory overhead

Slide 13

Slide 13 text

demo Scale-out with Redis

Slide 14

Slide 14 text

More awesome… Run it in your ASP.NET application or standalone with self-host on OWIN Run it on OSX or Linux with Mono #1 watched C# repo on GitHub

Slide 15

Slide 15 text

What Next? Run make and run the samples in mono develop. MonoTouch and MonoDroid clients Log bugs on github https://github.com/SignalR/SignalR Talk to us in jabbr! http://jabbr.net/#/rooms/signalr [email protected] Twitter: @davidfowl