SlideShare a Scribd company logo
1 of 19
WCF Introduction
ARCOM - KSA
Agenda
 What is WCF
 From object to service
 SOA , ESB
 ASMX & WCF
 WCF architecture
 Ways of talk [Client – Service]
 Service Provider , Consumer
 ABC’s of WCF
 Hosting WCF
 Advantage , Disadvantages
 Demos
ARCOM-KSA
2
What is WCF?
ARCOM-KSA
3
 Stands for Windows Communication Foundation
 Microsoft’s unified programming model (the service model) for building Service-
Oriented [SOA] apps
From Objects to Services
Polymorphism
Encapsulation
Subclassing
Message-based
Schema+Contract
Binding via Policy
1980s
2000s
Interface-based
Dynamic Loading
Runtime Metadata
1990s
Object-Oriented
Service-Oriented
Component-Based
ARCOM-KSA
4
What’s SOA - ESB
 software architecture model
 used for designing and implementing the
interaction between mutually interacting
software applications in (SOA)
ARCOM-KSA
5
 software design and software architecture design pattern
 discrete pieces of software application functionality as services
 A service is a self-contained unit of functionality
SOA (service oriented architecture)
ESB (Enterprise Service Bus)
ARCOM-KSA
ASMX is limiting WCF is powerful
6 ASMX & WCF
 Xml web services
 HTTP-only hosting in IIS
 No support for security
 Advanced scenarios require mixing
models
 highly configurable and highly extensible
 supports what ASMX cannot
 supports a unified programming model
across all protocols
Service Model
Programming Model
WCF Architecture
ARCOM-KSA
7
Ways to Talk
One Way
Request-Reply
Duplex (Dual)
ARCOM-KSA
8
Client Service
 One Way: Datagram-style delivery
 Request-Reply : Immediate Reply on same logical thread
 Duplex Reply : “later” and on backchannel (callback-style)q
ARCOM-KSA
9 Service Provider , Consumer
A B C
ARCOM-KSA
10 ABC’s of Life Service
ServiceClient
Address, Binding, Contract [WCF]
A
d
d
r
e
ARCOM-KSA
11
ABC
A B C
A B C
Message
Address Where the service is
Binding How to talk to the service
Contract What the service can do
ABC’s Cont. [Address]
ARCOM-KSA
12
 Combination of transport, server name, port & path
 Transport is determined by the binding
 Examples
http://localhost:8001
net.tcp://localhost:8002/MyService
net.pipe://localhost/MyPipe
net.msmq://localhost/private/MyService
net.msmq://localhost/MyService
A
ABC’s Cont. [Bindings]
ARCOM-KSA
13
 Transport
HTTP
TCP
MSMQ
 Message formats and encoding
Plain text
Binary
Message Transmission Optimization Mechanism (MTOM)
 Communication security
No security
Transport security
Message security
B
ABC’s Cont. [Contracts]
Service
Contract
Defines Operations,
Behaviors and
Communication Shape
What does your
service do
Data
Contract
Defines Data entities
and parameter types
What object data is
used
Message
Contract
Allows defining
application-specific
headers and
unwrapped body
content
Allows control over the
SOAP structure of
messages
Fault
Contract
Defines error types
ARCOM-KSA
14
C
ARCOM-KSA
15
 IIS / Azure (ASP.NET project)
 Windows Services
Hosting WCF Services
Demos
ARCOM-KSA
16
 Hello WCF
 Edit WCF Configuration
 Add services
 Add end points
 Binding configuration
 Consume WCF
 Service Reference
 Using Code First
 WCF Using UML [Class Diagram]
 WCF Architecture Code
 Service
 Service.Contracts
 Service.Business
Advantage
ARCOM-KSA
17
 You can create new components for security, transport, authentication.
 No much change in code for implementing the security model ,, Small changes in the
configuration will make your requirements.
 Its faster than ASMX
 Its Interoperability, for java, and more.
 WCF is interoperable with other services
 WCF services provide better reliability and security.
Disadvantage
ARCOM-KSA
18
 WCF is Microsoft's implementation of SOA its APIs are solely controlled by MS which
makes interoperability a bit difficult.
 deploy WCF apps, need more underlying hardware
Thank You ..|
ARCOM-KSA
19

More Related Content

What's hot

