Windows Communication Foundation (WCF) is a SOAP API services from Microsoft. Compare with ASP.net MVC, it can host as single application without rely on IIS and it is better to containerize backend application.
Due to default CLI settings, it will have button-neak on concurrent user call. By default, it only allow 16 concurrent call and 12 concurrent session. To release it, need to alter settings in app.config / web.config as below.
<serviceBehaviors> <behavior name="serviceBehavior"> <serviceThrottling maxConcurrentCalls="5000" maxConcurrentInstances="2147483647" maxConcurrentSessions="5000" /> </behavior> </serviceBehaviors>
Leave a Reply