WCF and WF in Framework 3.5

1,810 views
1,730 views

Published on

WCF and WF in Framework 3.5

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,810
On SlideShare
0
From Embeds
0
Number of Embeds
241
Actions
Shares
0
Downloads
72
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • 06/07/09 01:41 © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
  • WCF and WF in Framework 3.5

    1. 1. Mike Taulty Developer & Platform Group Microsoft Ltd [email_address] http://miketaulty.com
    2. 3. 2002 NetFx 1.0 CLR 1.0 2003 NetFx 1.1 2005 NetFx 2.0 CLR 2.0 C# 2.0 VB 8.0 NetFx 3.0 2006 2007 NetFx 3.5 C# 3.0 VB 9.0
    3. 5. One Way Request/Response Duplex Unsolicited Response “ Client” “ Service”
    4. 6. “ Client” “ Service”
    5. 7. Basic, Open Comms ASMX Secure, Open Comms WSE Fast, Secure, Binary Remoting MSMQ, Queued, Txns Sys.Msg Fast, Secure, Binary, Txns Ent Svcs
    6. 10. <ul><li>“ Hard” to call services without metadata </li></ul><ul><li>Service advertises </li></ul><ul><ul><li>Description </li></ul></ul><ul><ul><ul><li>Operations, messages... </li></ul></ul></ul><ul><ul><li>Policy </li></ul></ul><ul><ul><ul><li>Security, reliability.... </li></ul></ul></ul><ul><li>Uses </li></ul><ul><ul><li>WSDL </li></ul></ul><ul><ul><li>WS-Policy & extensions </li></ul></ul>Contracts Endpoints
    7. 11. Your code Your code Client Binding (ordered list of channel types & config) channel type N channel type 2 channel type 1 config config config Service Metadata objects XML formatting channel channel channel Transport Channel (HTTP, TCP, MSMQ, Pipes, Peer) channel channel channel decoding encoding behaviours behaviours
    8. 12. Channels Encoders Transports Bindings Formatters Behaviours Behaviours WSDL Exporters
    9. 14. <ul><li>eXtensible Application Markup Language </li></ul><ul><li>XAML usage </li></ul><ul><ul><li>Compiled to produce executable code </li></ul></ul><ul><ul><li>Dynamically loaded (parsed or pre-parsed) </li></ul></ul>Calculator c = new Calculator(); Multiply m = new Multiply(); m.P1 = 10; m.P2 = 20; c.Operations.Add(m) Code <Calculator> <Operations> <Multiply P1=“10” P2=“20”/> </Operations> </Calculator> XAML
    10. 15. <ul><li>Tools </li></ul><ul><li>Components </li></ul><ul><li>Runtime </li></ul><ul><li>Services </li></ul><ul><li>For building “workflow” into your own apps </li></ul>
    11. 16. Designer Components Activity Activity Activity Activity “ Workflow Definition” (XAML, Code, Custom)
    12. 17. “ Workflow Definition” (XAML, Code, Custom) Host Process Services (Pluggable) Runtime
    13. 18. Activity System.Workflow.ComponentModel.Activity Property Property Property override Execute() { // Do your work return( status ); }
    14. 21. <ul><li>Workflow </li></ul><ul><ul><li>WCF Send/Receive </li></ul></ul><ul><ul><li>WorkflowServiceHost </li></ul></ul><ul><li>Communication Foundation </li></ul><ul><ul><li>RESTFul Service Support </li></ul></ul><ul><ul><li>RSS + ATOM Support </li></ul></ul><ul><ul><li>Partial Trust Support </li></ul></ul><ul><ul><li>Durable Services </li></ul></ul>

    ×