Upload
ukdpe
View
1.671
Download
2
Tags:
Embed Size (px)
Citation preview
Mike TaultyDeveloper & Platform GroupMicrosoft [email protected] http://miketaulty.com
2002
NetFx 1.0
CLR 1.0
2003
NetFx 1.1
2005
NetFx 2.0
CLR 2.0
C# 2.0VB 8.0
NetFx 3.0
2006 2007
NetFx 3.5
C# 3.0VB 9.0
“Client”“Service”
One WayRequest/ResponseDuplexUnsolicited Response
“Client”“Service”
Basic, Open
Comms
ASMX
Secure, Open
Comms
WSEFast,
Secure, Binary
Remoting
MSMQ, Queued,
Txns
Sys.Msg
Fast, Secure,Binary,Txns
Ent Svcs
“Hard” to call services without metadataService advertises
Description• Operations, messages...
PolicySecurity, reliability....
UsesWSDLWS-Policy & extensions
Contracts
Endpoints
Client
Binding(ordered list of channel types & config)
channel type N
channel type 2
channel type 1
config
config
config
Your code
Service
Your code
Met
adat
a
objects XML
formatting
channel
channel
channel
Transport Channel (HTTP, TCP, MSMQ, Pipes, Peer)
channel
channel
channel
decodingencoding
behaviours behaviours
Channels
Encoders Transports
Bindings
FormattersBehaviours
Behaviours
WSDLExporters
eXtensible Application Markup Language
XAML usageCompiled to produce executable codeDynamically 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
ToolsComponentsRuntimeServices
For building “workflow” into your own apps
Designer
Components
Activity
Activity
Activity
Activity
“Workflow Definition”(XAML, Code, Custom)
Host Process
“Workflow Definition”(XAML, Code, Custom)
Services (Pluggable)
Runtime
Activity
System.Workflow.ComponentModel.Activity
Property
Property
Property
( )ove r r i de Exe c ut e{ / / Do your work
( ) ;r e t ur n s t at us}
Workflow• WCF Send/Receive• WorkflowServiceHost
Communication Foundation• RESTFul Service Support• RSS + ATOM Support• Partial Trust Support• Durable Services
© 2008 Microsoft Ltd. 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.