Posts

Showing posts from March 14, 2010

Getting Started Tutorial

The topics contained in this section are intended to give you quick exposure to the Windows Communication Foundation (WCF) programming experience. They are designed to be completed in the order of the list at the bottom of this topic. Working through this tutorial gives you an introductory understanding of the steps required to create WCF service and client applications. A service is a construct that exposes one or more endpoints, each of which exposes one or more service operations. The endpoint of a service specifies an address where the service can be found, a binding that contains the information that a client must communicate with the service, and a contract that defines the functionality provided by the service to its clients. After you work through the sequence of topics in this tutorial, you will have a running service, and a client that can invoke the operations of the service. The first three topics describe how to define a service with a contract, how to imple

WCF programming for Beginners

Image
Windows Communication Foundation (WCF) Windows Communication Foundation (WCF) is a dedicated communication frame work provided by the Microsoft. WCF is a part of .NET 3.0. The runtime environment provided by the WCF enables us to expose our CLR types as services and to consume other existing services as CLR types. Background: In the world there are lot of distributed communication technologies exist. Some of them are: ASP.NET Web Services (ASMX) Web Services Enhancements (WSE) Messaging (MSMQ) .NET Enterprise Services (ES) .NET Remoting Creating and Consuming a Sample WCF Service: Three major steps are involved while creating and consuming the WCF services. Those are: Create the Service.(Creating) Binding an address to the service and host the Service. (Hosting) Consuming the Service.(Consuming) Step 1: Creating the Service In WCF, all services are exposed as contracts. Contract is a neutral way of describing the service what it does. Ma