WCF Services in ASP.NET
WCF(Windows Communication Foundation) is a Programming model which we write services and can unify the technologies like COM+ , MSMQ , .Net remoting , Web services etc. WCF has 3 main components: 1. Address 2. Binding 3. Contract Address : It is actually the URL which denoted the location of the service. i.e. where the service is located. Service can have more than one address and each of which is unique. Binding : It defines the way of communication of service. Service communicate with the help of protocols like TCP, HTTP ,MSMQ etc. Contract : It specifies the interface between client and the server. Interface contains just attributes. Communication takes to and from endpoints. Endpoints defines the location to which messages are sent and received. These location contains the address, binding and contract. There are 4 types of contracts 1. Service Contract: It is used to define the interface. 2. Operation Contract: It is used to defines the inside method interface. ...