WCF net.tcp bindings, message formats and security questions

Posted by RemotecUk on Stack Overflow See other posts from Stack Overflow or by RemotecUk
Published on 2010-03-14T09:59:24Z Indexed on 2010/03/14 10:05 UTC
Read the original article Hit count: 645

Hi, sorry for the stupid questions but there are just some things about WCF I cant get my head around. Would be greatful for some advice on the following....

  • At a very basic level is it correct that WCF uses either Binary (Net.Tcp), HTTP or MSMQ to transfer my message on the wire?

  • However is it true that in all cases, regardless of how the data is transferred the message itself in in the SOAP format with headers and a body? So its a sort of XML message that is transmitted in either HTTP/S or in a binary format.

  • Is Net.Tcp a good choice for my client server app - its similar to a messenger app in that the clients are all remote users on the other side of the firewall to my server. Most things I am reading are telling to use WS* and HTTP.

  • Is Net.Tcp secured by standard and without certificates? - that is - people cannot listen on the wire and decode the data thats going to and from.

  • Is it possible to send a username and password using net.tcp and without an installed certificate?

  • If so I presume I can hook this up to my membership provider and authenticate access to each method on my service contract implementation.

  • I presume that with username and password security, the proxy is initialised with the username and password and that this information is is sent with every request.

  • Then my membership provider will be invoked for each method call and do whatever it needs to do to get the authorisation for the method.

Sorry for the dump of questions but would be great to know if Im thinking the right way about how WCF works.

Thanks.

© Stack Overflow or respective owner

Related posts about wcf

Related posts about bindings