Quick reference guide to WCF

Monday, August 17, 2009

What is WCF?
• WCF stands for Windows Communication Foundation.
• WCF delivers Microsoft’s first platform built specifically for advanced service-oriented architecture (SOA), with a framework intended to bring it within reach of most developers.

It provides a unified programming model and communications infrastructure for developing connected systems.
• WCF simplifies development process through a service-oriented programming model in which autonomous programs are composed using asynchronous message passing.
WCF Fundamentals
A WCF Service is a program that exposes a collection of Endpoints.
Each Endpoint is a portal for communicating with the world.
A Client is a program that exchanges messages with one or more Endpoints.
A client may also expose an Endpoint to receive Messages from a Service in a duplex message exchange pattern.
Endpoints components
A WCF Service Endpoint has an Address, a Binding, and a Contract.
The Endpoint's Address is a network address where the Endpoint resides.
The EndpointAddress class represents a WCF Endpoint Address.The Endpoint's Binding specifies how the Endpoint communicates with the world including things like transport protocol (e.g., TCP, HTTP), encoding (e.g., text, binary), and security requirements (e.g., SSL, SOAP message security).
The Binding class represents a WCF Binding.
The Endpoint's Contract specifies what the Endpoint communicates and is essentially a collection of messages organized in operations that have basic Message Exchange Patterns (MEPs) such as one-way, duplex, and request/reply.
The ContractDescription class represents a WCF Contract.WCF RuntimeThe WCF Runtime is the set of objects responsible for sending and receiving messages. MessageThe WCF Message is the unit of data exchange between a Client and an Endpoint.

About SilverLight

Overview of Silver Light
- Silver Light is plug-in software for Internet based Graphical application.
- Its cross- browser plug-in and similar to FLASH program.
- Silver Light uses XAML, HTML, JavaScript to create animation, vector graphics for making application more interactive.
- Using Silver Light we can play windows media file also and its deployment package is less than 2 MB.
- We can use Silver Light XMAL into the WPF application also.
- Silver Light is platform independent and we don’t require .NET framework also.

Following are the Silver Light Features
- Silver Light is platform independent and it can run on IE 6 and above, Firefox and Safari browser. It doesn’t support on Linux platform currently.
- The setup package is very lightweight and it is less than 2 MB size.
- Silver Light supports the 2D drawing and animation.
- Silver Light supports to play WMA, WMV files also.
- We can call ASP.NET web service or WCF service through the Silver Light application.

For more detailed information please visit following sites
- http://www.silverlight.net
- http://msdn.microsoft.com/silverlight

 
 
 
Your Ad Here