Interoperability and Windows Communication Foundation (WCF) Overview
Interoperability and Windows Communication Foundation (WCF) OverviewInteroperability and Windows Communication Foundation (WCF) Overview
Interoperability and Windows Communication Foundation (WCF) Overview
Jorgen Thelin
 
Windows Communication Foundation (WCF) Service
Windows Communication Foundation (WCF) ServiceWindows Communication Foundation (WCF) Service
Windows Communication Foundation (WCF) Service
Sj Lim
 
Beginning with wcf service
Beginning with wcf serviceBeginning with wcf service
Beginning with wcf service
Binu Bhasuran
 
Session 1: The SOAP Story
Session 1: The SOAP StorySession 1: The SOAP Story
Session 1: The SOAP Story
ukdpe
 
1. WCF Services - Exam 70-487
1. WCF Services - Exam 70-4871. WCF Services - Exam 70-487
1. WCF Services - Exam 70-487
Bat Programmer
 

What's hot (20)

Windows Communication Foundation (WCF)
Windows Communication Foundation (WCF)Windows Communication Foundation (WCF)
Windows Communication Foundation (WCF)
 
WCF And ASMX Web Services
WCF And ASMX Web ServicesWCF And ASMX Web Services
WCF And ASMX Web Services
 
WCF
WCFWCF
WCF
 
Wcf architecture overview
Wcf architecture overviewWcf architecture overview
Wcf architecture overview
 
WCF Fundamentals
WCF Fundamentals WCF Fundamentals
WCF Fundamentals
 
Interoperability and Windows Communication Foundation (WCF) Overview
Interoperability and Windows Communication Foundation (WCF) OverviewInteroperability and Windows Communication Foundation (WCF) Overview
Interoperability and Windows Communication Foundation (WCF) Overview
 
Windows Communication Foundation (WCF) Service
Windows Communication Foundation (WCF) ServiceWindows Communication Foundation (WCF) Service
Windows Communication Foundation (WCF) Service
 
WCF
WCFWCF
WCF
 
introduction to Windows Comunication Foundation
introduction to Windows Comunication Foundationintroduction to Windows Comunication Foundation
introduction to Windows Comunication Foundation
 
Building RESTful Services with WCF 4.0
Building RESTful Services with WCF 4.0Building RESTful Services with WCF 4.0
Building RESTful Services with WCF 4.0
 
Beginning with wcf service
Beginning with wcf serviceBeginning with wcf service
Beginning with wcf service
 
WCF tutorial
WCF tutorialWCF tutorial
WCF tutorial
 
Windows Communication Foundation (WCF) Best Practices
Windows Communication Foundation (WCF) Best PracticesWindows Communication Foundation (WCF) Best Practices
Windows Communication Foundation (WCF) Best Practices
 
Advancio, Inc. Academy: Web Sevices, WCF & SOAPUI
Advancio, Inc. Academy: Web Sevices, WCF & SOAPUIAdvancio, Inc. Academy: Web Sevices, WCF & SOAPUI
Advancio, Inc. Academy: Web Sevices, WCF & SOAPUI
 
Session 1: The SOAP Story
Session 1: The SOAP StorySession 1: The SOAP Story
Session 1: The SOAP Story
 
1. WCF Services - Exam 70-487
1. WCF Services - Exam 70-4871. WCF Services - Exam 70-487
1. WCF Services - Exam 70-487
 
Understanding Web services
Understanding Web servicesUnderstanding Web services
Understanding Web services
 
Web service introduction 2
Web service introduction 2Web service introduction 2
Web service introduction 2
 
Session 1 Shanon Richards-Exposing Data Using WCF
Session 1 Shanon Richards-Exposing Data Using WCFSession 1 Shanon Richards-Exposing Data Using WCF
Session 1 Shanon Richards-Exposing Data Using WCF
 
Web services
Web servicesWeb services
Web services
 

Viewers also liked (8)

SQL Server Views
SQL Server ViewsSQL Server Views
SQL Server Views
 
Windows 8 product guide developer english
Windows 8 product guide developer englishWindows 8 product guide developer english
Windows 8 product guide developer english
 
Windows service
Windows serviceWindows service
Windows service
 
Windows Communication Foundation
Windows Communication FoundationWindows Communication Foundation
Windows Communication Foundation
 
