9. Communication
Client and Service
Client
application can
directly access
to service via
endpoint
A service can
have more than
one endpoint
Specify the
location, so
message can sent
or received through
particular endpoint
12. Features WCF Web Services
Transports HTTP, TCP, Named Pipes,
MSMQ, Custom, UDP
Only HTTP
Hosting IIS, Windows service, any
environment in .NET 3.0
Only IIS
Serialization DataContractSerializer XMLSerializer
Protocols Security, Reliable
messaging, transaction
Security
Differentiations
15. WCF work fine with
across protocols such as
HTTP, TCP, Named Pipes,
MSMQ, Custom and
UDP. It’s provide
flexibility to the
developer. WCF support TCP message encoding to binary while WS
used HTTP message encoding in text.
- DataContractSerializer provide flexibility to
develop
- specify what you want serialize, not only
properties, you can do to fields. It allow you to
serialize non-public member such private or
protected member.
Faster Performance
Serialization
flexibility
Multiple
Protocols
Benefits WCF over WS
17. Application to Project
• Create a WCF services which can allow
to sent and retrieve from database to
Windows Phone.
• Sent Username and password as
parameters to services
WCF
Online Database
18. Application to Project
• After identify the user will retrieve the
data user detail from the database
Editor's Notes
In FYP I going to build a mobile application, Windows bases Phone X direct communicate with databases
WCF technology from Microsoft allow you to create services. WCF is design for 3 goals, which is Interoperability, productivity and service oriented
Interoperability - application communicate with other application from different platform and different device.Service orientation - building service-oriented applications. Loosely coupledProductivity – unified programming model, no need spend much time to build application
focus on single programming model rather than learn multiple programming model