Mike Taulty Developer & Platform Group Microsoft Ltd [email_address]   http://miketaulty.com
 
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
 
One Way Request/Response Duplex Unsolicited Response “ Client” “ Service”
“ Client” “ Service”
Basic,  Open Comms ASMX Secure,  Open  Comms WSE Fast,  Secure, Binary Remoting MSMQ, Queued, Txns Sys.Msg Fast,  Secure, Binary, Txns Ent Svcs
 
 
“ Hard” to call services without metadata Service advertises Description Operations, messages... Policy Security, reliability.... Uses WSDL WS-Policy & extensions Contracts Endpoints
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
Channels Encoders Transports Bindings Formatters Behaviours Behaviours WSDL Exporters
 
eXtensible Application Markup Language XAML usage Compiled to produce executable code Dynamically loaded (parsed or pre-parsed) 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
Tools Components Runtime Services For building “workflow” into your own apps
Designer Components Activity Activity Activity Activity “ Workflow Definition” (XAML, Code, Custom)
“ Workflow Definition” (XAML, Code, Custom) Host Process Services (Pluggable) Runtime
Activity System.Workflow.ComponentModel.Activity Property Property Property override Execute() { // Do your work return( status ); }
 
 
Workflow WCF Send/Receive WorkflowServiceHost Communication Foundation RESTFul Service Support RSS + ATOM Support Partial Trust Support Durable Services
 

WCF and WF in Framework 3.5

  • 1.
    Mike Taulty Developer& Platform Group Microsoft Ltd [email_address] http://miketaulty.com
  • 2.
  • 3.
    2002 NetFx 1.0CLR 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
  • 4.
  • 5.
    One Way Request/ResponseDuplex Unsolicited Response “ Client” “ Service”
  • 6.
  • 7.
    Basic, OpenComms ASMX Secure, Open Comms WSE Fast, Secure, Binary Remoting MSMQ, Queued, Txns Sys.Msg Fast, Secure, Binary, Txns Ent Svcs
  • 8.
  • 9.
  • 10.
    “ Hard” tocall services without metadata Service advertises Description Operations, messages... Policy Security, reliability.... Uses WSDL WS-Policy & extensions Contracts Endpoints
  • 11.
    Your code Yourcode 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
  • 12.
    Channels Encoders TransportsBindings Formatters Behaviours Behaviours WSDL Exporters
  • 13.
  • 14.
    eXtensible Application MarkupLanguage XAML usage Compiled to produce executable code Dynamically loaded (parsed or pre-parsed) 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
  • 15.
    Tools Components RuntimeServices For building “workflow” into your own apps
  • 16.
    Designer Components ActivityActivity Activity Activity “ Workflow Definition” (XAML, Code, Custom)
  • 17.
    “ Workflow Definition”(XAML, Code, Custom) Host Process Services (Pluggable) Runtime
  • 18.
    Activity System.Workflow.ComponentModel.Activity PropertyProperty Property override Execute() { // Do your work return( status ); }
  • 19.
  • 20.
  • 21.
    Workflow WCF Send/ReceiveWorkflowServiceHost Communication Foundation RESTFul Service Support RSS + ATOM Support Partial Trust Support Durable Services
  • 22.

Editor's Notes

  • #2 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.