33233 11162218 S

Information about 33233 11162218 S

Published on June 16, 2007

Author: Mahugani

Source: authorstream.com

Content

Windows Communication Foundation:  Windows Communication Foundation Jason Mauer Microsoft Corporation November 10, 2005 Agenda:  Agenda What is Windows Communication Foundation (WCF)? Anatomy Programming Model Features Demos (sprinkled throughout) What is Windows Communication Foundation?:  What is Windows Communication Foundation? Messaging framework of WinFX WinFX = next generation Windows API Service-oriented programming model Managed API built with .NET Implements WS-I standards Formerly (and popularly :) known as 'Indigo' WCF Anatomy:  WCF Anatomy Endpoint Service Channel Behavior WCF Anatomy: Endpoint:  WCF Anatomy: Endpoint Basic unit of communication Represented by ServiceEndpoint class Made up of three components Address Binding Contract The ABCs of WCF:  The ABCs of WCF Address Defines where the endpoint is Binding Defines how the endpoint communicates Contract Defines what the endpoint communicates The ABCs of WCF:  The ABCs of WCF The ABCs of WCF: Address:  The ABCs of WCF: Address Address components URI Identity Headers (optional) Headers differentiate endpoints with the same URI The ABCs of WCF: Binding:  The ABCs of WCF: Binding Made up of binding elements that describe how the endpoint communicates Transport protocol TCP, HTTP, MSMQ, named pipes, etc Encoding text, Message Transmission Optimization Mechanism (MTOM), binary Security asymmetric, symmetric, transport Other aspects like message reliability Binding Example:  Binding Example BasicProfileHttpBinding Name, namespace uniquely identify binding in service’s metadata HTTP transport, text encoding Predefined Bindings:  Predefined Bindings Interoperable BasicHttpBinding – suitable for WS-Basic Profile Web services (including ASMX) WSHttpBinding – for non-duplex services WSDualHttpBinding – for duplex service contracts or communication through SOAP intermediaries Optimized NetTcpBinding – for cross-machine communication NetProfileNamedPipeBinding – for on-machine communication Message Queues NetMsmqBinding – for communication with WCF applications MsmqIntegrationBinding – for existing MSMQ applications The ABCs of WCF: Contract:  The ABCs of WCF: Contract ContractDescription describes WCF contracts and their operations OperationDescription describes operation aspects One way, request/reply, etc MessageDescription objects describe messages that make up an operation Contract Definition:  Contract Definition Attribute-based Data Contract definition Opt-in Supports interfaces and classes Independent of class access modifiers Backward compatibility for existing serialization definitions .NET Serialization XML Serialization WCF Anatomy: Services, Clients, and Channels:  WCF Anatomy: Services, Clients, and Channels Service A program that exposes a collection of endpoints to communicate with the outside world Client A program that exchanges messages with one or more endpoints using channels Channel An abstraction of the connection between the client and an endpoint (and its associated messaging pipeline) Services and Channels: Separated at Birth:  Services and Channels: Separated at Birth ServiceDescription ChannelDescription WCF Architecture:  WCF Architecture Service Code Transport Transport WCF Anatomy: Behaviors:  WCF Anatomy: Behaviors Augments runtime functionality of service/channel Throttling is one example Behaviors implemented through interfaces Services: IServiceBehavior Channels: IChannelBehavior Hosting WCF:  Hosting WCF IIS Hosting HTTP only Windows Service Windows Activation Service (WAS) Vista/Longhorn Server feature Provides improved manageability Self Hosting ServiceHost class WCF Programming Model:  WCF Programming Model Simple abstractions with full control under the surface Support for custom bindings, transports, encodings, etc Built on CLR type system Adorn types and methods with attributes Extensive support for configuration Make changes to services after deployment WCF Programming: SvcUtil.exe:  WCF Programming: SvcUtil.exe Command-line utility to generate ServiceModel code and metadata Similar to wsdl.exe from .NET Framework WCF Features:  WCF Features Security Reliable Messaging Queues Transactions Compatibility 'InfoCard' WCF Features: Security:  WCF Features: Security Transfer Security Integrity – detecting message tampering Confidentiality – keeping messages private Authentication – verifying claimed identity Two modes of support Transport mode: uses transport-level protocol (like HTTPS); only point-to-point secure Message mode: uses WS-Security; less efficient but secure from end to end Standards support SOAP Message Security (OASIS) WS-Trust WS-SecureConversation WS-Federation WS-SecurityPolicy WCF Features: Security:  WCF Features: Security Access Control Supports legacy CLR-based security PrincipalPermissionAttribute Provides an extensible claims-based authorization model Auditing Logging security-related events to Windows event log WCF Features: Reliable Messaging:  WCF Features: Reliable Messaging Provides for SOAP messages what TCP provides for IP packets Ensures messages are exactly once Handles lost messages and duplicates Optional ordered delivery End-to-end reliability (vs. transport reliability of TCP) WCF Features: Queues:  WCF Features: Queues Leverages Microsoft Message Queuing (MSMQ) as a transport Enables loosely coupled applications and disconnected operations WCF Features: Transactions:  WCF Features: Transactions Takes advantage of System.Transactions in .NET 2.0 Supports WS-AtomicTransaction WCF Features: Compatibility:  WCF Features: Compatibility COM+ Extend COM+ components as Web services Service derived from COM+ interface Surrogate support if more control over service contract is needed COM Moniker support (GetObject) for usage of WCF services from COM-based applications Web Services Enhancements (WSE) 3.0 .NET v1.x WS-I support add-on library WCF Features: “InfoCard”:  WCF Features: 'InfoCard' MS implementation of an Open Identity Metasystem Users have portfolio of identities for different contexts Goal is consistency and interoperability between current and future methods of identification Built on WS-I standards WS-Trust WS-MetadataExchange WS-SecurityPolicy WCF Availability:  WCF Availability WinFX Beta 1 available now For .NET Framework v2.0 Beta 2 WinFX Beta 2 coming soon Supports RTM of .NET Framework v2.0 WinFX RTM with Windows Vista also supported on XP and Server 2003 Other Goodies in WinFX :  Other Goodies in WinFX Windows Presentation Foundation Graphics subsystem Vector-based, hardware accelerated Declarative programming model Windows Workflow Foundation Workflow engine Upcoming versions of BizTalk and SharePoint are built upon it Declarative programming model Resources:  Resources MSDN WinFX SDK Library http://winfx.msdn.microsoft.com/library/ Windows Vista Developer Center http://msdn.microsoft.com/windowsvista/ Windows SDK Library http://windowssdk.msdn.microsoft.com/library/ WCF Team Blogs Don Box http://pluralsight.com/blogs/dbox/ Steve Maine http://hyperthink.net/blog/ Richard Turner http://blogs.msdn.com/richardt/ In Closing:  In Closing Qandamp;A Reach me at [email protected] Thanks!

