0
Realtime Messaging und Verteilte            Systeme mit Sharepoint und Windows                     Azure Service Bus      ...
AgendaCONNECTINGISSUES IN WEB                WebSockets                Server Sent EventsSIGNAL-R        Forever Frames   ...
Infrastructure for Web                http Request/Response                        X                http Request/Response ...
Polling and Duplex Approach          while(true){                  var response = httpClient.SendRequest(“http://...”);   ...
SIGNAL-RCONNECTING      SERVER SENTISSUES IN WEB   EVENTS                WebSockets                Server Sent EventsSIGNA...
WebSockets•   Driven by HTML5•   Full-Duplex over TCP•   Browser native Socket connection•   IETF Spec. - HyBi 17    (IE10...
WebSockets SequenceDevelopers.dehttp://developers.de/blogs/damir_dobric/archive/2012/01/29/websockets-in-asp-net-and-javas...
Server Sent Events•     Push from a server to a browser•     Part of HTML5 spec•     http://dev.w3.org/html5/eventsource• ...
Forever-Frame streaming• Push notifications• Not based on Long-Polling• Uses HTTP 1.1 chunked encoding
SignalR• Permanent Connection support for none HTML5 browsers.• Use it when infrastructure does not support any other push...
DEMOCONNECTING      SERVER SENTISSUES IN WEB   EVENTS                Server Sent                EventsSIGNAL-R        Fore...
RELAYINGCONNECTING      SERVER SENTISSUES IN WEB   EVENTS                Server Sent                EventsSIGNAL-R        ...
Service Bus Connectivity                                 Service                                  Bus                     ...
CONNECTIVITY•   Relaying•   Tunneling•   Eventing•   Push
WCF Relay Protocol Support  Microsoft.ServiceBus.dll v1.6
SharePoint Relaying
Q&A             •       Connecting Issues in Web                                          •     Missing Callback          ...
Consumer             Service                             Consumer               BROCKER             ServiceWINDAYS12 TECHN...
•   HTML5                                 •   Push Notifications                                 •   Long polling         ...
Realtime Messaging und verteilte Systeme mit SharePoint und Windows Azure Service Bus
Upcoming SlideShare
Loading in...5
×

Realtime Messaging und verteilte Systeme mit SharePoint und Windows Azure Service Bus

263

Published on

Realtime Messaging und Verteilte Systeme mit Sharepoint und Windows Azure Service Bus

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
263
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "Realtime Messaging und verteilte Systeme mit SharePoint und Windows Azure Service Bus"

  1. 1. Realtime Messaging und Verteilte Systeme mit Sharepoint und Windows Azure Service Bus Technology Advisor in Business Platform Dipl.-Ing. Damir Dobric Division – Microsoft Corp. Microsoft Most Valuable Professional Lead Architect daenet Email: damir.dobric@daenet.com Blog: http://developers.deWINDAYS12 TECHNOLOGY OBRAZOVNI PARTNER
  2. 2. AgendaCONNECTINGISSUES IN WEB WebSockets Server Sent EventsSIGNAL-R Forever Frames WINDOWS AZURE MESSAGINGRELAYING EXPANDO CONTRACT
  3. 3. Infrastructure for Web http Request/Response X http Request/Response http polling http Request/Response Full-Duplex
  4. 4. Polling and Duplex Approach while(true){ var response = httpClient.SendRequest(“http://...”); processResponse(response.Data); Thread.Sleep(T); } tcpClient.TimeOut = 999999..; var netStream = tcpClient.SendHttpRequest(“http://...”); while(true){ var data1 = netStream.Read(); var data2 = processData(data1); netStream.Write(data2); } }WINDAYS12 TECHNOLOGY OBRAZOVNI PARTNER
  5. 5. SIGNAL-RCONNECTING SERVER SENTISSUES IN WEB EVENTS WebSockets Server Sent EventsSIGNAL-R Forever Frames WINDOWS AZURERELAYING MESSAGING
  6. 6. WebSockets• Driven by HTML5• Full-Duplex over TCP• Browser native Socket connection• IETF Spec. - HyBi 17 (IE10 Win8=HyBi10)
  7. 7. WebSockets SequenceDevelopers.dehttp://developers.de/blogs/damir_dobric/archive/2012/01/29/websockets-in-asp-net-and-javascript.aspx
  8. 8. Server Sent Events• Push from a server to a browser• Part of HTML5 spec• http://dev.w3.org/html5/eventsource• Header: text/event-stream• Implemented natively in Browser• Long polling without closing connection http://dsheiko.com/weblog/websockets-vs-sse-vs-long-polling
  9. 9. Forever-Frame streaming• Push notifications• Not based on Long-Polling• Uses HTTP 1.1 chunked encoding
  10. 10. SignalR• Permanent Connection support for none HTML5 browsers.• Use it when infrastructure does not support any other push technology• Two Part Library – jQuery PlugIn for Client – .NET Library for Server• Supported Transports: – Long polling – WebSockets – Forever Frame streaming – Server Sent events
  11. 11. DEMOCONNECTING SERVER SENTISSUES IN WEB EVENTS Server Sent EventsSIGNAL-R Forever Frames WINDOWS AZURERELAYING MESSAGING
  12. 12. RELAYINGCONNECTING SERVER SENTISSUES IN WEB EVENTS Server Sent EventsSIGNAL-R Forever Frames WINDOWS AZURERELAYING MESSAGING
  13. 13. Service Bus Connectivity Service Bus 1. Outbound, bi- Forwarder directional TCP socket 2. Outbound, bi- connection directional TCP socket connection 3. Route and relay the message, and send it to the service. Client Service
  14. 14. CONNECTIVITY• Relaying• Tunneling• Eventing• Push
  15. 15. WCF Relay Protocol Support Microsoft.ServiceBus.dll v1.6
  16. 16. SharePoint Relaying
  17. 17. Q&A • Connecting Issues in Web • Missing Callback • Cannot initiate Connection from Server • HTML5 Way • WebSocket specification • Still no server support • Still no client support • IIS8/Windows8/http.sys vNext • SignalR • No need for HTTP.Sys vNext • No need for HTML5 • Full Cross Browser Support • Service Bus • Point to Point Connection through firewallWINDAYS12 TECHNOLOGY OBRAZOVNI PARTNER
  18. 18. Consumer Service Consumer BROCKER ServiceWINDAYS12 TECHNOLOGY OBRAZOVNI PARTNER
  19. 19. • HTML5 • Push Notifications • Long polling • Server Sent EventsQ&A • • Forever Frame WebSocketsWeb Development with • SignalRWebSockets and SignalR Damir Dobric blog: http://developers.de http://twitter.com/#!/ddobric
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×