Developing real time web apps with signalR - js-il.com

1,093 views

Published on

js-il.com

Published in: Technology
0 Comments
4 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,093
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
24
Comments
0
Likes
4
Embeds 0
No embeds

No notes for slide

Developing real time web apps with signalR - js-il.com

  1. 1. Israel JavaScript Conference | 03 – 6325707 | info@e4d.co.il | www.js-il.com |Israel JavaScript ConferenceYaniv@UpStruct.nethttp://www.UpStruct.net
  2. 2. Israel JavaScript Conference | 03 – 6325707 | info@e4d.co.il | www.js-il.com |Israel JavaScript ConferenceYaniv@UpStruct.nethttp://www.UpStruct.net
  3. 3. Israel JavaScript Conference | 03 – 6325707 | info@e4d.co.il | www.js-il.com |
  4. 4. Israel JavaScript Conference | 03 – 6325707 | info@e4d.co.il | www.js-il.com |
  5. 5. Israel JavaScript Conference | 03 – 6325707 | info@e4d.co.il | www.js-il.com |
  6. 6. Israel JavaScript Conference | 03 – 6325707 | info@e4d.co.il | www.js-il.com |
  7. 7. Israel JavaScript Conference | 03 – 6325707 | info@e4d.co.il | www.js-il.com |
  8. 8. Israel JavaScript Conference | 03 – 6325707 | info@e4d.co.il | www.js-il.com |ResponseRequest
  9. 9. Israel JavaScript Conference | 03 – 6325707 | info@e4d.co.il | www.js-il.com |
  10. 10. Israel JavaScript Conference | 03 – 6325707 | info@e4d.co.il | www.js-il.com |
  11. 11. Israel JavaScript Conference | 03 – 6325707 | info@e4d.co.il | www.js-il.com |
  12. 12. Israel JavaScript Conference | 03 – 6325707 | info@e4d.co.il | www.js-il.com |
  13. 13. Israel JavaScript Conference | 03 – 6325707 | info@e4d.co.il | www.js-il.com |http://www.microsoft.com/en-us/download/details.aspx?id=38188https://github.com/SignalR/SignalRinstall-package Microsoft.AspNet.SignalR
  14. 14. Israel JavaScript Conference | 03 – 6325707 | info@e4d.co.il | www.js-il.com |
  15. 15. Israel JavaScript Conference | 03 – 6325707 | info@e4d.co.il | www.js-il.com |
  16. 16. Israel JavaScript Conference | 03 – 6325707 | info@e4d.co.il | www.js-il.com |
  17. 17. Israel JavaScript Conference | 03 – 6325707 | info@e4d.co.il | www.js-il.com |
  18. 18. Israel JavaScript Conference | 03 – 6325707 | info@e4d.co.il | www.js-il.com |http://shootr.signalr.nethttps://jabbr.nethttp://www.bromelard.comhttps://github.com/SignalR/SignalR/wiki/Projects-Using-SignalR
  19. 19. Israel JavaScript Conference | 03 – 6325707 | info@e4d.co.il | www.js-il.com |
  20. 20. Israel JavaScript Conference | 03 – 6325707 | info@e4d.co.il | www.js-il.com |hub.server.moveShape(x, y);hub.client.shapeMoved = function (x, y) {shape.css({left: x,top: y});}[HubMethodName("moveShape")]public void MoveShape(int x, int y){Clients.Others.shapeMoved(x, y);}
  21. 21. Israel JavaScript Conference | 03 – 6325707 | info@e4d.co.il | www.js-il.com |<script src="/ signalr/hubs"></script>HubConfiguration cfg = new HubConfiguration(){EnableJavaScriptProxies = true};RouteTable.Routes.MapHubs(“~/signalr”, cfg );
  22. 22. Israel JavaScript Conference | 03 – 6325707 | info@e4d.co.il | www.js-il.com |
  23. 23. Israel JavaScript Conference | 03 – 6325707 | info@e4d.co.il | www.js-il.com |http://www.asp.net/signalr/overview/getting-started/supported-platforms
  24. 24. Israel JavaScript Conference | 03 – 6325707 | info@e4d.co.il | www.js-il.com |
  25. 25. Israel JavaScript Conference | 03 – 6325707 | info@e4d.co.il | www.js-il.com |
  26. 26. Israel JavaScript Conference | 03 – 6325707 | info@e4d.co.il | www.js-il.com |
  27. 27. Israel JavaScript Conference | 03 – 6325707 | info@e4d.co.il | www.js-il.com |
  28. 28. Israel JavaScript Conference | 03 – 6325707 | info@e4d.co.il | www.js-il.com |https://github.com/SignalR/SignalR/wiki/Performance
  29. 29. Israel JavaScript Conference | 03 – 6325707 | info@e4d.co.il | www.js-il.com |
  30. 30. Israel JavaScript Conference | 03 – 6325707 | info@e4d.co.il | www.js-il.com |
  31. 31. Israel JavaScript Conference | 03 – 6325707 | info@e4d.co.il | www.js-il.com |RouteTable.Routes.MapHubs(cfg );
  32. 32. Israel JavaScript Conference | 03 – 6325707 | info@e4d.co.il | www.js-il.com |public class TraceModule: HubPipelineModule{protected override void OnAfterConnect(IHub hub){Debug.WriteLine(hub.Context.ConnectionId);base.OnAfterConnect(hub);}}(new TraceModule());
  33. 33. Israel JavaScript Conference | 03 – 6325707 | info@e4d.co.il | www.js-il.com |
  34. 34. Israel JavaScript Conference | 03 – 6325707 | info@e4d.co.il | www.js-il.com |[HubMethodName("chat")]public void Chat(ChatMessage message){}
  35. 35. Israel JavaScript Conference | 03 – 6325707 | info@e4d.co.il | www.js-il.com |
  36. 36. Israel JavaScript Conference | 03 – 6325707 | info@e4d.co.il | www.js-il.com |
  37. 37. Israel JavaScript Conference | 03 – 6325707 | info@e4d.co.il | www.js-il.com |
  38. 38. Israel JavaScript Conference | 03 – 6325707 | info@e4d.co.il | www.js-il.com |http://www.asp.net/signalrhttps://github.com/SignalR/SignalR/wikihttps://jabbr.nethttp://www.campusmvp.net/signalr-ebook
  39. 39. Israel JavaScript Conference | 03 – 6325707 | info@e4d.co.il | www.js-il.com |
  40. 40. Israel JavaScript Conference | 03 – 6325707 | info@e4d.co.il | www.js-il.com |Yaniv@UpStruct.nethttp://www.UpStruct.net

×