WFC #1
WFC #1WFC #1
WFC #1
 
Wcf module 3.1
Wcf module 3.1Wcf module 3.1
Wcf module 3.1
 
Nghiên cứu công nghệ Unity và xây dựng ứng dụng game 3D trên Mobile - My Proj...
Nghiên cứu công nghệ Unity và xây dựng ứng dụng game 3D trên Mobile - My Proj...Nghiên cứu công nghệ Unity và xây dựng ứng dụng game 3D trên Mobile - My Proj...
Nghiên cứu công nghệ Unity và xây dựng ứng dụng game 3D trên Mobile - My Proj...
 
Dashboard Report Example Pg4
Dashboard Report Example Pg4Dashboard Report Example Pg4
Dashboard Report Example Pg4
 

Similar to WCF Introduction

Tulsa Tech Fest2008 Service Oriented Development With Windows Communication F...
Tulsa Tech Fest2008 Service Oriented Development With Windows Communication F...Tulsa Tech Fest2008 Service Oriented Development With Windows Communication F...
Tulsa Tech Fest2008 Service Oriented Development With Windows Communication F...
Jason Townsend, MBA
 
Web services
Web servicesWeb services
Web services
aspnet123
 
Dot Net Training Wcf Dot Net35
Dot Net Training Wcf Dot Net35Dot Net Training Wcf Dot Net35
Dot Net Training Wcf Dot Net35
Subodh Pushpak
 
webservices overview
webservices overviewwebservices overview
webservices overview
elliando dias
 
Service Oriented Architecture Luqman
Service Oriented Architecture LuqmanService Oriented Architecture Luqman
Service Oriented Architecture Luqman
Luqman Shareef
 

Similar to WCF Introduction (20)

Understanding Web Services by software outsourcing company india
Understanding Web Services by software outsourcing company indiaUnderstanding Web Services by software outsourcing company india
Understanding Web Services by software outsourcing company india
 
Cics Ts 4.1 Technical Overview
Cics Ts 4.1 Technical OverviewCics Ts 4.1 Technical Overview
Cics Ts 4.1 Technical Overview
 
Java web services
Java web servicesJava web services
Java web services
 
Service Oriented Development With Windows Communication Foundation Tulsa Dnug
Service Oriented Development With Windows Communication Foundation   Tulsa DnugService Oriented Development With Windows Communication Foundation   Tulsa Dnug
Service Oriented Development With Windows Communication Foundation Tulsa Dnug
 
Tulsa Tech Fest2008 Service Oriented Development With Windows Communication F...
Tulsa Tech Fest2008 Service Oriented Development With Windows Communication F...Tulsa Tech Fest2008 Service Oriented Development With Windows Communication F...
Tulsa Tech Fest2008 Service Oriented Development With Windows Communication F...
 
Web services
Web servicesWeb services
Web services
 
Unit 3-SOA Technologies
Unit 3-SOA TechnologiesUnit 3-SOA Technologies
Unit 3-SOA Technologies
 
Dot Net Training Wcf Dot Net35
Dot Net Training Wcf Dot Net35Dot Net Training Wcf Dot Net35
Dot Net Training Wcf Dot Net35
 
WebService-Java
WebService-JavaWebService-Java
WebService-Java
 
Web Service Basics and NWS Setup
Web Service  Basics and NWS SetupWeb Service  Basics and NWS Setup
Web Service Basics and NWS Setup
 
Complete Architecture and Development Guide To Windows Communication Foundati...
Complete Architecture and Development Guide To Windows Communication Foundati...Complete Architecture and Development Guide To Windows Communication Foundati...
Complete Architecture and Development Guide To Windows Communication Foundati...
 
Lecture 16 - Web Services
Lecture 16 - Web ServicesLecture 16 - Web Services
Lecture 16 - Web Services
 
Xml.ppt
Xml.pptXml.ppt
Xml.ppt
 
Wcf
Wcf Wcf
Wcf
 
webservices overview
webservices overviewwebservices overview
webservices overview
 
Service Oriented Development With Windows Communication Foundation 2003
Service Oriented Development With Windows Communication Foundation 2003Service Oriented Development With Windows Communication Foundation 2003
Service Oriented Development With Windows Communication Foundation 2003
 
