Windows Communication Foundation - PowerPoint PPT Presentation

patsy
slide1 n.
Skip this Video
Loading SlideShow in 5 Seconds..
Windows Communication Foundation PowerPoint Presentation
Download Presentation
Windows Communication Foundation

play fullscreen
1 / 25
Download Presentation
Windows Communication Foundation
100 Views
Download Presentation

Windows Communication Foundation

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. Windows Communication Foundation Stipe Ivan Latković

  2. Me, myself and I • FESB • PhD • Service-oriented online monitor • DUMP • Interests • SOA • OOAD • etc.

  3. How we got here Object-oriented Polymorphism Encapsulation Subclassing Component-based Interfaces Dynamic loading Runtime metadata Service-oriented Messages Schema + contract Binding via policy 2000s 1980s 1990s

  4. A unified programming model

  5. The challenge ...to radicallysimplify distributedapplicationdevelopment

  6. The response

  7. WCF vs ASMX

  8. Clients and services

  9. SOAP message

  10. Endpoints Client Service A B C A B C ABC ABC Endpoint Endpoint Where? How? What?

  11. Bindings PRES+ Protocol, reliability, encoding, security, ...

  12. Out of the box bindings • BasicHttpBinding • WSHttpBinding • WS2007HttpBinding • WSDualHttpBinding • WSFederationHttpBinding • WS2007FederationHttpBinding • NetTcpBinding • NetNamedPipeBinding • NetMsmqBinding • NetPeerTcpBinding • WebHttpBinding • MsmqIntegrationBinding

  13. Address [transport]://[server name]:[port]/[ep path] http://localhost:50000 net.tcp://localhost:50000/MyService net.pipe://localhost/MyPipe net.msmq://localhost/MyService

  14. Contracts

  15. Message exchange patterns Duplex Request-reply One-way

  16. Metadata exchange

  17. Security • Claims based end-to-end security • X509, Username/Password, Kerberos, custom credentials... • Message security • Confidentiality and integrity • Transport or message level • Access to resources • Authentication and authorization

  18. Reliability and transactions • End-to-end reliable messaging • In-order guarantees • Exactly once guarantees • Transactions • Guaranteed atomic success or failure across boundaries

  19. Hosting • IIS6 • HTTP only • WAS (Windows Activation Service) • Can use any transport • Supported in IIS7 • Self hosting • Can use any transport • Console &WPF apps, Windows services, etc.

  20. WCF tools • WCF Configuration Editor • WCF Service Host • WCF Test Client • SvcUtil • SvcTraceViewer

  21. Recommended books

  22. Giveaway

  23. Thnx!