13
Windows Communication Foundation Getting Started Andriy Buday http://andriybuday.com/

Windows Communicaiton Foundation

Embed Size (px)

DESCRIPTION

WCF is unified framework for building Service Oriented Applications.

Citation preview

Page 1: Windows Communicaiton Foundation

WindowsCommunicationFoundationGetting Started

Andriy Budayhttp://andriybuday.com/

Page 2: Windows Communicaiton Foundation

2

Introduction to WCF

What is that? Why do we need it?

ABC concept of the WCF

Hosting

That all are words, let better dive into code.

Outline

Page 3: Windows Communicaiton Foundation

3

Windows Communication Foundation

Unified framework for Unified framework for

rapidly buildingrapidly building

service-oriented applicationsservice-oriented applications

Page 4: Windows Communicaiton Foundation

4

What does WCF replace?

Page 5: Windows Communicaiton Foundation

5

Data Contract

Service Contract

Simplest Ever Service

See how we can test it

DEMO 1: Just to get started with something…

Damn it! Let’s write some code!

Page 6: Windows Communicaiton Foundation

6

Understanding WCF Principles

ClientClient ServiceService

MessageMessage

MessageMessage

Page 7: Windows Communicaiton Foundation

7

ClientClient ServiceService

MessageMessageEndpointEndpoint EndpointEndpoint

EndpointEndpoint

Page 8: Windows Communicaiton Foundation

8

ClientClient ServiceService

MessageMessage

AddressAddress BindingBinding ContractContract

(Where)(Where) (How)(How) (What)(What)

EndpointEndpoint

AABBCC AA BB CC

EndpointsEndpoints

AA BB CC

Page 9: Windows Communicaiton Foundation

9

Endpoints in Configuration

ABCs in configuration

Different types of transferring

The main feature of the WCF lives here

DEMO 2: Endpoints

Damn it! Let’s configure it!

Page 10: Windows Communicaiton Foundation

10

Simplest ever WCF client

IIS Hosted

Self-Hosted

Win-Service Hosted

DEMO 3: Client & Hosting

Damn it! Let’s use & spread it!

Page 11: Windows Communicaiton Foundation

11

Book:

MCTS_Self_Paced_Training_Kit_70_503 .pdf

Great screencasts on WCF:

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

WCF Security Guidance :http://www.codeplex.com/WCFSecurity

Downloadable WCF Examples :http://www.microsoft.com/downloads/details.aspx?familyid=2611A6FF-FD2D-4F5B-A672-C002F1C09CCD&displaylang=en

WikiPedia :http://en.wikipedia.org/wiki/Windows_Communication_Foundation

Links

Page 12: Windows Communicaiton Foundation

12

Read blog! Follow me! Mail me!

@andriybuday

http://andriybuday.com/

[email protected]

Page 13: Windows Communicaiton Foundation

1313

Ask your questions!