What should I choose in WCF Security - Transport or Message Security?

It depends on binding and the context usage and not on transactions which is a different topic.

It depends on binding and the context usage and not on transactions which is a different topic. The intranet bindings (NetTcpBinding, NetNamedPipeBinding, and NetMsmqBinding) all default to Transport security. Thus, no special programming is required on behalf of the service or client developer.

The reason is that on the intranet calls are typically point-to-point, and Transport security yields the best performance. However, the intranet bindings can also be configured for the None transfer mode; that is, they can be used on the same transport protocol, only without security. The NetNamedPipeBinding supports only None and Transport security—there is no sense in using Message security over IPC, since with IPC there is always exactly one hop from the client to the service.

Also note that only the NetMsmqBinding supports the Both mode. The Internet bindings all default to Message security, to enable them to be used over nonsecure transports (that is, HTTP) and to accommodate multiple hops and intermediaries.

Thanks for your reply :) Transactions in the sense not the actual in WCF. I meant the data flow between service and the application UI. – user757207 Jun 21 at 8:29 Ok :) I'm glad it helped you ;) – Thomas Jaskula Jun 21 at 8:32 Thomas, can you tell me what is the architecture I have to use.

For Example: DataBase -> Data Access Layer -> Buisness Layer -> WCF Service Layer -> Web Application. Is this correct approach or any other? – user757207 Jun 21 at 8:35 It depends on many things on what you would do and on business requirements also but I would advice you to respect KISS (keep it stupid and simple).

Tiers you're talking about make sense to me. – Thomas Jaskula Jun 21 at 8:41 Thank you Thomas :) – user757207 Jun 21 at 8:45.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions