2. ACKNOWLEDGEMENT
I WOULD LIKE TO
EXPRESS MY
GRATITUDE TOWARDS
MY PARENTS
TEACHERS OF (NIIT)
AND ALL MY FRIENDS
FOR THEIR KIND CO-
OPERATION AND
ENCOURAGEMENT
WHICH HELP ME IN
COMPLETION OF THIS
PROJECT.
BY GULSHAN KUMAR
3. WHAT IS WCF?
Its stands for Windows communication foundation
It is a new framework from Microsoft which replace web services.
Windows Communication Foundation (WCF) is a framework for building
service-oriented applications.
Its released in 2006 with the version of 2.0 and its latest version is 4.5 which is
used in visual studio 2012.
4. W C F
Its based on the principle of endpoints.
An endpoint can be a client of a service that
requests data from a service endpoint.
Providing a scalable hosting environment within
which a service can respond quickly to
user requests, even under an extreme load
5. In what scenarios must WCF be used
A secure service to process
business transactions.
A service that supplies
current data to others, such
as a traffic report or other
monitoring service.
A chat service that allows
two people to communicate
or exchange data in real
time.
6. In what scenarios must WCF be used
A dashboard application that
polls one or more services
for data and presents it in a
logical presentation.
A Silverlight application to
poll a service for the latest
data feeds.
7. Features of WCF
Service Orientation
Interoperability
Multiple Message Patterns
Data Contracts
Security
Extensibility
Service contracts
Reliable and Queued Messages
Durable Messages
Transactions
AJAX and REST Support
8. SERVICE ORIENTATION
A service provides a well-defined set of operations that
support the business logic of the organization .
Providing a reusable and extensible interface based on
well-defined standards to maxi-mize interoperability
9. Multiple Message Patterns
It uses Message exchange patterns that help to a better
communication in one or more networks
It can be used in a variety of ways, from enriching content
to routing messages to intercepting filters and more
10. DATA CONTRACTS
The data contract is used by a datacontractserializer in WCF client
applications to describe how to serialize the data for parameters into XML .
This is one of the best features from Wcf because it convert
all the field of .Net properties into xml.
11. SERVICE CONTRACTS
A service contract is an interface that the WCF tools and
infrastructure can convert into a WSDL document
The service contract does not depend on the communication
mechanism that the ser-vice uses to send and receive messages
12. WEB SERVICE
Communication can happen
over HTTP only
Only simplex and request-
response communication is
possible
WCF
Communication can happen over
HTTP, TCP, IPC, or even MSMQ.
It can be configured to have
simplex, request-response, or
even full duplex communication.
13. Advantages of WCF
WCF is made of lot of different component, you can create new component for
security , transport and authentication.
Load balancing & support scaling
WCF is interoperable with other services when compared to .Net
Remoting,where the client and service have to be .Net.
WCF services provide better reliability and security in compared to ASMX web
services.
14. WEB SERVICE
They work in an stateless
environment over HTTP and are
hosted inside a web server like IIS.
Web Services Use Xml Serializer.
WCF
These can be hosted in many
ways inside IIS, inside a Windows
service, or even self hosted.
WCF Uses Data Contract
Serializer.
15. KEY FACTS OF WCF
CLIENT DEVELOPMENT
MESSAGE REPRESENTATION
SERVICE DESCRIPTION
EXECEPTION HANDLING
Managing Identity with Windows CardSpace
16. CONCLUSION
So here we say in the IT world there are
Nothing for the next time.
New techniques are arrived ,and it works
So better than others. Its depend on us
That how we gather it and do better,