Realtime Messaging und verteilte Systeme mit SharePoint und Windows Azure Service Bus
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

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

on

  • 450 views

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

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

Statistics

Views

Total Views
450
Views on SlideShare
450
Embed Views
0

Actions

Likes
0
Downloads
1
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

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

  • 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. AgendaCONNECTINGISSUES IN WEB WebSockets Server Sent EventsSIGNAL-R Forever Frames WINDOWS AZURE MESSAGINGRELAYING EXPANDO CONTRACT
  • 3. Infrastructure for Web http Request/Response X http Request/Response http polling http Request/Response Full-Duplex
  • 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. SIGNAL-RCONNECTING SERVER SENTISSUES IN WEB EVENTS WebSockets Server Sent EventsSIGNAL-R Forever Frames WINDOWS AZURERELAYING MESSAGING
  • 6. WebSockets• Driven by HTML5• Full-Duplex over TCP• Browser native Socket connection• IETF Spec. - HyBi 17 (IE10 Win8=HyBi10)
  • 7. WebSockets SequenceDevelopers.dehttp://developers.de/blogs/damir_dobric/archive/2012/01/29/websockets-in-asp-net-and-javascript.aspx
  • 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. Forever-Frame streaming• Push notifications• Not based on Long-Polling• Uses HTTP 1.1 chunked encoding
  • 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. DEMOCONNECTING SERVER SENTISSUES IN WEB EVENTS Server Sent EventsSIGNAL-R Forever Frames WINDOWS AZURERELAYING MESSAGING
  • 12. RELAYINGCONNECTING SERVER SENTISSUES IN WEB EVENTS Server Sent EventsSIGNAL-R Forever Frames WINDOWS AZURERELAYING MESSAGING
  • 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. CONNECTIVITY• Relaying• Tunneling• Eventing• Push
  • 15. WCF Relay Protocol Support Microsoft.ServiceBus.dll v1.6
  • 16. SharePoint Relaying
  • 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. Consumer Service Consumer BROCKER ServiceWINDAYS12 TECHNOLOGY OBRAZOVNI PARTNER
  • 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