Note that there are some explanatory texts on larger screens.

plurals
  1. POLooking for WCF Solution to Pass User Credentials in a Load Balanced Environment with Custom Binding
    primarykey
    data
    text
    <p>We currently support several WCF services running in a load balanced environment. In the past, we have used <strong>wsHttpBinding</strong> and set <em>establishSecurityContext</em> to <strong>false</strong> to allow the service to work properly with our load balancer.</p> <p>An issue we have ran into is that the <strong>wsHttpBinding</strong> encrypts the return results by default and, apparently, cannot be turned off. This causes issues with the <a href="http://www.riverbed.com" rel="nofollow noreferrer">Riverbed</a> compression appliance we have on our network - i.e. the encrypted data does not compress very well (or at all).</p> <p>Now we're attempting to make use of the <strong>basicHttpBinding</strong> since it does not encrypt the data by default. We have two requirements:</p> <ol> <li><p><em>Work with the load balancer</em> - this appears to be possibly by using setting the <em>keepAliveEnabled</em> to false. This requires the use of a custom binding. For example:</p> <pre><code>&lt;customBinding&gt; &lt;binding name="NewBinding0"&gt; &lt;httpTransport authenticationScheme="Ntlm" **keepAliveEnabled="false"** /&gt; &lt;/binding&gt; &lt;/customBinding&gt; </code></pre></li> <li><p><em>Passes User Credentials</em> - this appears to be possible by setting the security mode to <em>TransportCredentialOnly</em>. This is available with the <strong>basicHttpBinding</strong>. For example:</p> <pre><code>&lt;basicHttpBinding&gt; &lt;binding name="NewBinding1"&gt; &lt;security **mode="TransportCredentialOnly"** /&gt; &lt;/binding&gt; &lt;/basicHttpBinding&gt; </code></pre></li> </ol> <p>So now for my actual question :-)... How/Is it possible to combine the above two requirements into a single custom binding? What is the equivalent of <strong>#2</strong> above for a custom binding? How can I get it to pass the user credentials?</p> <p>Thanks!</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload