Go to DotNetFunda.com
 Online : 666 |  Welcome, Guest!   Login
 
Home > Interview Questions > WCF Interview Questions > What is the address formats of the WCF t ...

call for mock interview


WCF Interview Questions


What is the address formats of the WCF transport schemas?

Author: Raja | Posted on: 3/31/2009 4:27:02 PM | Category: WCF | Views:1407 |  Print | Asked In: Many Interviews



Answer:
Address format of WCF transport schema always follow

[transport]://[machine or domain][:optional port] format.

for example:

HTTP Address Format

http://localhost:8888
the way to read the above url is

"Using HTTP, go to the machine called localhost, where on port 8888 someone is waiting"
When the port number is not specified, the default port is 80.

TCP Address Format

net.tcp://localhost:8888/MyService

When a port number is not specified, the default port is 808:

net.tcp://localhost/MyService

NOTE: Two HTTP and TCP addresses from the same host can share a port, even on the same machine.

IPC Address Format
net.pipe://localhost/MyPipe

We can only open a named pipe once per machine, and therefore it is not possible for two named pipe addresses to share a pipe name on the same machine.

MSMQ Address Format
net.msmq://localhost/private/MyService
net.msmq://localhost/MyService

Found interesting? Add this to:

| More


Navigate to:

 Submit Interview Questions

What is the code to write bulleted and numbered list in HTML. ...

What is Proxy and how to generate proxy for WCF Services? ...

Random Interview Questions
Help: If for some reason you are getting the same question by clicking Next Question or Previous Question, Try clicking Categories link above.

Related interview questions

More ...


Advertisement

About Us | The Team | Advertise | Contact Us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you found plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 9/3/2010 3:55:00 AM