Your SlideShare is downloading. ×
Microsoft signal r
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Microsoft signal r

979
views

Published on

Published in: Technology

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
979
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
53
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Pranav Rastogi Program Manager Microsoft Twitter : rustd ASP.NET SignalR Real time web made simple
  • 2. www.devconnections.com ASP.NET SIGNALR INTRODUCTIONS Author
  • 3. www.devconnections.com ASP.NET SIGNALR WHAT IS ASP.NET SIGNALR?
  • 4. www.devconnections.com ASP.NET SIGNALR
  • 5. www.devconnections.com ASP.NET SIGNALR HOW CAN I USE REAL-TIME IN MY APP?
  • 6. www.devconnections.com ASP.NET SIGNALR
  • 7. www.devconnections.com ASP.NET SIGNALR REACH PERFORMANCE
  • 8. www.devconnections.com ASP.NET SIGNALR SIMPLICITY: TWO-LEVEL API Low level Raw strings up & down Broadcast to all clients, groups or individuals Connection, reconnect & disconnect semantics Built on top of connections RPC from client-server *AND* server-client Automatic client proxy generation (JavaScript)
  • 9. www.devconnections.com ASP.NET SIGNALR
  • 10. www.devconnections.com ASP.NET SIGNALR CONNECTION LIFETIME
  • 11. www.devconnections.com ASP.NET SIGNALR SIMPLICITY REACH PERFORMANCE
  • 12. www.devconnections.com ASP.NET SIGNALR REACH: BUT WHAT ABOUT WEBSOCKETS? WebSockets works if… 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 SignalR works… Everywhere We’ll try WebSockets then fallback to: • Server Sent Events • Forever Frame • Long Polling We give you a simple & powerful API to work with We do our best to keep the logical connection up, including retry logic if transports fail We scale-out to web-farms
  • 13. www.devconnections.com ASP.NET SIGNALR
  • 14. www.devconnections.com ASP.NET SIGNALR REACH: CLIENTS FOR EVERYBODY! Right now JavaScript (jQuery) .NET 4.0/4.5 Silverlight 5 Windows Store apps Windows Phone 8 Portable Class Library MonoTouch MonoDroid In the future C++ Pure JavaScript (no jQuery) iOS native Java .NET Micro Framework …
  • 15. www.devconnections.com ASP.NET SIGNALR
  • 16. www.devconnections.com ASP.NET SIGNALR SIMPLICITY REACH PERFORMANCE
  • 17. www.devconnections.com ASP.NET SIGNALR PERFORMANCE: THROUGHPUT & SCALE Very high performance on a single box 100,000’s of messages per second Very low memory overhead Fully async to optimize resource utilization 1,000’s of connections per server Supports horizontal scale-out using a pluggable message bus backplane (Azure Service Bus, Redis, SQL)
  • 18. www.devconnections.com ASP.NET SIGNALR SCALE-OUT web nodes clients backplane
  • 19. www.devconnections.com ASP.NET SIGNALR THERE’S MORE… 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 Supported part of the ASP.NET family www.asp.net/signalr
  • 20. www.devconnections.com ASP.NET SIGNALR RELATED CONTENT  ASP.NET Identity & Security  Introduction to .NET Web Development on Azure  Microsoft ASP.NET, Web, and Cloud Tools Preview
  • 21. www.devconnections.com ASP.NET SIGNALR THANK YOU!!!

×