SlideShare una empresa de Scribd logo
1 de 20
AIA Group F5
Restaurant System
Presenter
Twitter#
SJLIM4
SJ.Lim4@
Facebook.com
SJ5677@
Gmail.com
Lim Sau Jian
Windows Communication Foundation
WCF
sj5677@gmail.com
@SJLIM4
Facebook.com/SJ.LIM4
Agenda
o Problem Statement
o Windows Communication Foundation (WCF)
o Comparison of WCF and ASMX
o Advantages of WCF over ASMX
o WCF in Restaurant Management System (FYP)
Windows Phone and Storage
Windows Phone
SQL Server Database
Direct Communication
Problem … How ?
Problem Statement
Bluetooth
Sockets
VoIP
Proximity (NFC)
Problem Statement
Communication Technologies in Windows
Phone
Web Service
Data Sense
 WCF Service
 ASMX Web Service
Windows Communication Foundation (WCF)
Web Service ASMX
WSE
Messaging Enterprise Service
Remoting WCF Services
Framework
All Technologies Into ONE
WCF Trends
WCF
ASP.net WS / ASMX
WCF service has increasingly gain its popularity after being
introduced in .Net Framework 3.0 in year 2006.
WCF Design Goals
Productive
Programming
Unification of
Technologies
Service-Oriented
Application
Common Programming Model
Combinations of ASMX, MSMQ, WSE, COM+, Remoting
into single technology that fulfill multiple requirements
Interoperability
Web Service allow loose-coupled application
interoperate in different programming language and
system platform
Efficient Development
Doesn’t need to learn different technology one by one.
Minimum complexity and high productivity development.
Service-Oriented
Application
Productive
Programming
Unification of
Technologies
Why need WCF
Why not we learn one technology to meet all different communication requirements ?
WCF Communication Models
All communications with WCF Service
will happen via endpoints
Important Terms in Endpoints
Address define location where service is available (http://sjlim:34421/Service.svc)
Bindings define how services is communicate (basicHttpBinding)
Contract specify what the services and operations available. (WCFService.ServiceInterface)
ServiceWCF
vs.
ASMX
Comparison between WCF and ASMX
Serialization Protocol Hosting
WCF and ASMX has been different in many features include
hosting, protocols, bindings, serialization. encoding, web
methods, data contracts, messaging, security, performance, and
exception handling. However, the main differences are:
Security
DataContractSerializer in
WCF has a better
performance than
XMLSerializer used in ASMX.
ASMX limited to HTTP protocol
only but WCF supports protocols
such as HTTP, TCP, Named
Pipes, MSMQ
ASMX can only be hosted in IIS
but WCF can be hosted in IIS,
WAS, self-hosting and Managed
Windows Service
Security setting in ASMX is
limited. WCF support WSE
that offer message layer
security instead than
transport layer.
Advantages of WCF
Productivity
Performance
Troubleshootin
g
Security
Enhanced Productivity
ASMX Web Service technology are solely build for web services while
WCF is the newer technology that combines many communication
technologies into one
WCF allow service oriented application development in:
Lesser Time – no need to learn different technologies
Low Complexity - programming technique are similar,
minor changes to meet different
technologies requirements.
Advantages of WCF
Productivity
Performance
Troubleshootin
g
Security
Better Performance
WCF is about 25-50% faster than AXMS. Better performance due to the
use of DataContractSerializer
Advantages of WCF
Productivity
Performance
Troubleshooting
Security
Effective Troubleshooting
WCF provides many troubleshooting features to developer. Each of the
troubleshooting can be simply enable at app.config or web.config to
allow developer to interpret any error occur during runtime.
Advantages of WCF
Productivity
Performance
Troubleshootin
g
Security
Better Security and Reliable Communication
The support of WSE (Web Service Enhancement) in WCF allow both
transport and message layer security, In WCF, all the bindings except
basicHttpBindings are secured by default.
Message layer provides end-to-end security
Transport layer provides point-to-point security
Application to Project
Reasons
Simplify Development Effort
Interoperability – Windows Phone, and future (Andriod, iPhone)
Faster Performance
Thank you

Más contenido relacionado

La actualidad más candente

WCF (Windows Communication Foundation)
WCF (Windows Communication Foundation)WCF (Windows Communication Foundation)
WCF (Windows Communication Foundation)ipower softwares
 
WCF tutorial
WCF tutorialWCF tutorial
WCF tutorialAbhi Arya
 
Introduction to WCF
Introduction to WCFIntroduction to WCF
Introduction to WCFybbest
 
10 Tricks and Tips for WCF
10 Tricks and Tips for WCF10 Tricks and Tips for WCF
10 Tricks and Tips for WCFBarry Dorrans
 
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.0Saltmarch Media
 
1. WCF Services - Exam 70-487
1. WCF Services - Exam 70-4871. WCF Services - Exam 70-487
1. WCF Services - Exam 70-487Bat Programmer
 
Wcf architecture overview
Wcf architecture overviewWcf architecture overview
Wcf architecture overviewArbind Tiwari
 
REST, JSON and RSS with WCF 3.5
REST, JSON and RSS with WCF 3.5REST, JSON and RSS with WCF 3.5
REST, JSON and RSS with WCF 3.5Rob Windsor
 
introduction to Windows Comunication Foundation
introduction to Windows Comunication Foundationintroduction to Windows Comunication Foundation
introduction to Windows Comunication Foundationredaxe12
 
Web services, WCF services and Multi Threading with Windows Forms
Web services, WCF services and Multi Threading with Windows FormsWeb services, WCF services and Multi Threading with Windows Forms
Web services, WCF services and Multi Threading with Windows FormsPeter Gfader
 
Beginning with wcf service
Beginning with wcf serviceBeginning with wcf service
Beginning with wcf serviceBinu Bhasuran
 
Session 1: The SOAP Story
Session 1: The SOAP StorySession 1: The SOAP Story
Session 1: The SOAP Storyukdpe
 
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 & SOAPUIAdvancio
 
Enjoying the Move from WCF to the Web API
Enjoying the Move from WCF to the Web APIEnjoying the Move from WCF to the Web API
Enjoying the Move from WCF to the Web APIKevin Hazzard
 
Web API or WCF - An Architectural Comparison
Web API or WCF - An Architectural ComparisonWeb API or WCF - An Architectural Comparison
Web API or WCF - An Architectural ComparisonAdnan Masood
 

La actualidad más candente (20)

WCF (Windows Communication Foundation)
WCF (Windows Communication Foundation)WCF (Windows Communication Foundation)
WCF (Windows Communication Foundation)
 
WCF tutorial
WCF tutorialWCF tutorial
WCF tutorial
 
Introduction to WCF
Introduction to WCFIntroduction to WCF
Introduction to WCF
 
WCF And ASMX Web Services
WCF And ASMX Web ServicesWCF And ASMX Web Services
WCF And ASMX Web Services
 
10 Tricks and Tips for WCF
10 Tricks and Tips for WCF10 Tricks and Tips for WCF
10 Tricks and Tips for WCF
 
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
 
WCF Introduction
WCF IntroductionWCF Introduction
WCF Introduction
 
WCF for begineers
WCF  for begineersWCF  for begineers
WCF for begineers
 
1. WCF Services - Exam 70-487
1. WCF Services - Exam 70-4871. WCF Services - Exam 70-487
1. WCF Services - Exam 70-487
 
Wcf architecture overview
Wcf architecture overviewWcf architecture overview
Wcf architecture overview
 
Wcf development
Wcf developmentWcf development
Wcf development
 
REST, JSON and RSS with WCF 3.5
REST, JSON and RSS with WCF 3.5REST, JSON and RSS with WCF 3.5
REST, JSON and RSS with WCF 3.5
 
introduction to Windows Comunication Foundation
introduction to Windows Comunication Foundationintroduction to Windows Comunication Foundation
introduction to Windows Comunication Foundation
 
Web services, WCF services and Multi Threading with Windows Forms
Web services, WCF services and Multi Threading with Windows FormsWeb services, WCF services and Multi Threading with Windows Forms
Web services, WCF services and Multi Threading with Windows Forms
 
Beginning with wcf service
Beginning with wcf serviceBeginning with wcf service
Beginning with wcf service
 
Session 1: The SOAP Story
Session 1: The SOAP StorySession 1: The SOAP Story
Session 1: The SOAP Story
 
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
 
Enjoying the Move from WCF to the Web API
Enjoying the Move from WCF to the Web APIEnjoying the Move from WCF to the Web API
Enjoying the Move from WCF to the Web API
 
Web API or WCF - An Architectural Comparison
Web API or WCF - An Architectural ComparisonWeb API or WCF - An Architectural Comparison
Web API or WCF - An Architectural Comparison
 
Simple object access protocol(soap )
Simple object access protocol(soap )Simple object access protocol(soap )
Simple object access protocol(soap )
 

Destacado

Camunda BPM 7.2: Tasklist and Javascript Forms SDK (English)
Camunda BPM 7.2: Tasklist and Javascript Forms SDK (English)Camunda BPM 7.2: Tasklist and Javascript Forms SDK (English)
Camunda BPM 7.2: Tasklist and Javascript Forms SDK (English)camunda services GmbH
 
State management
State managementState management
State managementteach4uin
 
Windows Presentation Foundation
Windows Presentation Foundation  Windows Presentation Foundation
Windows Presentation Foundation Deepika Chaudhary
 
State management
State managementState management
State managementIblesoft
 
Master pages ppt
Master pages pptMaster pages ppt
Master pages pptIblesoft
 
ASP.NET State management
ASP.NET State managementASP.NET State management
ASP.NET State managementShivanand Arur
 
Case study: Camunda BPM in PwC project
Case study: Camunda BPM in PwC projectCase study: Camunda BPM in PwC project
Case study: Camunda BPM in PwC projectcamunda services GmbH
 
Master pages
Master pagesMaster pages
Master pagesteach4uin
 
State management in ASP.NET
State management in ASP.NETState management in ASP.NET
State management in ASP.NETOm Vikram Thapa
 
Création d’un service wcf
Création d’un service wcfCréation d’un service wcf
Création d’un service wcfNovencia Groupe
 
Gobas q.trans - modellgetriebene Softwareentwicklung mit SAP® ABAP OO
Gobas q.trans - modellgetriebene Softwareentwicklung mit SAP® ABAP OOGobas q.trans - modellgetriebene Softwareentwicklung mit SAP® ABAP OO
Gobas q.trans - modellgetriebene Softwareentwicklung mit SAP® ABAP OOGobas GmbH
 
JSP Standart Tag Lİbrary - JSTL
JSP Standart Tag Lİbrary - JSTLJSP Standart Tag Lİbrary - JSTL
JSP Standart Tag Lİbrary - JSTLseleciii44
 
JSP Standard Tag Library
JSP Standard Tag LibraryJSP Standard Tag Library
JSP Standard Tag LibraryIlio Catallo
 

Destacado (20)

Jug muenchen bpmn in der praxis
Jug muenchen bpmn in der praxisJug muenchen bpmn in der praxis
Jug muenchen bpmn in der praxis
 
2011 10-26 bpm-tools
2011 10-26 bpm-tools2011 10-26 bpm-tools
2011 10-26 bpm-tools
 
WJAX 2012: BPMN in der Praxis
WJAX 2012: BPMN in der PraxisWJAX 2012: BPMN in der Praxis
WJAX 2012: BPMN in der Praxis
 
Camunda BPM 7.2: Tasklist and Javascript Forms SDK (English)
Camunda BPM 7.2: Tasklist and Javascript Forms SDK (English)Camunda BPM 7.2: Tasklist and Javascript Forms SDK (English)
Camunda BPM 7.2: Tasklist and Javascript Forms SDK (English)
 
State management
State managementState management
State management
 
JSP Custom Tags
JSP Custom TagsJSP Custom Tags
JSP Custom Tags
 
ASP.NET Lecture 3
ASP.NET Lecture 3ASP.NET Lecture 3
ASP.NET Lecture 3
 
Windows Presentation Foundation
Windows Presentation Foundation  Windows Presentation Foundation
Windows Presentation Foundation
 
Master page in ASP . NET
Master page in ASP . NETMaster page in ASP . NET
Master page in ASP . NET
 
Camunda BPM at bpmNEXT 2016
Camunda BPM at bpmNEXT 2016Camunda BPM at bpmNEXT 2016
Camunda BPM at bpmNEXT 2016
 
State management
State managementState management
State management
 
Master pages ppt
Master pages pptMaster pages ppt
Master pages ppt
 
ASP.NET State management
ASP.NET State managementASP.NET State management
ASP.NET State management
 
Case study: Camunda BPM in PwC project
Case study: Camunda BPM in PwC projectCase study: Camunda BPM in PwC project
Case study: Camunda BPM in PwC project
 
Master pages
Master pagesMaster pages
Master pages
 
State management in ASP.NET
State management in ASP.NETState management in ASP.NET
State management in ASP.NET
 
Création d’un service wcf
Création d’un service wcfCréation d’un service wcf
Création d’un service wcf
 
Gobas q.trans - modellgetriebene Softwareentwicklung mit SAP® ABAP OO
Gobas q.trans - modellgetriebene Softwareentwicklung mit SAP® ABAP OOGobas q.trans - modellgetriebene Softwareentwicklung mit SAP® ABAP OO
Gobas q.trans - modellgetriebene Softwareentwicklung mit SAP® ABAP OO
 
JSP Standart Tag Lİbrary - JSTL
JSP Standart Tag Lİbrary - JSTLJSP Standart Tag Lİbrary - JSTL
JSP Standart Tag Lİbrary - JSTL
 
JSP Standard Tag Library
JSP Standard Tag LibraryJSP Standard Tag Library
JSP Standard Tag Library
 

Similar a Windows Communication Foundation (WCF) Service

Net35 Overview
Net35 OverviewNet35 Overview
Net35 Overviewllangit
 
.Net3.5 Overview
.Net3.5 Overview.Net3.5 Overview
.Net3.5 Overviewllangit
 
Difference .Net Frameworks
Difference .Net FrameworksDifference .Net Frameworks
Difference .Net Frameworksmumairkhan
 
Cloud computing & .NET 4.0 overview
Cloud computing & .NET 4.0 overviewCloud computing & .NET 4.0 overview
Cloud computing & .NET 4.0 overviewDhirendra Singh
 
Net35 Overview
Net35 OverviewNet35 Overview
Net35 Overviewllangit
 
Overview of Windows Vista Devices and Windows Communication Foundation (WCF)
Overview of Windows Vista Devices and Windows Communication Foundation (WCF)Overview of Windows Vista Devices and Windows Communication Foundation (WCF)
Overview of Windows Vista Devices and Windows Communication Foundation (WCF)Jorgen Thelin
 
Enterprise Service Bus
Enterprise Service BusEnterprise Service Bus
Enterprise Service Busmiteshisheth
 
Dot Net Training Dot Net35
Dot Net Training Dot Net35Dot Net Training Dot Net35
Dot Net Training Dot Net35Subodh Pushpak
 
Windows Azure AppFabric
Windows Azure AppFabricWindows Azure AppFabric
Windows Azure AppFabricDavid Chou
 
Difference between wcf and asp.net web api
Difference between wcf and asp.net web apiDifference between wcf and asp.net web api
Difference between wcf and asp.net web apiUmar Ali
 
WSO2Con 2011: Introduction to the WSO2 Carbon Platform
WSO2Con 2011: Introduction to the WSO2 Carbon PlatformWSO2Con 2011: Introduction to the WSO2 Carbon Platform
WSO2Con 2011: Introduction to the WSO2 Carbon PlatformAfkham Azeez
 
Azure And Silverlight
Azure And SilverlightAzure And Silverlight
Azure And Silverlightchoonngee
 
Track 1 Virtualizing Critical Applications with VMWARE VISPHERE by Roshan Shetty
Track 1 Virtualizing Critical Applications with VMWARE VISPHERE by Roshan ShettyTrack 1 Virtualizing Critical Applications with VMWARE VISPHERE by Roshan Shetty
Track 1 Virtualizing Critical Applications with VMWARE VISPHERE by Roshan ShettyEMC Forum India
 
Safe checkup - vmWare vSphere 5.0 22feb2012
Safe checkup - vmWare vSphere 5.0  22feb2012Safe checkup - vmWare vSphere 5.0  22feb2012
Safe checkup - vmWare vSphere 5.0 22feb2012M.Ela International Srl
 
A Microsoft primer for PHP devs
A Microsoft primer for PHP devsA Microsoft primer for PHP devs
A Microsoft primer for PHP devsguest0a62e8
 

Similar a Windows Communication Foundation (WCF) Service (20)

Net35 Overview
Net35 OverviewNet35 Overview
Net35 Overview
 
Web Service Security
Web Service SecurityWeb Service Security
Web Service Security
 
.Net3.5 Overview
.Net3.5 Overview.Net3.5 Overview
.Net3.5 Overview
 
Difference .Net Frameworks
Difference .Net FrameworksDifference .Net Frameworks
Difference .Net Frameworks
 
Cloud computing & .NET 4.0 overview
Cloud computing & .NET 4.0 overviewCloud computing & .NET 4.0 overview
Cloud computing & .NET 4.0 overview
 
Net35 Overview
Net35 OverviewNet35 Overview
Net35 Overview
 
Overview of Windows Vista Devices and Windows Communication Foundation (WCF)
Overview of Windows Vista Devices and Windows Communication Foundation (WCF)Overview of Windows Vista Devices and Windows Communication Foundation (WCF)
Overview of Windows Vista Devices and Windows Communication Foundation (WCF)
 
Enterprise Service Bus
Enterprise Service BusEnterprise Service Bus
Enterprise Service Bus
 
Dot Net Training Dot Net35
Dot Net Training Dot Net35Dot Net Training Dot Net35
Dot Net Training Dot Net35
 
Windows Azure AppFabric
Windows Azure AppFabricWindows Azure AppFabric
Windows Azure AppFabric
 
Difference between wcf and asp.net web api
Difference between wcf and asp.net web apiDifference between wcf and asp.net web api
Difference between wcf and asp.net web api
 
Windows Communication Foundation
Windows Communication FoundationWindows Communication Foundation
Windows Communication Foundation
 
.NET WPF Services
.NET WPF Services.NET WPF Services
.NET WPF Services
 
Unit 5
Unit 5Unit 5
Unit 5
 
WSO2Con 2011: Introduction to the WSO2 Carbon Platform
WSO2Con 2011: Introduction to the WSO2 Carbon PlatformWSO2Con 2011: Introduction to the WSO2 Carbon Platform
WSO2Con 2011: Introduction to the WSO2 Carbon Platform
 
Weaver Fx Slide Show
Weaver Fx Slide ShowWeaver Fx Slide Show
Weaver Fx Slide Show
 
Azure And Silverlight
Azure And SilverlightAzure And Silverlight
Azure And Silverlight
 
Track 1 Virtualizing Critical Applications with VMWARE VISPHERE by Roshan Shetty
Track 1 Virtualizing Critical Applications with VMWARE VISPHERE by Roshan ShettyTrack 1 Virtualizing Critical Applications with VMWARE VISPHERE by Roshan Shetty
Track 1 Virtualizing Critical Applications with VMWARE VISPHERE by Roshan Shetty
 
Safe checkup - vmWare vSphere 5.0 22feb2012
Safe checkup - vmWare vSphere 5.0  22feb2012Safe checkup - vmWare vSphere 5.0  22feb2012
Safe checkup - vmWare vSphere 5.0 22feb2012
 
A Microsoft primer for PHP devs
A Microsoft primer for PHP devsA Microsoft primer for PHP devs
A Microsoft primer for PHP devs
 

Último

Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 

Último (20)

Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 

Windows Communication Foundation (WCF) Service

  • 1. AIA Group F5 Restaurant System Presenter Twitter# SJLIM4 SJ.Lim4@ Facebook.com SJ5677@ Gmail.com Lim Sau Jian
  • 3. Agenda o Problem Statement o Windows Communication Foundation (WCF) o Comparison of WCF and ASMX o Advantages of WCF over ASMX o WCF in Restaurant Management System (FYP)
  • 4. Windows Phone and Storage Windows Phone SQL Server Database Direct Communication Problem … How ? Problem Statement
  • 5. Bluetooth Sockets VoIP Proximity (NFC) Problem Statement Communication Technologies in Windows Phone Web Service Data Sense  WCF Service  ASMX Web Service
  • 6. Windows Communication Foundation (WCF) Web Service ASMX WSE Messaging Enterprise Service Remoting WCF Services Framework All Technologies Into ONE
  • 7. WCF Trends WCF ASP.net WS / ASMX WCF service has increasingly gain its popularity after being introduced in .Net Framework 3.0 in year 2006.
  • 8. WCF Design Goals Productive Programming Unification of Technologies Service-Oriented Application Common Programming Model Combinations of ASMX, MSMQ, WSE, COM+, Remoting into single technology that fulfill multiple requirements Interoperability Web Service allow loose-coupled application interoperate in different programming language and system platform Efficient Development Doesn’t need to learn different technology one by one. Minimum complexity and high productivity development. Service-Oriented Application Productive Programming Unification of Technologies
  • 9. Why need WCF Why not we learn one technology to meet all different communication requirements ?
  • 10. WCF Communication Models All communications with WCF Service will happen via endpoints
  • 11. Important Terms in Endpoints Address define location where service is available (http://sjlim:34421/Service.svc) Bindings define how services is communicate (basicHttpBinding) Contract specify what the services and operations available. (WCFService.ServiceInterface)
  • 13. Comparison between WCF and ASMX Serialization Protocol Hosting WCF and ASMX has been different in many features include hosting, protocols, bindings, serialization. encoding, web methods, data contracts, messaging, security, performance, and exception handling. However, the main differences are: Security DataContractSerializer in WCF has a better performance than XMLSerializer used in ASMX. ASMX limited to HTTP protocol only but WCF supports protocols such as HTTP, TCP, Named Pipes, MSMQ ASMX can only be hosted in IIS but WCF can be hosted in IIS, WAS, self-hosting and Managed Windows Service Security setting in ASMX is limited. WCF support WSE that offer message layer security instead than transport layer.
  • 14. Advantages of WCF Productivity Performance Troubleshootin g Security Enhanced Productivity ASMX Web Service technology are solely build for web services while WCF is the newer technology that combines many communication technologies into one WCF allow service oriented application development in: Lesser Time – no need to learn different technologies Low Complexity - programming technique are similar, minor changes to meet different technologies requirements.
  • 15. Advantages of WCF Productivity Performance Troubleshootin g Security Better Performance WCF is about 25-50% faster than AXMS. Better performance due to the use of DataContractSerializer
  • 16. Advantages of WCF Productivity Performance Troubleshooting Security Effective Troubleshooting WCF provides many troubleshooting features to developer. Each of the troubleshooting can be simply enable at app.config or web.config to allow developer to interpret any error occur during runtime.
  • 17. Advantages of WCF Productivity Performance Troubleshootin g Security Better Security and Reliable Communication The support of WSE (Web Service Enhancement) in WCF allow both transport and message layer security, In WCF, all the bindings except basicHttpBindings are secured by default. Message layer provides end-to-end security Transport layer provides point-to-point security
  • 19. Reasons Simplify Development Effort Interoperability – Windows Phone, and future (Andriod, iPhone) Faster Performance

Notas del editor

  1. WS can be used to connect – by consuming all functions and operations expose to access the data – two choices – WCF - two reasons
  2. What is WCF – before existent – different roles for diff technologies – develop diff solutions to use diff technologies – WCF different – powerful – grouping into one
  3. Using ASMX and WSE, you can build powerful and interoperable service-oriented applications with Web services and Web service clients that allow for cross-platform interoperability and integration, and relatively easy service evolution and versioning strategies through loose coupling. With MSMQ you have a powerful mechanism for scalable, durable and volatile, queued messaging that takes care of getting data reliably from one place to the next. Enterprise Services provides transaction integration across multiple parties performing related work in a distributed environment, allows throttling access to limited, shared resources, allows pooling of object instances to optimize access to expensive-to-initialize resources, features a publish/subscribe mechanism for events, has a rich security model, and sits on top of a proven, platform-integrated, secure, and fast transport. Last but not least, Remoting is the Common Language Runtime (CLR) integrated mechanism for communicating with objects across application domain boundaries and is loved for its very flexible extensibility model, which lets developers rip and replace transports, proxy mechanisms and the way communication channels behave.
  4. Based on the Google Analysis Report, WCF service has increasingly gains its popularity after being introduced in .Net Framework 3.0 in year 2006. and as shown in the graph here, the trends of using WCF is still increasing while the trends of ASP.net Web Service / ASMX going down. Trends of WCF – increasingly gain popularity – WCF is still increasing – ASMX goin down – reason in next slide
  5. Why we need WCF ?- instead of learning each- focus on one – all comm possible in one solution
  6. "A" stands for Address: Where is the service?"B" stands for Binding: How do I talk to the service?"C" stands for Contract: What can the service do for me?(http://sjlim:34421/Service.svc)(basicHttpBinding)(WCFService.ServiceInterface)
  7. XMLSerializerin ASMX translate every data field that set as public into XML whileDataContractSerializer in WCF allow programmer to explicit define which data member to be translated into XML. WCF has better performance as programmer can specific which data they want serialize instead of serialize everything in ASMXa. Only public fields or properties of the .NET types can be translated to Xml.b. Only the classes that implement IEnumerable can be translated.c. Classes that implement IDictionary, such as Hashtable cannot be serialized.ASMX limited to HTTP and work in stateless environment. Because of the stateless nature of the HTTP protocol a web server considers every request as a new one. This means that, if you want to track a series of related calls, you must establish a way of identifying if the current request is a new request or is related to another request.serialization is a process of converting object into steam of data contained XML to allow it to be transmittable over the Internet. DataContractSerializer in WCF has a better performance than XMLSerializer used in ASMX. The reasons is because in WCF, we can explicit specify which data field to be serialized instead of serialized everything in ASMX.Protocol support, ASMX limited to HTTP but WCF support HTTP, TCP, Named Pipe, MSMQ. Multiple protocol supported by WCF has allow one WCF Service can have multiple hosts for different communicationhosting options. ASMX can only be hosted in IIS but WCF can be hosted in IIS, WAS, self-hosting and Managed Windows Service.Developer can have much options in hosting selection based on the application scenario and hosting benefitsSecurity. setting in ASMX is limited. WCF support WSE that offer message layer security instead than transport layer. Message layer is important for security will be discuss in the advantages of WCF later.
  8. Windows Process Activation Service
  9. Normally, authentication and authorization in Web Service is done at IIS and transport layer only, which mean the message are being secured from point-to-point, message are not being secured when it reach the communication intermediaries (such as router) before the final receiver of message. WCF, WS-enhancement allow both transport and message layer security, mean message are being secured from one end to the another end rather than point to point. Thus, WCF offer better security and reliable communication.
  10. To conclude, WCF is the most suitable technology that suit such scenario to develop Online Restaurant Management System that simplify the development effort, may be in future, we can access the same service using different mobile platform. And significantly, WCF has a better throughput performance.