Monday, August 29, 2011

Best Practice WCF For Beginners

WCF
Windows Communication Foundation

Windows Communication Foundation provides broad interoperability and direct Support for service orientation,
The Global Acceptance of web services, which includes standard protocols for application to application communication, has changed software development. For Example,The functions that web services now provide include security, distributed transaction coordination,and reliable communication. the benefits of the changes in web services should be reflected in the tools and technologies that developers use.

Windows Communication Foundation (WCF) is a Frame Work for Building Service-Oriented Applications.Using WCF, you can send data as asynchronous messages from one service endpoint to another. A service endpoint can be part of a continuously available service hosted by IIS,or it can be a service hosted in an application. An Endpoint can be a client of a service that request data from a service endpoint. the messages can be as simple as a single character or word sent as XML, or as complex as stream of binary data.

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.
A dashboard application that polls one or more services for data and presents it in a logical presentation.
Exposing a workflow implemented using windows workflow foundation as a wcf service.
A silverlight application to poll a service for the latest data feeds.

Service Orientation
Interoperatbility
Multiple Message Patterns
Service Metadata
Data Contracts
Security


Multiple Transports and Encodings
Reliable and Queued Messages
Durable Messages
Transaction
Ajax And REST Support
Extensibility

A simple Example of WCF Service



No comments:

Post a Comment