Related presentations


Other presentations created by Mahugani

Exploring the Deep Web
12. 03. 2008
0 views

Exploring the Deep Web

Moving Mountains
02. 10. 2007
0 views

Moving Mountains

dustbowl
10. 10. 2007
0 views

dustbowl

The Internet China
12. 10. 2007
0 views

The Internet China

shen 1
12. 10. 2007
0 views

shen 1

Triumph of Bolshevism
12. 10. 2007
0 views

Triumph of Bolshevism

Kukovecz
15. 10. 2007
0 views

Kukovecz

09 Panama s ppt
22. 10. 2007
0 views

09 Panama s ppt

Common By Product Feeds
04. 10. 2007
0 views

Common By Product Feeds

Dissertation Writing comms ug
27. 11. 2007
0 views

Dissertation Writing comms ug

TT
27. 11. 2007
0 views

TT

black holes v2
28. 11. 2007
0 views

black holes v2

Production of Calla Lily
07. 12. 2007
0 views

Production of Calla Lily

Water Track 8 7 15 051
07. 11. 2007
0 views

Water Track 8 7 15 051

PVC Toronto talk
16. 11. 2007
0 views

PVC Toronto talk

2022lecture2
19. 11. 2007
0 views

2022lecture2

Robertson
03. 10. 2007
0 views

Robertson

20050922 Crafoord Symposium
29. 08. 2007
0 views

20050922 Crafoord Symposium

field mmr naga
31. 12. 2007
0 views

field mmr naga

Anthony Kelly International
02. 01. 2008
0 views

Anthony Kelly International

fy2004 mfc construction
04. 01. 2008
0 views

fy2004 mfc construction

NASC PresentHanson
08. 08. 2007
0 views

NASC PresentHanson

Nicosia Raymond Pawson
08. 08. 2007
0 views

Nicosia Raymond Pawson

Methamphetamine final10 05
08. 08. 2007
0 views

Methamphetamine final10 05

ppt43
16. 10. 2007
0 views

ppt43

McCarthy Mitchell
29. 08. 2007
0 views

McCarthy Mitchell

Update FutureDirection LRago
22. 10. 2007
0 views

Update FutureDirection LRago

gef 160306
23. 10. 2007
0 views

gef 160306

IT Trends 2005 2010
14. 11. 2007
0 views

IT Trends 2005 2010

rec pond mgnt compressed
07. 01. 2008
0 views

rec pond mgnt compressed

Sci Case II
29. 08. 2007
0 views

Sci Case II

markenklima index q1 2005
05. 01. 2008
0 views

