1 / 25

Windows Communication Foundation

Windows Communication Foundation. Stipe Ivan Latković. Me, myself and I. FESB PhD Service-oriented online monitor DUMP Interests SOA OOAD etc. How we got here. Object-oriented Polymorphism Encapsulation Subclassi ng. Component-based Interfaces Dynamic loading

patsy
Download Presentation

Windows Communication Foundation

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

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!

More Related