WCF SDK Question:
Download Questions PDF

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

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

Download WCF SDK Interview Questions And Answers PDF

Previous QuestionNext Question
What is service and client in perspective of data communication?What are contracts in WCF?