SOA & WCF
SOA & WCFSOA & WCF
SOA & WCF
 
WCF (Windows Communication Foundation_Unit_01)
WCF (Windows Communication Foundation_Unit_01)WCF (Windows Communication Foundation_Unit_01)
WCF (Windows Communication Foundation_Unit_01)
 
AK 3 web services using apache axis
AK 3   web services using apache axisAK 3   web services using apache axis
AK 3 web services using apache axis
 
Service Oriented Architecture Luqman
Service Oriented Architecture LuqmanService Oriented Architecture Luqman
Service Oriented Architecture Luqman
 

More from Mohamed Zakarya Abdelgawad

More from Mohamed Zakarya Abdelgawad (20)

EA foundations (Views, Repository, Artifacts and Metamodel)
EA foundations (Views, Repository, Artifacts and Metamodel)EA foundations (Views, Repository, Artifacts and Metamodel)
EA foundations (Views, Repository, Artifacts and Metamodel)
 
Mohammed Zakarya Resume
Mohammed Zakarya ResumeMohammed Zakarya Resume
Mohammed Zakarya Resume
 
Mohamed zakarya certificates
Mohamed zakarya certificatesMohamed zakarya certificates
Mohamed zakarya certificates
 
Mohammed Zakarya Resume
Mohammed Zakarya ResumeMohammed Zakarya Resume
Mohammed Zakarya Resume
 
EA foundations (views + repository)
EA foundations (views + repository)EA foundations (views + repository)
EA foundations (views + repository)
 
EA foundations - 01 (views & viewpoints)
EA foundations - 01 (views & viewpoints)EA foundations - 01 (views & viewpoints)
EA foundations - 01 (views & viewpoints)
 
Accenture/Insead Business Strategy Part 1 Certificate
Accenture/Insead Business Strategy Part 1 CertificateAccenture/Insead Business Strategy Part 1 Certificate
Accenture/Insead Business Strategy Part 1 Certificate
 
Dpbok context i
Dpbok   context iDpbok   context i
Dpbok context i
 
Digital Practitioner Capability Context
Digital Practitioner Capability ContextDigital Practitioner Capability Context
Digital Practitioner Capability Context
 
DPBOK Foundation
DPBOK FoundationDPBOK Foundation
DPBOK Foundation
 
Certified Microservice Archtiect
Certified Microservice ArchtiectCertified Microservice Archtiect
Certified Microservice Archtiect
 
Certified Business Architect
Certified Business ArchitectCertified Business Architect
Certified Business Architect
 
ITIL 4 Strategist Direct, Plan and Improve (DPI)
ITIL 4 Strategist Direct, Plan and Improve (DPI)ITIL 4 Strategist Direct, Plan and Improve (DPI)
ITIL 4 Strategist Direct, Plan and Improve (DPI)
 
Architecture thinking w002 - Business Strategy Intro
Architecture thinking w002 - Business Strategy IntroArchitecture thinking w002 - Business Strategy Intro
Architecture thinking w002 - Business Strategy Intro
 
Architecture thinking w001
Architecture thinking w001Architecture thinking w001
Architecture thinking w001
 
Business Architecture Foundations
Business Architecture FoundationsBusiness Architecture Foundations
Business Architecture Foundations
 
Togaf 9.2 Introduction
Togaf 9.2 IntroductionTogaf 9.2 Introduction
Togaf 9.2 Introduction
 
Discover Your IT Career Path
Discover Your IT Career PathDiscover Your IT Career Path
Discover Your IT Career Path
 
ITIL V4 Foundation
ITIL V4 FoundationITIL V4 Foundation
ITIL V4 Foundation
 
SOA foundation - Generation 2
SOA foundation - Generation 2SOA foundation - Generation 2
SOA foundation - Generation 2
 

Recently uploaded

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 

Recently uploaded (20)

Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Decarbonising Commercial Real Estate: The Role of Operational Performance
Decarbonising Commercial Real Estate: The Role of Operational PerformanceDecarbonising Commercial Real Estate: The Role of Operational Performance
Decarbonising Commercial Real Estate: The Role of Operational Performance
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Modernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using BallerinaModernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using Ballerina
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Quantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation ComputingQuantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation Computing
 
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Navigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern EnterpriseNavigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern Enterprise
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDM
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 

