PaulES

I have been playing with the trusted facade solution. Initially I had a problem with the custom binding for the backend service, my custom binding is shown below.

<customBinding>
<binding name="ServiceImplBinding">
<windowsStreamSecurity/>
<security authenticationMode="UserNameOverTransport"/>
<tcpTransport/>
</binding>
</customBinding>

This produced the following error.

The 'CustomBinding'.'http://tempuri.org/' binding for the 'IMathService'.'http://tempuri.org/' contract
is configured with an authentication mode that requires transport level integrity and confidentiality.
However the transport cannot provide integrity and confidentiality

Moving the authenticationMode resolved this problem.

<customBinding>
<binding name="ServiceImplBinding">
<security authenticationMode="UserNameOverTransport"/>
<windowsStreamSecurity/>
<tcpTransport/>
</binding>
</customBinding>

I thought the config was declarative so the order should not matter.

Could there be other gotchas like this

Paul