Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <blockquote> <p>Does the Service Name need to be the same as the Binding Name?</p> </blockquote> <p>The Service Name should be the contract implementation class. If you want to use a binding configuration, the binding config name should be the same as the bindingConfiguration setting of the endpoint.</p> <pre><code> &lt;configuration&gt; &lt;system.serviceModel&gt; &lt;services&gt; &lt;!--SERVICE ONE--&gt; &lt;service name="ListenerService.ListenerServiceImplementation" &gt; &lt;endpoint address="" binding="netTcpBinding" bindingConfiguration="tcpServiceEndPoint" contract="ListenerService.IListenerService" /&gt; &lt;!--SERVICE TWO--&gt; &lt;service name="UploadObjects.ResponseServiceImplementation" /&gt; &lt;endpoint address="" binding="netTcpBinding" bindingConfiguration="TransactedBinding" contract="UploadObjects.IResponseService" /&gt; &lt;/services&gt; &lt;bindings&gt; &lt;binding name="tcpServiceEndPoint" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" transactionFlow="false" transferMode="Buffered" transactionProtocol="OleTransactions" hostNameComparisonMode="StrongWildcard" listenBacklog="10" maxBufferPoolSize="524288" maxBufferSize="65536" maxConnections="10" maxReceivedMessageSize="65536"&gt; &lt;readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384" /&gt; &lt;reliableSession ordered="true" inactivityTimeout="00:05:00" enabled="true" /&gt; &lt;security mode="None"&gt; &lt;transport clientCredentialType="Windows" protectionLevel="EncryptAndSign" /&gt; &lt;message clientCredentialType="Windows" /&gt; &lt;/security&gt; &lt;/binding&gt; &lt;binding name="TransactedBinding"&gt; &lt;security mode="None" /&gt; &lt;/binding&gt; &lt;/bindings&gt; &lt;/system.serviceModel&gt; &lt;/configuration&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    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. VO
      singulars
      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