SlideShare ist ein Scribd-Unternehmen logo
1 von 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

Weitere ähnliche Inhalte

Was ist angesagt?

WCF (Windows Communication Foundation)
WCF (Windows Communication Foundation)WCF (Windows Communication Foundation)
WCF (Windows Communication Foundation)
ipower softwares
 
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
 
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
 

Was ist angesagt? (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 )
 

Andere mochten auch

State management
State managementState management
State management
Iblesoft
 
Master pages ppt
Master pages pptMaster pages ppt
Master pages ppt
Iblesoft
 
Création d’un service wcf
Création d’un service wcfCréation d’un service wcf
Création d’un service wcf
Novencia Groupe
 

Andere mochten auch (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
 

Ähnlich wie Windows Communication Foundation (WCF) Service

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 Bus
miteshisheth
 
Dot Net Training Dot Net35
Dot Net Training Dot Net35Dot Net Training Dot Net35
Dot Net Training Dot Net35
Subodh Pushpak
 
Azure And Silverlight
Azure And SilverlightAzure And Silverlight
Azure And Silverlight
choonngee
 
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
EMC Forum India
 

Ähnlich wie 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
 

Kürzlich hochgeladen

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
Earley Information Science
 
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
vu2urc
 

Kürzlich hochgeladen (20)

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
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
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
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
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
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
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
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
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
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
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
 
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...
 
[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
 
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
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 

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

Hinweis der Redaktion

  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.