What is address in WCF and how many types of transport schemas are there in WCF?

 Posted by Poster on 11/13/2008 | Category: WCF Interview questions | Views: 22146
Answer:

Address is a way of letting client know that where a service is located. In WCF, every service is associated with a unique address. This contains the location of the service and transport schemas.

WCF supports following transport schemas

HTTP
TCP
Peer network
IPC (Inter-Process Communication over named pipes)
MSMQ

The sample address for above transport schema may look like

http://localhost:81
http://localhost:81/MyService
net.tcp://localhost:82/MyService
net.pipe://localhost/MyPipeService
net.msmq://localhost/private/MyMsMqService
net.msmq://localhost/MyMsMqService


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response