Windows Communicaiton Foundation

Preview:

DESCRIPTION

WCF is unified framework for building Service Oriented Applications.

Citation preview

WindowsCommunicationFoundationGetting Started

Andriy Budayhttp://andriybuday.com/

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

3

Windows Communication Foundation

Unified framework for Unified framework for

rapidly buildingrapidly building

service-oriented applicationsservice-oriented applications

4

What does WCF replace?

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!

6

Understanding WCF Principles

ClientClient ServiceService

MessageMessage

MessageMessage

7

ClientClient ServiceService

MessageMessageEndpointEndpoint EndpointEndpoint

EndpointEndpoint

8

ClientClient ServiceService

MessageMessage

AddressAddress BindingBinding ContractContract

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

EndpointEndpoint

AABBCC AA BB CC

EndpointsEndpoints

AA BB CC

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!

10

Simplest ever WCF client

IIS Hosted

Self-Hosted

Win-Service Hosted

DEMO 3: Client & Hosting

Damn it! Let’s use & spread it!

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

12

Read blog! Follow me! Mail me!

@andriybuday

http://andriybuday.com/

abuday@softserveinc.com

1313

Ask your questions!

Recommended