Microsoft signal r

1,348 views
1,198 views

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,348
On SlideShare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
56
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Microsoft signal r

  1. 1. Pranav Rastogi Program Manager Microsoft Twitter : rustd ASP.NET SignalR Real time web made simple
  2. 2. www.devconnections.com ASP.NET SIGNALR INTRODUCTIONS Author
  3. 3. www.devconnections.com ASP.NET SIGNALR WHAT IS ASP.NET SIGNALR?
  4. 4. www.devconnections.com ASP.NET SIGNALR
  5. 5. www.devconnections.com ASP.NET SIGNALR HOW CAN I USE REAL-TIME IN MY APP?
  6. 6. www.devconnections.com ASP.NET SIGNALR
  7. 7. www.devconnections.com ASP.NET SIGNALR REACH PERFORMANCE
  8. 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. 9. www.devconnections.com ASP.NET SIGNALR
  10. 10. www.devconnections.com ASP.NET SIGNALR CONNECTION LIFETIME
  11. 11. www.devconnections.com ASP.NET SIGNALR SIMPLICITY REACH PERFORMANCE
  12. 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. 13. www.devconnections.com ASP.NET SIGNALR
  14. 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. 15. www.devconnections.com ASP.NET SIGNALR
  16. 16. www.devconnections.com ASP.NET SIGNALR SIMPLICITY REACH PERFORMANCE
  17. 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. 18. www.devconnections.com ASP.NET SIGNALR SCALE-OUT web nodes clients backplane
  19. 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. 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. 21. www.devconnections.com ASP.NET SIGNALR THANK YOU!!!

×