Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6903585
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T07:56:38+00:00 2026-05-27T07:56:38+00:00

WCF has the following binding options: http(s) net.tcp MSMQ Couple of questions: AFAIK, http(s)

  • 0

WCF has the following binding options:

  • http(s)
  • net.tcp
  • MSMQ

Couple of questions:

  • AFAIK, http(s) is actually a higher level protocol on top of TCP protocol, and net.tcp is in fact TCP protocol. So why do we have them both? Why not just have a single TCP protocol?

  • Could MSMQ be used across machine boundary?

  • If I want to have other binding options, what should I do?

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T07:56:39+00:00Added an answer on May 27, 2026 at 7:56 am

    The netTcpBinding is indeed a “lower level” protocol, and as such, it’s also a tad faster than http. It works great in intranet/local network environment – inside your company.

    But the netTcpBinding doesn’t cross firewalls and routers very easily – you would have to start opening ports and that’s something that has lots of security implications and thus is often hard to get done, especially in larger companies.

    The http bindings of WCF works over port 80 – which is open on just about any firewall – so these bindings offer you more reach – your clients and folks from outside the company can talk to a service like this a lot more easily than to one that uses netTcpBinding.

    The beauty of WCF is this: you can have a single service, but you can expose two endpoints – one using netTcpBinding (fast, binary encoding) for local clients – and a second ‘basicHttpBinding` endpoint for clients calling from outside your LAN. There’s nothing in the service implementation code that needs to know about this, nor do you have to program differently whether you’re using nettcp or http. WCF handles all this for you.


    MSMQ is a totally different beast – while netTcp and http bindings work in a “connected” fashion – you call the service and wait for an answer – the MSMQ binding is a queue-based system. In this case, you drop a request into a queue – and you’re done right away. Some time later, the queue will be processed by some kind of a worker process or program, and something will be done. And you might be notified in some way (e-mail, response message on another queue or something) – but the a) calling the service, b) processing the message and c) getting a response are totally decoupled and can happen within seconds – or it could take days. And YES! of course MSMQ works over machine boundaries!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In the following config file excerpt, the WCF service has two endpoints. <service behaviorConfiguration=AtomTcpHub.Behavior
Why would you use .NET Remoting over WCF ? I understand that WCF has
I am currently developing a WCF Publish Subscribe service. My Service has the following
We have a .NET 3.5 WCF service hosted on IIS 6.0 which has a
WCF has lots of limits imposed on it to protect against DoS attacks and
WCF service has one method ( Let's say TestMethod) in which I try to
In my knowledge, the RESTful WCF still has .svc in its URL. For example,
The WCF starter kit has WebProtocolException to throw exceptions in WCF. Is this included
We have an application that has a WCF service (*.svc) running on IIS7 and
Currently I am creating a WCF service which has to connect to a DAL

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.