+ All Categories
Home > Documents > Windows Communication Foundation

Windows Communication Foundation

Date post: 24-Feb-2016
Category:
Upload: patsy
View: 41 times
Download: 0 times
Share this document with a friend
Description:
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 - PowerPoint PPT Presentation
Popular Tags:
25
Windows Communication Foundation Stipe Ivan Latković
Transcript
Page 1: Windows Communication Foundation

Windows Communication FoundationStipe Ivan Latković

Page 2: Windows Communication Foundation

Me, myself and I

• FESB• PhD• Service-oriented online monitor

• DUMP• Interests

• SOA• OOAD• etc.

Page 3: Windows Communication Foundation

How we got here

1980s

Object-oriented

Polymorphism

Encapsulation

Subclassing199

0s

Component-based

Interfaces

Dynamic loading

Runtime metadata

2000s

Service-oriented

Messages

Schema + contract

Binding via policy

Page 4: Windows Communication Foundation

A unified programming model

?!

ASMX

WSE

MSMQRemoting

COM+ (Enterprise services)

Page 5: Windows Communication Foundation

The challenge

...to radically simplify distributed application development

Page 6: Windows Communication Foundation

The response

Page 7: Windows Communication Foundation

WCF vs ASMX

Page 8: Windows Communication Foundation

Clients and services

Page 9: Windows Communication Foundation

SOAP message

Page 10: Windows Communication Foundation

Endpoints

Client

Endpoint

Service

Endpoint

A B C A B CA A

Where?

B BC C

How?What?

Page 11: Windows Communication Foundation

Bindings

Protocol, reliability, encoding, security, ...

PRES+

Page 12: Windows Communication Foundation

Out of the box bindings

• BasicHttpBinding• WSHttpBinding• WS2007HttpBinding• WSDualHttpBinding• WSFederationHttp

Binding• WS2007FederationHttp

Binding

• NetTcpBinding• NetNamedPipeBinding• NetMsmqBinding• NetPeerTcpBinding• WebHttpBinding• MsmqIntegrationBinding

Page 13: Windows Communication Foundation

Address

[transport]://[server name]:[port]/[ep path]

http://localhost:50000net.tcp://localhost:50000/MyService

net.pipe://localhost/MyPipenet.msmq://localhost/MyService

Page 14: Windows Communication Foundation

Contracts

Service contract

The functio-

nality

Data contract

Complex data types

Message contract

Control over the

SOAP messages

Page 15: Windows Communication Foundation

Message exchange patterns

One-wayRequest-replyDuplex

Page 16: Windows Communication Foundation
Page 17: Windows Communication Foundation

Metadata exchange

Page 18: Windows Communication Foundation

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

Page 19: Windows Communication Foundation

Reliability and transactions

• End-to-end reliable messaging• In-order guarantees• Exactly once guarantees

• Transactions• Guaranteed atomic success or failure across

boundaries

Page 20: Windows Communication Foundation

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.

Page 21: Windows Communication Foundation

WCF tools

• WCF Configuration Editor

• WCF Service Host

• WCF Test Client

• SvcUtil

• SvcTraceViewer

Page 22: Windows Communication Foundation

Recommended books

Page 23: Windows Communication Foundation
Page 24: Windows Communication Foundation

Giveaway

Page 25: Windows Communication Foundation

Thnx!


Recommended