WCF timeout exception detailed investigation

后端 未结 11 1293
失恋的感觉
失恋的感觉 2020-11-29 16:44

We have an application that has a WCF service (*.svc) running on IIS7 and various clients querying the service. The server is running Win 2008 Server. The clients are runnin

11条回答
  •  隐瞒了意图╮
    2020-11-29 17:19

    If you are using .Net client then you may not have set

    //This says how many outgoing connection you can make to a single endpoint. Default Value is 2
    System.Net.ServicePointManager.DefaultConnectionLimit = 200;
    

    here is the original question and answer WCF Service Throttling

    Update:

    This config goes in .Net client application may be on start up or whenever but before starting your tests.

    Moreover you can have it in app.config file as well like following

    
        
          
        
      
    

提交回复
热议问题