10
Windows Communication Foundation Andriy Buday http://andriybuday.com/

Windows Communication Foundation

Embed Size (px)

DESCRIPTION

by Andriy Buday

Citation preview

Page 1: Windows Communication Foundation

Windows Communication Foundation

Andriy Budayhttp://andriybuday.com/

Page 2: Windows Communication Foundation

Outline A bit of democracy Basics overview Sessions and Instances Transactional Services Concurrency Security Instrumentation What’s new in WCF 4.0 Most often troubles you might face using WCF

Page 3: Windows Communication Foundation

Windows Communication Foundation

Unified framework for

rapidly building

service-oriented applications

Page 4: Windows Communication Foundation

Client Service

Message

Address Binding Contract

(Where) (How) (What)

Endpoint

ABC A B C

Endpoints

A B C

Page 5: Windows Communication Foundation

Standard Bindings

Binding Interop Security Session TX Duplex

BasicHttpBinding BP 1.1 N, T N N n/a

WSHttpBinding WS M, T, X N, T, RS N, Yes n/a

WSDualHttpBinding WS M RS N, Yes Yes

WSFederationBinding Federation M N, RS N, Yes No

NetTcpBinding .NET T, M T ,RS N, Yes Yes

NetNamedPipeBinding .NET T T, N N, Yes Yes

NetPeerTcpBinding Peer T N N Yes

NetMsmqBinding .NET T, M, X N N, Yes No

MsmqIntegrationBinding MSMQ T N N, Yes n/a

Page 6: Windows Communication Foundation

DEMO 1: Basics reminder…

Service Contract Simplest Ever Service Self-hosting wcftestclient Console client bonus “whatever you want”

Damn it! Let’s write some code!

Page 7: Windows Communication Foundation

http://andriybuday.blogspot.com/

To be continued…

Page 8: Windows Communication Foundation

Links

Book: MCTS_Self_Paced_Training_Kit_70_503 .pdf

Great screencasts on WCF: http://msdn.microsoft.com/en-us/netframework/wcf-screencasts.aspx

Instancing: http://msdn.microsoft.com/en-us/magazine/cc163590.aspx

Transactions: http://msdn.microsoft.com/en-us/magazine/cc163432.aspx

Download WCF Examples:http://go.microsoft.com/fwlink/?LinkId=87352

Page 9: Windows Communication Foundation

Ask your questions!

Page 10: Windows Communication Foundation

Visit Lviv .NET UG! Read blog! Follow me!

@andriybuday

http://andriybuday.com/

[email protected]

http://dotnetug-lviv.blogspot.com/