markenklima index q1 2005

yalenov2006
29. 08. 2007
0 views

yalenov2006

media 4917
08. 08. 2007
0 views

media 4917

gatorsncrocs
12. 10. 2007
0 views

gatorsncrocs

Eradicating Systemic Poverty
29. 11. 2007
0 views

Eradicating Systemic Poverty

Kennedy obesity 0904
08. 08. 2007
0 views

Kennedy obesity 0904

jsimon santacruz
29. 08. 2007
0 views

jsimon santacruz

9 0568 rusack r
20. 11. 2007
0 views

9 0568 rusack r

soc100ch10Corepwrpt
19. 02. 2008
0 views

soc100ch10Corepwrpt

Edward Albee
24. 02. 2008
0 views

Edward Albee

AFCEA NOVA Breakfast7Sept07v1
06. 03. 2008
0 views

AFCEA NOVA Breakfast7Sept07v1

Lakeside2
26. 03. 2008
0 views

Lakeside2

sHansen
29. 08. 2007
0 views

sHansen

Tectonics Terrestrial Planets2
07. 04. 2008
0 views

Tectonics Terrestrial Planets2

Sept SECC
02. 11. 2007
0 views

Sept SECC

Hercules
28. 03. 2008
0 views

Hercules

deprez presentation 12 1 05
30. 03. 2008
0 views

deprez presentation 12 1 05

HARIPARSAD Ishwarie 2
09. 04. 2008
0 views

HARIPARSAD Ishwarie 2

Beaulieu
10. 04. 2008
0 views

Beaulieu

sings2mw
29. 08. 2007
0 views

sings2mw

molgas twong
29. 08. 2007
0 views

molgas twong

newman1
14. 04. 2008
0 views

newman1

session 25 V2
17. 04. 2008
0 views

session 25 V2

Citel
22. 04. 2008
0 views

Citel

icra02
19. 06. 2007
0 views

icra02

ICHEP 04 Barr Higgs
19. 06. 2007
0 views

ICHEP 04 Barr Higgs

IBERs and e Theses
19. 06. 2007
0 views

IBERs and e Theses

HS P2P Liao
19. 06. 2007
0 views

HS P2P Liao

he b
19. 06. 2007
0 views

he b

HB2004
19. 06. 2007
0 views

HB2004

Hartenstein Oerebro03 pt1
19. 06. 2007
0 views

Hartenstein Oerebro03 pt1

Grid InteropSupport
19. 06. 2007
0 views

Grid InteropSupport

Grid Interop
19. 06. 2007
0 views

Grid Interop

grid 06talk
19. 06. 2007
0 views

grid 06talk

wednesday
29. 08. 2007
0 views

wednesday

comer5e ch08 HO
15. 11. 2007
0 views

comer5e ch08 HO

SAG YinG 9 Jan New
03. 01. 2008
0 views

SAG YinG 9 Jan New

02 Cattle2
26. 11. 2007
0 views

02 Cattle2

Grid Shib uk april05
19. 06. 2007
0 views

Grid Shib uk april05

J Acar
14. 03. 2008
0 views

J Acar

20061130 woodling
30. 12. 2007
0 views

20061130 woodling

ch02exoh
07. 01. 2008
0 views

ch02exoh

Choose your way carefully
03. 10. 2007
0 views

Choose your way carefully

4 vista
16. 06. 2007
0 views

4 vista

23
16. 06. 2007
0 views

23

2007 tips tricks
16. 06. 2007
0 views

2007 tips tricks

19b
16. 06. 2007
0 views

19b

EPL Membership
16. 06. 2007
0 views

EPL Membership

Entire Gra duation Slideshow
16. 06. 2007
0 views

Entire Gra duation Slideshow

elley web graphics
16. 06. 2007
0 views

elley web graphics

A Loose Confederation
14. 12. 2007
0 views

A Loose Confederation

employee 2004
16. 06. 2007
0 views

employee 2004

Obesity 1
08. 08. 2007
0 views

Obesity 1

Active Kill Disk
19. 06. 2007
0 views

Active Kill Disk

teall cost 3 ch16
24. 02. 2008
0 views

teall cost 3 ch16

CFA05
29. 08. 2007
0 views

CFA05

gemini sab
29. 08. 2007
0 views

gemini sab

NINDS Audience Report
08. 08. 2007
0 views

NINDS Audience Report

mm1
29. 08. 2007
0 views

mm1

ENGD POWERPOINT
16. 06. 2007
0 views

ENGD POWERPOINT

I3C BSML July2002
19. 06. 2007
0 views

I3C BSML July2002

igt 3
04. 03. 2008
0 views

igt 3

MassesofGalaxies
29. 08. 2007
0 views

MassesofGalaxies