WCF service Behaviors vs settings bindings

In WCF, what's the difference between setting the maxConnections binding and the ServiceBehaviors serviceThrottling settings (maxConcurrentCalls, maxConcurrentInstances, maxConcurrentSessions)?

I'm trying to get my WCF service setup, and I'm not quite sure how they work with each other to restrict connections.

+5
source share
1 answer

It is important to consider two things:

  • serviceThrottling - / , , . - - . (/ ), , , "" , , . , "" , , ( ).

  • maxConnections netTcpBinding ( "", netNamedPipe Azure net***Relay), . , ADO.NET , TCP/IP , . , , ( ) : netTcpBinding ( ; TCP/IP) .

    : MaxConnections .

+3

All Articles