WCF Introduction

  • 2. Agenda  What is WCF  From object to service  SOA , ESB  ASMX & WCF  WCF architecture  Ways of talk [Client – Service]  Service Provider , Consumer  ABC’s of WCF  Hosting WCF  Advantage , Disadvantages  Demos ARCOM-KSA 2
  • 3. What is WCF? ARCOM-KSA 3  Stands for Windows Communication Foundation  Microsoft’s unified programming model (the service model) for building Service- Oriented [SOA] apps
  • 4. From Objects to Services Polymorphism Encapsulation Subclassing Message-based Schema+Contract Binding via Policy 1980s 2000s Interface-based Dynamic Loading Runtime Metadata 1990s Object-Oriented Service-Oriented Component-Based ARCOM-KSA 4
  • 5. What’s SOA - ESB  software architecture model  used for designing and implementing the interaction between mutually interacting software applications in (SOA) ARCOM-KSA 5  software design and software architecture design pattern  discrete pieces of software application functionality as services  A service is a self-contained unit of functionality SOA (service oriented architecture) ESB (Enterprise Service Bus)
  • 6. ARCOM-KSA ASMX is limiting WCF is powerful 6 ASMX & WCF  Xml web services  HTTP-only hosting in IIS  No support for security  Advanced scenarios require mixing models  highly configurable and highly extensible  supports what ASMX cannot  supports a unified programming model across all protocols
  • 7. Service Model Programming Model WCF Architecture ARCOM-KSA 7
  • 8. Ways to Talk One Way Request-Reply Duplex (Dual) ARCOM-KSA 8 Client Service  One Way: Datagram-style delivery  Request-Reply : Immediate Reply on same logical thread  Duplex Reply : “later” and on backchannel (callback-style)q
  • 10. A B C ARCOM-KSA 10 ABC’s of Life Service
  • 11. ServiceClient Address, Binding, Contract [WCF] A d d r e ARCOM-KSA 11 ABC A B C A B C Message Address Where the service is Binding How to talk to the service Contract What the service can do
  • 12. ABC’s Cont. [Address] ARCOM-KSA 12  Combination of transport, server name, port & path  Transport is determined by the binding  Examples http://localhost:8001 net.tcp://localhost:8002/MyService net.pipe://localhost/MyPipe net.msmq://localhost/private/MyService net.msmq://localhost/MyService A
  • 13. ABC’s Cont. [Bindings] ARCOM-KSA 13  Transport HTTP TCP MSMQ  Message formats and encoding Plain text Binary Message Transmission Optimization Mechanism (MTOM)  Communication security No security Transport security Message security B
  • 14. ABC’s Cont. [Contracts] Service Contract Defines Operations, Behaviors and Communication Shape What does your service do Data Contract Defines Data entities and parameter types What object data is used Message Contract Allows defining application-specific headers and unwrapped body content Allows control over the SOAP structure of messages Fault Contract Defines error types ARCOM-KSA 14 C
  • 15. ARCOM-KSA 15  IIS / Azure (ASP.NET project)  Windows Services Hosting WCF Services
  • 16. Demos ARCOM-KSA 16  Hello WCF  Edit WCF Configuration  Add services  Add end points  Binding configuration  Consume WCF  Service Reference  Using Code First  WCF Using UML [Class Diagram]  WCF Architecture Code  Service  Service.Contracts  Service.Business
  • 17. Advantage ARCOM-KSA 17  You can create new components for security, transport, authentication.  No much change in code for implementing the security model ,, Small changes in the configuration will make your requirements.  Its faster than ASMX  Its Interoperability, for java, and more.  WCF is interoperable with other services  WCF services provide better reliability and security.
  • 18. Disadvantage ARCOM-KSA 18  WCF is Microsoft's implementation of SOA its APIs are solely controlled by MS which makes interoperability a bit difficult.  deploy WCF apps, need more underlying hardware

Editor's Notes

  1. Differences Between ASMX and WCF Services http://msdn.microsoft.com/en-us/library/ff648181.aspx
  2. خدمه نقل التكاتك العطلانه Address : مكان الي هوصلك ليه Binding : طريقه التوصيل Contract : هتدفع كام – هتمشي من شارع ايه – هتمشي بسرعه ايه - - اشغلك ايه في الرادي